Commit 8e579ad
committed
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 f450cf3 commit 8e579ad
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 | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
1291 | 1296 | | |
1292 | 1297 | | |
1293 | 1298 | | |
| |||
0 commit comments