On Sun, Oct 06, 2013 at 09:49:12PM +0200, Lukas Anzinger wrote: > I've seen that you stop dbus via invoke-rc.d because it's started from its > postinst script. > > There's a way to prevent the starting of services so you don't need to stop > it: Just install https://github.com/grml/grml-policyrcd into the chroot, it > will make "invoke-rc.d <foo> start" a NOP if run inside a chroot.
You can also just create usr/sbin/policy-rc.d as a shell script that exits with 101, which may or may not be easier to deal with. Like this: cat <<EOF > "$rootdir/usr/sbin/policy-rc.d" #!/bin/sh exit 101 EOF chmod a+x "$rootdir/usr/sbin/policy-rc.d" Remember to delete it afterwards. -- http://www.cafepress.com/trunktees -- geeky funny T-shirts http://gtdfh.branchable.com/ -- GTD for hackers -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131006200304.GN17839@holywood