Merge ~mclemenceau/shim/+git/shim-signed:bionic into ~ubuntu-core-dev/shim/+git/shim-signed:bionic

Proposed by Matthieu Clemenceau
Status: Merged
Merged at revision: e1b044460ed1316ad4858daa12c40e440477e09b
Proposed branch: ~mclemenceau/shim/+git/shim-signed:bionic
Merge into: ~ubuntu-core-dev/shim/+git/shim-signed:bionic
Diff against target: 39 lines (+11/-2)
2 files modified
debian/changelog (+7/-0)
update-secureboot-policy (+4/-2)
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+387240@code.launchpad.net

Commit message

In order to SRU this bug LP: #1869187 to bionic I merged attached diff to the bionic devel branch
Update Change Log to match SRU proposed version 1.37~18.04.6

To post a comment you must log in.

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 b286811..8942e59 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+shim-signed (1.37~18.04.6) bionic; urgency=medium
7+
8+ * Pass --timeout -1 to mokutil in a separate mokutil run (LP: #1869187)
9+ thanks to Aleksander Miera for the patch.
10+
11+ -- Matthieu Clemenceau <matthieu.clemenceau@canonical.com> Fri, 10 Jul 2020 14:27:41 -0500
12+
13 shim-signed (1.37~18.04.5) bionic; urgency=medium
14
15 * Fix versioned dependency on mokutil so that it matches the version in
16diff --git a/update-secureboot-policy b/update-secureboot-policy
17index 7ec61a7..ce6d7c5 100755
18--- a/update-secureboot-policy
19+++ b/update-secureboot-policy
20@@ -108,7 +108,8 @@ toggle_validation()
21 local again="$2"
22
23 echo "Enabling shim validation."
24- printf '%s\n%s\n' "$key" "$again" | mokutil --timeout -1 --enable-validation >/dev/null || true
25+ printf '%s\n%s\n' "$key" "$again" | mokutil --enable-validation >/dev/null || true
26+ mokutil --timeout -1 >/dev/null || true
27 }
28
29 enroll_mok()
30@@ -117,7 +118,8 @@ enroll_mok()
31 local again="$2"
32
33 echo "Adding '$SB_KEY' to shim:"
34- printf '%s\n%s\n' "$key" "$again" | mokutil --timeout -1 --import "$SB_KEY" >/dev/null || true
35+ printf '%s\n%s\n' "$key" "$again" | mokutil --import "$SB_KEY" >/dev/null || true
36+ mokutil --timeout -1 >/dev/null || true
37 }
38
39 do_it()

Subscribers

People subscribed via source and target branches