Oops.
Here's a fix:
diff -u ltsp-5.0.40~bzr20080212/debian/extra-plugins/030-mythbuntu
ltsp-5.0.40~bzr20080212/debian/extra-plugins/030-mythbuntu
--- ltsp-5.0.40~bzr20080212/debian/extra-plugins/030-mythbuntu
+++ ltsp-5.0.40~bzr20080212/debian/extra-plugins/030-mythbuntu
@@ -125,14 +125,26 @@
proc /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0
EOF
- fi
+
+ blacklist_rc() {
+ for i in "$@"; do
+ # first remove all sym links, then add K links back
+ chroot $ROOT update-rc.d -f $i remove || true
+ if [ -f ${ROOT}/etc/init.d/${i} ]; then
+ for runlevel in 0 1 2 3 4 5 6 S; do
+ chroot $ROOT ln -sf /etc/init.d/${i}
/etc/rc${runlevel}.d/K80${i} || true
+ done
+ fi
+ done
+ }
# do not start ltsp-client-core
- chroot $ROOT update-rc.d -f ltsp-client-core remove || true
# apparmor does not work well with stacking file systems
- chroot $ROOT update-rc.d -f apparmor remove || true
# nbd-client shouldn't be stopped on reboot/halt
- chroot $ROOT update-rc.d -f nbd-client remove || true
+ blacklist_rc ltsp-client-core apparmor nbd-client
+
+ fi
+
;;
esac
diff -u ltsp-5.0.40~bzr20080212/debian/changelog
ltsp-5.0.40~bzr20080212/debian/changelog
--- ltsp-5.0.40~bzr20080212/debian/changelog
+++ ltsp-5.0.40~bzr20080212/debian/changelog
@@ -1,3 +1,10 @@
+ltsp (5.0.40~bzr20080212-0ubuntu5) hardy; urgency=low
+
+ * Make sure that mythbuntu specific calls are only executed when running
+ ltsp-build-client with --mythbuntu (LP: #214481)
+
+ -- Michael Haas <[EMAIL PROTECTED]> Wed, 09 Apr 2008 12:07:22 +0200
+
ltsp (5.0.40~bzr20080212-0ubuntu4) hardy; urgency=low
* make sure the right proxy line is set in the chroot, thanks
** Changed in: ltsp (Ubuntu)
Assignee: (unassigned) => Oliver Grawert (ogra)
--
[hardy] ltsp-build-client builds incomplete filesystem
https://bugs.launchpad.net/bugs/214481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs