mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-13 22:28:27 +00:00
Import patches-unapplied version 2.452 to ubuntu/artful-proposed
Imported using git-ubuntu import. Changelog parent: 00f18b8d7251083535e2a01110f5340e05ad6f0f New changelog entries: * Fix suppressing kpartx error
This commit is contained in:
parent
00f18b8d72
commit
70a41fd45c
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (2.452) artful; urgency=medium
|
||||
|
||||
* Fix suppressing kpartx error
|
||||
|
||||
-- Balint Reczey <rbalint@ubuntu.com> Tue, 29 Aug 2017 16:18:36 +0200
|
||||
|
||||
livecd-rootfs (2.451) artful; urgency=medium
|
||||
|
||||
* Fix a reference to an undefined variable in the ubuntu-cpc hooks,
|
||||
|
@ -19,7 +19,7 @@ clean_loops() {
|
||||
kpartx_stdout=$(kpartx -v -d "${backing_img}") || kpartx_ret=$?
|
||||
echo "$kpartx_stdout"
|
||||
if [ -n "$kpartx_ret" ]; then
|
||||
if echo "$kpartx_stdout" | grep -q "loop deleted: "; then
|
||||
if echo "$kpartx_stdout" | grep -q "loop deleted"; then
|
||||
echo "Suppressing kpartx returning error (#860894)"
|
||||
else
|
||||
exit $kpartx_ret
|
||||
|
Loading…
x
Reference in New Issue
Block a user