Hello community, here is the log from the commit of package lxc for openSUSE:Factory checked in at 2013-03-01 07:27:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxc (Old) and /work/SRC/openSUSE:Factory/.lxc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lxc", Maintainer is "JSlaby@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/lxc/lxc.changes 2013-02-26 15:18:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lxc.new/lxc.changes 2013-03-01 07:27:21.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Feb 26 14:33:41 UTC 2013 - mvyskocil@suse.com + +- clean cache if a distro version in template does not match + with files in a cache (bnc#804435#c19) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxc-opensuse-12.3.patch ++++++ --- /var/tmp/diff_new_pack.m0HFFS/_old 2013-03-01 07:27:22.000000000 +0100 +++ /var/tmp/diff_new_pack.m0HFFS/_new 2013-03-01 07:27:22.000000000 +0100 @@ -72,3 +72,19 @@ Ignore: rpm:suse-build-key,build-key Ignore: systemd:systemd-presets-branding +@@ -208,6 +218,15 @@ install_opensuse() + + arch=$(arch) + ++ if [[ -f $cache/rootfs-$arch/etc/os-release ]]; then ++ source $cache/rootfs-$arch/etc/os-release ++ if [[ ${DISTRO} != ${VERSION_ID} ]]; then ++ echo "openSUSE version in template don't match with cached system" ++ echo "Cleaning cache ..." ++ rm -rf "$cache/rootfs-$arch" ++ fi ++ fi ++ + echo "Checking cache download in $cache/rootfs-$arch ... " + if [ ! -e "$cache/rootfs-$arch" ]; then + download_opensuse $cache $arch -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org