From f6897fae716b5de19d06afa2a7ab26a131917220 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 12 Sep 2017 14:23:00 -0700 Subject: [PATCH] live-build/ubuntu-cpc/hooks/030-root-tarball.binary: correct a missing unmount of /var/{lib,cache}/apt on cleanup, detected via autopkgtests. --- debian/changelog | 2 ++ live-build/ubuntu-cpc/hooks/030-root-tarball.binary | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2a53c5cb..f16e56d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ livecd-rootfs (2.408.16) xenial; urgency=medium after mounting a blank /var/lib/apt, so that further operations work as expected; otherwise, 'apt-get purge ^grub-.*' fails on s390x because no such packages are known to apt. + * live-build/ubuntu-cpc/hooks/030-root-tarball.binary: correct a missing + unmount of /var/{lib,cache}/apt on cleanup, detected via autopkgtests. -- Steve Langasek Tue, 12 Sep 2017 13:25:58 -0700 diff --git a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary index 60d2bf62..72f312c1 100755 --- a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary +++ b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary @@ -29,3 +29,5 @@ umount "binary/boot/filesystem.dir/proc" umount "binary/boot/filesystem.dir/sys" umount -R "binary/boot/filesystem.dir/dev" umount "binary/boot/filesystem.dir/tmp" +umount "binary/boot/filesystem.dir/var/lib/apt" +umount "binary/boot/filesystem.dir/var/cache/apt"