Merge lp:~mvo/ubuntu/wily/initramfs-tools-ubuntu-core/new-and-old into lp:ubuntu/wily/initramfs-tools-ubuntu-core
| Status: | Merged |
|---|---|
| Merge reported by: | Michael Vogt |
| Merged at revision: | not available |
| Proposed branch: | lp:~mvo/ubuntu/wily/initramfs-tools-ubuntu-core/new-and-old |
| Merge into: | lp:ubuntu/wily/initramfs-tools-ubuntu-core |
| Diff against target: |
237 lines (+128/-60) 2 files modified
hooks/ubuntu-core-rootfs (+1/-0) scripts/ubuntu-core-rootfs (+127/-60) |
| To merge this branch: | bzr merge lp:~mvo/ubuntu/wily/initramfs-tools-ubuntu-core/new-and-old |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Timo Jyrinki | Resubmit on 2015-11-16 | ||
| Oliver Grawert | 2015-10-19 | Pending | |
| Ubuntu branches | 2015-10-19 | Pending | |
|
Review via email:
|
|||
Description of the Change
This branch adds support for initramfs-tools in snappy to mount the new squashfs/snapfs based os and kernel snaps. It also keeps compatibility with the old snappy_ab partition layout so that we can have a smooth transition and easier testing.
- 32. By Michael Vogt on 2015-10-19
-
hooks/ubuntu-
core-rootfs: ensure squashfs module is part of the initramfs - 33. By Michael Vogt on 2015-10-19
-
scripts/
ubuntu- core-rootfs: no need for manual insmod, system will figure it out
| Michael Vogt (mvo) wrote : | # |
- 34. By Michael Vogt on 2015-10-19
-
scripts/
ubuntu- core-rootfs: do not hardcode LABEL=writable (thanks ogra!
| Oliver Grawert (ogra) wrote : | # |
there is one line that makes me itch a bit ....
after we mount $rootmnt from $writable_mnt we move $writable_mnt underneath $rootmnt, so we are effectively pulling out the floor under ourselves.
while i'm not sure what the implications of this actually are (since run-init makes everything above $rootmnt invisible anyway once we switch to the real root) I wonder if we shouldnt use --bind instead of --move (thats line 197 below)
mount --move "$writable_mnt" "${rootmnt}
- 35. By Michael Vogt on 2015-10-21
-
fix label, re-add insmod of squashfs
- 36. By Michael Vogt on 2015-10-21
-
remove debug entry


Thanks a bunch Ogra for your irc suggestions that lead to r32 and r33!