Merge lp:~rbalint/livecd-rootfs/fix-suppressing-kpartx-error into lp:livecd-rootfs

Proposed by Balint Reczey
Status: Merged
Merged at revision: 1502
Proposed branch: lp:~rbalint/livecd-rootfs/fix-suppressing-kpartx-error
Merge into: lp:livecd-rootfs
Diff against target: 26 lines (+7/-1)
2 files modified
debian/changelog (+6/-0)
live-build/functions (+1/-1)
To merge this branch: bzr merge lp:~rbalint/livecd-rootfs/fix-suppressing-kpartx-error
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Ubuntu Core Development Team Pending
Review via email: mp+329929@code.launchpad.net
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
=== modified file 'debian/changelog'
--- debian/changelog 2017-08-25 21:28:47 +0000
+++ debian/changelog 2017-08-30 14:58:19 +0000
@@ -1,3 +1,9 @@
1livecd-rootfs (2.452) UNRELEASED; urgency=medium
2
3 * Fix suppressing kpartx error
4
5 -- Balint Reczey <rbalint@ubuntu.com> Tue, 29 Aug 2017 16:18:36 +0200
6
1livecd-rootfs (2.451) artful; urgency=medium7livecd-rootfs (2.451) artful; urgency=medium
28
3 * Fix a reference to an undefined variable in the ubuntu-cpc hooks,9 * Fix a reference to an undefined variable in the ubuntu-cpc hooks,
410
=== modified file 'live-build/functions'
--- live-build/functions 2017-07-24 18:46:51 +0000
+++ live-build/functions 2017-08-30 14:58:19 +0000
@@ -19,7 +19,7 @@
19 kpartx_stdout=$(kpartx -v -d "${backing_img}") || kpartx_ret=$?19 kpartx_stdout=$(kpartx -v -d "${backing_img}") || kpartx_ret=$?
20 echo "$kpartx_stdout"20 echo "$kpartx_stdout"
21 if [ -n "$kpartx_ret" ]; then21 if [ -n "$kpartx_ret" ]; then
22 if echo "$kpartx_stdout" | grep -q "loop deleted: "; then22 if echo "$kpartx_stdout" | grep -q "loop deleted"; then
23 echo "Suppressing kpartx returning error (#860894)"23 echo "Suppressing kpartx returning error (#860894)"
24 else24 else
25 exit $kpartx_ret25 exit $kpartx_ret

Subscribers

People subscribed via source and target branches