From e7feae48381b040de7ddf7d6e71a31942949a221 Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Mon, 27 May 2013 18:26:52 +0200 Subject: [PATCH] clean chroot/var/lib/initramfs-tools/ after building initrds --- debian/changelog | 6 ++++++ live-build/auto/build | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8d767d67..ea3d7629 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.137) UNRELEASED; urgency=low + + * clear up /var/lib/initramfs-tools/ in teh chroot after building initrds + + -- Oliver Grawert Mon, 27 May 2013 18:25:51 +0200 + livecd-rootfs (2.136) saucy; urgency=low * ubuntu-touch: determine the value for $kver inside the chroot, not diff --git a/live-build/auto/build b/live-build/auto/build index d44aecde..8ff3db2e 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -427,6 +427,7 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then cp "chroot/boot/bootimg-${subarch}.img" "$PREFIX-${subarch}-boot.img" rm "chroot/boot/bootimg-${subarch}.img" "/chroot/boot/initrd.img-"* "/chroot/boot/vmlinuz-"* done + rm -rf chroot/var/lib/initramfs-tools/* Chroot chroot "apt-get -y purge crda wireless-regdb" fi