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
1diff --git a/debian/changelog b/debian/changelog
2index 199391a..a9c6a6c 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,11 +1,18 @@
6-cloud-initramfs-tools (0.43ubuntu2) UNRELEASED; urgency=medium
7+cloud-initramfs-tools (0.45ubuntu1) UNRELEASED; urgency=medium
8+
9+ * Add dependency on flock for growroot's use of growpart.
10+ (LP: #1834875)
11+
12+ -- Scott Moser <smoser@ubuntu.com> Mon, 24 Feb 2020 20:22:30 -0500
13+
14+cloud-initramfs-tools (0.44ubuntu1) disco; urgency=medium
15
16 [ Dann Frazier ]
17 * copymods: Fix usage of modules in initramfs after copymods script.
18 (LP: #1766723)
19 * copymods: Fix typo parsing copymods= parameters in /proc/cmdline.
20
21- -- Scott Moser <smoser@ubuntu.com> Wed, 07 Nov 2018 09:41:13 -0500
22+ -- Scott Moser <smoser@ubuntu.com> Tue, 13 Nov 2018 10:09:46 -0500
23
24 cloud-initramfs-tools (0.43ubuntu1) cosmic; urgency=medium
25
26diff --git a/growroot/hooks/growroot b/growroot/hooks/growroot
27index 9eba6c2..8e012cb 100644
28--- a/growroot/hooks/growroot
29+++ b/growroot/hooks/growroot
30@@ -9,7 +9,7 @@ esac
31 . /usr/share/initramfs-tools/hook-functions
32
33 ##
34-for pname in sfdisk growpart udevadm; do
35+for pname in sfdisk growpart udevadm flock; do
36 fpath=$(which "$pname") && copy_exec "$fpath" ||
37 { echo "ERROR: no '$pname' in path" 1>&2; exit 1; }
38 done

Subscribers

People subscribed via source and target branches