Hello community,

here is the log from the commit of package lxc for openSUSE:12.3 checked in at 
2013-03-01 07:27:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/lxc (Old)
 and      /work/SRC/openSUSE:12.3/.lxc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lxc", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:12.3/lxc/lxc.changes     2013-02-26 15:18:20.000000000 
+0100
+++ /work/SRC/openSUSE:12.3/.lxc.new/lxc.changes        2013-03-01 
07:27:29.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb 26 14:33:41 UTC 2013 - [email protected]
+
+- 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.ugpTO3/_old  2013-03-01 07:27:29.000000000 +0100
+++ /var/tmp/diff_new_pack.ugpTO3/_new  2013-03-01 07:27:29.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to