Merge ~mvo/ubuntu-core-initramfs:the-tool-local-snaps into ~canonical-foundations/ubuntu-core-initramfs:master

Proposed by Michael Vogt
Status: Merged
Merged at revision: ca82d4a063947487ef33633513bd3c4ba02d7628
Proposed branch: ~mvo/ubuntu-core-initramfs:the-tool-local-snaps
Merge into: ~canonical-foundations/ubuntu-core-initramfs:master
Diff against target: 16 lines (+4/-1)
1 file modified
factory/usr/lib/the-tool (+4/-1)
Reviewer Review Type Date Requested Status
Dimitri John Ledkov (community) Approve
Review via email: mp+376754@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) :
review: Approve
Revision history for this message
Michael Vogt (mvo) wrote :

We have no head in initrd, I need to tweak this

Revision history for this message
Michael Vogt (mvo) wrote :

Force pushed a "fix" that does not use head

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/factory/usr/lib/the-tool b/factory/usr/lib/the-tool
index 9213b4d..7fbcdb9 100755
--- a/factory/usr/lib/the-tool
+++ b/factory/usr/lib/the-tool
@@ -3,7 +3,10 @@ set -e
3cmd="systemd-mount --no-block --no-pager --no-ask-password"3cmd="systemd-mount --no-block --no-pager --no-ask-password"
4# Mount base4# Mount base
5#$cmd /run/mnt/ubuntu-seed/snaps/core20_*.snap /run/mnt/base5#$cmd /run/mnt/ubuntu-seed/snaps/core20_*.snap /run/mnt/base
6$cmd /run/mnt/ubuntu-seed/snaps/core20_*.snap /sysroot -pBefore=initrd-cleanup.target -pLazyUnmount=true6# XXX: core20 can be under /snaps and /systems/$label/snaps
7# XXX2: snap-bootstrap initramfs-mounts should handle this correctly
8core20=$(find /run/mnt/ubuntu-seed/ -name "core20_*.snap")
9$cmd $core20 /sysroot -pBefore=initrd-cleanup.target -pLazyUnmount=true
7cp /run/systemd/transient/*.mount /etc/systemd/system10cp /run/systemd/transient/*.mount /etc/systemd/system
8# Mount writable11# Mount writable
9#$cmd --type=tmpfs tmpfs /run/mnt/ubuntu-data12#$cmd --type=tmpfs tmpfs /run/mnt/ubuntu-data

Subscribers

People subscribed via source and target branches