Merge ~smoser/cloud-initramfs-tools:fix/1834875-growpart-add-flock-depend into cloud-initramfs-tools:master

Proposed by Scott Moser
Status: Merged
Approved by: Joshua Powers
Approved revision: c792d0fccf5d1cb5a8d2eb141024d9a17e0bc663
Merged at revision: c792d0fccf5d1cb5a8d2eb141024d9a17e0bc663
Proposed branch: ~smoser/cloud-initramfs-tools:fix/1834875-growpart-add-flock-depend
Merge into: cloud-initramfs-tools:master
Diff against target: 38 lines (+10/-3)
2 files modified
debian/changelog (+9/-2)
growroot/hooks/growroot (+1/-1)
Reviewer Review Type Date Requested Status
Ryan Harper (community) Approve
Review via email: mp+379774@code.launchpad.net

Commit message

Add dependency on flock for growroot's use of growpart.

growpart was modified to use flock, so we have to make sure that
that gets put into the initramfs or growroot module won't work.

LP: #1834875

Description of the change

see commit message

To post a comment you must log in.
Revision history for this message
Ryan Harper (raharper) wrote :

LGTM! Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 199391a..a9c6a6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,18 @@
1cloud-initramfs-tools (0.43ubuntu2) UNRELEASED; urgency=medium1cloud-initramfs-tools (0.45ubuntu1) UNRELEASED; urgency=medium
2
3 * Add dependency on flock for growroot's use of growpart.
4 (LP: #1834875)
5
6 -- Scott Moser <smoser@ubuntu.com> Mon, 24 Feb 2020 20:22:30 -0500
7
8cloud-initramfs-tools (0.44ubuntu1) disco; urgency=medium
29
3 [ Dann Frazier ]10 [ Dann Frazier ]
4 * copymods: Fix usage of modules in initramfs after copymods script.11 * copymods: Fix usage of modules in initramfs after copymods script.
5 (LP: #1766723)12 (LP: #1766723)
6 * copymods: Fix typo parsing copymods= parameters in /proc/cmdline.13 * copymods: Fix typo parsing copymods= parameters in /proc/cmdline.
714
8 -- Scott Moser <smoser@ubuntu.com> Wed, 07 Nov 2018 09:41:13 -050015 -- Scott Moser <smoser@ubuntu.com> Tue, 13 Nov 2018 10:09:46 -0500
916
10cloud-initramfs-tools (0.43ubuntu1) cosmic; urgency=medium17cloud-initramfs-tools (0.43ubuntu1) cosmic; urgency=medium
1118
diff --git a/growroot/hooks/growroot b/growroot/hooks/growroot
index 9eba6c2..8e012cb 100644
--- a/growroot/hooks/growroot
+++ b/growroot/hooks/growroot
@@ -9,7 +9,7 @@ esac
9. /usr/share/initramfs-tools/hook-functions9. /usr/share/initramfs-tools/hook-functions
1010
11##11##
12for pname in sfdisk growpart udevadm; do12for pname in sfdisk growpart udevadm flock; do
13 fpath=$(which "$pname") && copy_exec "$fpath" ||13 fpath=$(which "$pname") && copy_exec "$fpath" ||
14 { echo "ERROR: no '$pname' in path" 1>&2; exit 1; }14 { echo "ERROR: no '$pname' in path" 1>&2; exit 1; }
15done15done

Subscribers

People subscribed via source and target branches