[PATCH] autopkgtest-build-lxc: accept a customization script
Antonio Terceiro
terceiro at debian.org
Tue Aug 2 21:29:51 UTC 2016
On Tue, Aug 02, 2016 at 05:22:42PM -0300, Antonio Terceiro wrote:
> @@ -142,7 +155,7 @@ if [ ! -e $LXCDIR/$NAME ]; then
> else
> # remove LXC rootfs caches; on btrfs this might be a subvolume, otherwise
> # rm it
> - btrfs subvolume delete /var/cache/lxc/$RELEASE/rootfs-* 2>/dev/null || rm -rf /var/cache/lxc/$RELEASE/rootfs-*
> + btrfs subvolume delete /var/cache/lxc/$DISTRO/$RELEASE/rootfs-* 2>/dev/null || rm -rf /var/cache/lxc/$DISTRO/$RELEASE/rootfs-*
oops, this bit here is unrelated. I will send another patch without
that.
I still couldn't figure exactly why, but for me, not using btrfs,
autopkgtest-build-lxc will *never* actually remove the cache. I tried
adding $DISTRO to the cache path, it is missing, but that didn't do the
trick yet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160802/a18b855b/attachment.sig>
More information about the autopkgtest-devel
mailing list