Skip to content

Commit

Permalink
bootupd: Use --write-uuid
Browse files Browse the repository at this point in the history
This is an even newer behavior that takes over handling
of the "UUID stamp files", which we want in general instead of
using the static labels.

Note `--write-uuid` implies `--with-static-configs`.

This should fix this use case:

```
clearpart --all --initlabel --disklabel=gpt
reqpart --add-boot
part / --grow --fstype xfs
```

Whereas right now we require:

```
clearpart --all --initlabel --disklabel=gpt
reqpart
part /boot --size=1000  --fstype=ext4 --label=boot
part / --grow --fstype xfs
```

Specifically the `--label=boot`.
  • Loading branch information
cgwalters committed Dec 6, 2023
1 parent f921b0c commit 0ded61b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def _install_bootupd(self):
"backend",
"install",
"--auto",
"--with-static-configs",
"--write-uuid",
"--device",
dev_data.path,
"/",
Expand Down

0 comments on commit 0ded61b

Please sign in to comment.