[packages/lxc] Version 1.0.6.

matkor matkor at pld-linux.org
Tue Nov 4 18:08:06 CET 2014


commit 4050b218dbea0ab316501f9a307f1e5b1a40f8fc
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Tue Nov 4 18:07:57 2014 +0100

    Version 1.0.6.

 lxc.init | 9 ++++-----
 lxc.spec | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/lxc.spec b/lxc.spec
index 9dc9149..5886bf8 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -12,12 +12,12 @@
 Summary:	Linux Containers userspace tools
 Summary(pl.UTF-8):	Narzędzia do kontenerów linuksowych (LXC)
 Name:		lxc
-Version:	1.0.5
-Release:	3
+Version:	1.0.6
+Release:	1
 License:	LGPL v2.1+
 Group:		Applications/System
 Source0:	https://www.linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	9d9af9e9e69a831cd50b58d91c786013
+# Source0-md5:	4aad3aee84b42faa194e44091d723a3b
 Source1:	%{name}-pld.in.sh
 Source2:	%{name}.init
 Patch1:		%{name}-pld.patch
diff --git a/lxc.init b/lxc.init
index eb95ace..8e53d39 100755
--- a/lxc.init
+++ b/lxc.init
@@ -104,10 +104,9 @@ case "$1" in
 	## msg_starting lxc
 	## echo "DEBUG: Launch: /usr/bin/lxc-autostart $OPTIONS $BOOTGROUPS"
 	CONTAINERS_LIST=`/usr/bin/lxc-autostart $OPTIONS $BOOTGROUPS --list`
-	## CONTAINERS_LIST=`/usr/bin/lxc-autostart --list`
-	## echo "DEBUG: CONTAINERS_LIST:$CONTAINERS_LIST"
 
-        run_cmd "Starting LXC containers ( $CONTAINERS_LIST ) from groups: $BOOTGROUPS " /usr/bin/lxc-autostart $OPTIONS $BOOTGROUPS 
+        ## run_cmd "Starting LXC containers ( $CONTAINERS_LIST ) from groups: $BOOTGROUPS " /usr/bin/lxc-autostart $OPTIONS $BOOTGROUPS 
+        run_cmd $nls( "Starting LXC containers (%s) from groups: %s " $CONTAINERS_LIST $BOOTGROUPS) /usr/bin/lxc-autostart $OPTIONS $BOOTGROUPS 
 
 	touch "$localstatedir"/lock/subsys/lxc
 	;;
@@ -123,8 +122,8 @@ case "$1" in
 	## action $"Stopping LXC containers: " "$bindir"/lxc-autostart $STOPOPTS $SHUTDOWNDELAY
 	CONTAINERS_LIST=`/usr/bin/lxc-autostart $STOPOPTS --list`
 
-        ## run_cmd "Stopping LXC containsers (CONTAINERS_LIST) from groups BOOTGROUPS "   "$bindir"/lxc-autostart $STOPOPTS $SHUTDOWNDELAY
-	run_cmd "Stopping running LXC containers ($CONTAINERS_LIST) "   "$bindir"/lxc-autostart $STOPOPTS $SHUTDOWNDELAY
+	## run_cmd "Stopping running LXC containers ($CONTAINERS_LIST) "   "$bindir"/lxc-autostart $STOPOPTS $SHUTDOWNDELAY
+	run_cmd $(nls "Stopping running LXC containers (%s) " $CONTAINERS_LIST) /usr/bin/lxc-autostart $STOPOPTS $SHUTDOWNDELAY
 
 	rm -f "$localstatedir"/lock/subsys/lxc
 	;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/4050b218dbea0ab316501f9a307f1e5b1a40f8fc



More information about the pld-cvs-commit mailing list