Skip to content

Commit

Permalink
storage: always reset applied partitioning before reapplying
Browse files Browse the repository at this point in the history
I have not managed to understand why this helps, but it seems without
this, often the validation checks fail on some obsolete storage
configuration.
  • Loading branch information
KKoukiou committed Apr 10, 2024
1 parent 2c97b44 commit 51bdf80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apis/storage_partitioning.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export const gatherRequests = ({ partitioning }) => {
};

export const applyStorage = async ({ encrypt, encryptPassword, onFail, onSuccess, partitioning }) => {
await resetPartitioning();
await setInitializeLabelsEnabled({ enabled: true });
await setBootloaderDrive({ drive: "" });

Expand Down

0 comments on commit 51bdf80

Please sign in to comment.