[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debian ova instance generator
[Thread Prev] | [Thread Next]
- Subject: Re: debian ova instance generator
- From: Lars Wirzenius <liw@xxxxxx>
- Date: Sun, 6 Oct 2013 21:03:04 +0100
- To: Lukas Anzinger <l.anzinger@xxxxxxxxx>
- Cc: heroxbd@xxxxxxxxxx, debian-devel@xxxxxxxxxxxxxxxx, devel@xxxxxxxxxxxxxxx
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
debian ova instance generator | heroxbd@xxxxxxxxxx |
Re: debian ova instance generator | Lukas Anzinger <l.anzinger@xxxxxxxxx> |