Commit 8d51fbe
composefs: Use systemd.mount-extra karg for /boot mount
The composefs install path was not ensuring /boot gets mounted after
reboot on systems with a separate /boot partition (e.g. to-existing-root
installs). This broke `bootc status` and `bootc upgrade`.
Instead of writing to /etc/fstab (which conflicts with transient etc
per #1388), add a systemd.mount-extra kernel argument to the BLS boot
entry. This tells systemd to mount the boot partition without requiring
any /etc state.
Closes: #2120
Assisted-by: Claude Code (Opus 4.6)
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>1 parent 84e54ab commit 8d51fbe
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
535 | 551 | | |
536 | 552 | | |
537 | 553 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1327 | 1332 | | |
1328 | 1333 | | |
1329 | 1334 | | |
| |||
0 commit comments