Hi,

please accept the following patch to disable the unneeded checkroot.sh initscript in debian template.

Regards,
Daniel

--
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baum...@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/

>From 0749da78bad05e1de97f2174cd1e204bad9fca38 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel.baum...@progress-technologies.net>
Date: Mon, 13 Dec 2010 23:08:08 +0100
Subject: [PATCH 4/4] Disabling unneeded checkroot.sh initscript in debian template.

---
 templates/lxc-debian.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index d5663a2..d597321 100644
--- a/templates/lxc-debian.in
+++ b/templates/lxc-debian.in
@@ -84,6 +84,7 @@ EOF
     fi
 
     # remove pointless services in a container
+    chroot $rootfs /usr/sbin/udpate-rc.d -f checkroot.sh remove
     chroot $rootfs /usr/sbin/update-rc.d -f umountfs remove
     chroot $rootfs /usr/sbin/update-rc.d -f hwclock.sh remove
     chroot $rootfs /usr/sbin/update-rc.d -f hwclockfirst.sh remove
-- 
1.7.2.3


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to