Commit 37e4c0d
committed
composefs: Write /boot fstab entry during install
The composefs install path was missing the /boot entry in /etc/fstab,
causing the boot partition to not be mounted after reboot. This broke
`bootc status` and `bootc upgrade` on systems with a separate /boot
partition (e.g. `to-existing-root` installs).
The ostree path writes this entry in install_container(), but the
composefs path in setup_composefs_boot() did not. Write the /boot
fstab entry to the deployment's state etc directory after
write_composefs_state() creates it.
Closes: #2120
Assisted-by: Claude Code (Opus 4.6)
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>1 parent f450cf3 commit 37e4c0d
2 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1328 | 1328 | | |
1329 | 1329 | | |
1330 | 1330 | | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
1331 | 1355 | | |
1332 | 1356 | | |
1333 | 1357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
1275 | | - | |
| 1275 | + | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
| |||
0 commit comments