Commit a5a71c6
committed
fix(rootfs-to-image): create NFS rootfs archive after hooks finalize the tree
The archive was created inside the if/else block at the top of
create_image_from_sdcard_rootfs(), BEFORE update_initramfs and
pre_umount_final_image hooks run. Any rootfs changes made by those
hooks (initramfs regeneration, fstab fixups, extension tweaks) were
missing from the archive.
Move archive creation to after pre_umount_final_image so the tarball
captures the fully finalized rootfs tree.1 parent ea4dd9f commit a5a71c6
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 54 | | |
62 | 55 | | |
63 | 56 | | |
| |||
110 | 103 | | |
111 | 104 | | |
112 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
0 commit comments