[elbe-devel] Are Debian maintainer scripts executed by Elbe?

Manuel Traut manuel.traut at linutronix.de
Mon Jun 12 15:53:40 CEST 2017


Hi Lukasz,

> I have problems understanding the following piece of the documentation at https://elbe-rfs.org/docs/elbeoverview-en.html:
> 
> "On regular Debian installations, init scripts installed by packages are
> started automatically during the post-installation step. Please note that
> Elbe will not start any services during package installation"
> 
> What I (think I) do understand, is what is meant here with:
> 
> 1. "init scripts" - the scripts located in /etc/init.d etc, and run by init or systemd at system startup
> 2. "post-installation step" - the, so called, Debian maintainer scripts (e.g. postinst) run by dpkg while installing a package
> 
> What I do *not* understand is what "Elbe will not start any services during package installation" means, i.e. whether Elbe:
> 
> 1. does not run maintainer scripts
> 2. does not run /etc/init.d scripts

elbe does 2.)

> The reason I'm asking is that I am installing the package initramfs-tools, whose postinst script on regular Debian installations generates the initramfs image in /boot/initrd.img-$(uname -r) but I don't see any in RFS build by Elbe. So the question arises, whether Elbe does not trigger the initramfs-tools' postinst or the image gets (re)moved after being generated?

maybe some tools to generate the initrd are missing.. (busybox, fsck*, ..are
needed, IMHO)

  Manuel




More information about the elbe-devel mailing list