Merge ~maciek-borzecki/ubuntu-core-initramfs:bboozzoo/choser-integration into ~canonical-foundations/ubuntu-core-initramfs:master

Proposed by Maciej Borzecki
Status: Merged
Merged at revision: 64b8ef07c2c3f0e61692cef0d4b774336ef4bde7
Proposed branch: ~maciek-borzecki/ubuntu-core-initramfs:bboozzoo/choser-integration
Merge into: ~canonical-foundations/ubuntu-core-initramfs:master
Diff against target: 21 lines (+2/-1)
2 files modified
debian/rules (+1/-1)
factory/usr/lib/systemd/system/basic.target.wants/snapd.recovery-chooser-trigger.service (+1/-0)
Reviewer Review Type Date Requested Status
Canonical Foundations Team Pending
Review via email: mp+379829@code.launchpad.net

Description of the change

Changes for running recovery chooser trigger service early during the boot process.

To post a comment you must log in.
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

The build will fail until a new version of snapd containing snapd.recovery-chooser-trigger.service is released and uploaded into the archive. An alternative would be to carry the service inside ubuntu-core-initramfs skeleton.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/rules b/debian/rules
index 442da9c..ca847cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -183,7 +183,7 @@ override_dh_auto_install:
183 done183 done
184184
185 set -e; \185 set -e; \
186 for f in "/lib/$(DEB_HOST_MULTIARCH)/libnss_files.so.* /lib/$(DEB_HOST_MULTIARCH)/libnss_compat.so.* /lib/$(DEB_HOST_MULTIARCH)/libgcc_s.so.1 /sbin/e2fsck /sbin/fsck.vfat /sbin/fsck /bin/umount /bin/mount /bin/kmod /usr/bin/unsquashfs /usr/lib/snapd/snap-bootstrap /sbin/dmsetup"; do \186 for f in "/lib/$(DEB_HOST_MULTIARCH)/libnss_files.so.* /lib/$(DEB_HOST_MULTIARCH)/libnss_compat.so.* /lib/$(DEB_HOST_MULTIARCH)/libgcc_s.so.1 /sbin/e2fsck /sbin/fsck.vfat /sbin/fsck /bin/umount /bin/mount /bin/kmod /usr/bin/unsquashfs /sbin/dmsetup /usr/lib/snapd/snap-bootstrap /lib/systemd/system/snapd.recovery-chooser-trigger.service"; do \
187 /usr/lib/dracut/dracut-install -D $(CURDIR)/debian/tmp --ldd $$f; \187 /usr/lib/dracut/dracut-install -D $(CURDIR)/debian/tmp --ldd $$f; \
188 done188 done
189 dpkg -L dmsetup | grep rules.d | xargs -L1 /usr/lib/dracut/dracut-install -D $(CURDIR)/debian/tmp --ldd189 dpkg -L dmsetup | grep rules.d | xargs -L1 /usr/lib/dracut/dracut-install -D $(CURDIR)/debian/tmp --ldd
diff --git a/factory/usr/lib/systemd/system/basic.target.wants/snapd.recovery-chooser-trigger.service b/factory/usr/lib/systemd/system/basic.target.wants/snapd.recovery-chooser-trigger.service
190new file mode 120000190new file mode 120000
index 0000000..b417254
--- /dev/null
+++ b/factory/usr/lib/systemd/system/basic.target.wants/snapd.recovery-chooser-trigger.service
@@ -0,0 +1 @@
1../snapd.recovery-chooser-trigger.service
0\ No newline at end of file2\ No newline at end of file

Subscribers

People subscribed via source and target branches