[Pkg-scicomp-commits] cpushare/trunk/debian

Sam Hocevar sam at zoy.org
Tue Apr 8 14:17:20 UTC 2008


SVN commit 2382 by sho:

  * debian/cpushare.init:
    + Exit immediately if seccomp is not activated.


 M  +5 -2      cpushare/trunk/debian/changelog  
 M  +1 -0      cpushare/trunk/debian/cpushare.init  


--- cpushare/trunk/debian/changelog #2381:2382
@@ -4,6 +4,8 @@
     + Put the workaround for #474630 *between* the dh_pysupport and
       dh_installinit calls, otherwise the first init.d call will fail due
       to the cpushare twistd plugin not being found.
+  * debian/cpushare.init:
+    + Exit immediately if seccomp is not activated.
 
  -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Mon, 07 Apr 2008 09:04:34 +0000
 
@@ -14,9 +16,10 @@
     + Depend on python-twisted-core instead of python-twisted.
     + Build-depend on libc6-dev-i386 on amd64, because the bytecode needs to
       be built for i386.
+    + Build-depend on debhelper (>= 6.0.7) because we use dh_lintian.
   * debian/cpushare.lintian-overrides:
-    + Override errors about the bytecode. It has to be statically linked and
-      non-stripped.
+    + Override lintian errors about the bytecode: it *has* to be statically
+      linked and non-stripped.
 
  -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Sun, 06 Apr 2008 23:19:44 +0000
 
--- cpushare/trunk/debian/cpushare.init #2381:2382
@@ -42,6 +42,7 @@
 	if ! su nobody -c /usr/lib/cpushare/seccomp-test >/dev/null 2>&1; then
 	    log_begin_msg " kernel was not built with CONFIG_SECCOMP=y"
 	    log_end_msg 1
+	    exit 0
 	fi
 	FAIL=0
 	# Start one instance of the daemon for each .cpu file in /etc/cpushare



More information about the Pkg-scicomp-commits mailing list