Testing initramfs-tools integration

Lionel Elie Mamane lionel at mamane.lu
Sat Dec 16 08:06:02 CET 2006


On Sat, Dec 02, 2006 at 07:59:37PM +0100, Max Vozeler wrote:

> I was trying to track down why the UMASK was not set correctly
> sometimes. It turns out that initramfs-tools symlinks our conf.d
> script into DESTDIR:

> 34058 lrwxrwxrwx 1 root root   41 2006-12-02 22:01 /tmp/mkinitramfs_X28942/conf/conf.d/loopaes -> /usr/share/initramfs-tools/conf.d/loopaes

> In the hook script, we do:
> echo "LOOPAESOPTS=\"$loopaes_opts\"" > ${DESTDIR}/conf/conf.d/loopaes

> So after the first run of update-initramfs after the package was
> installed, /usr/share/initramfs-tools/conf.d/loopaes will have been
> overwritten by the above echo in the hook script.

I have committed a temporary work-around for that while we discuss the
matter of the same conf.d script being used for two different roles
with Maximilian Attems, the initramfs-tools maintainer.

-- 
Lionel



More information about the Pkg-loop-aes-maint mailing list