Testing initramfs-tools integration
Max Vozeler
max at nusquama.org
Sat Dec 2 19:59:37 CET 2006
Hi all,
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:
debian-crypto:~# update-initramfs -u -t
update-initramfs: Generating /boot/initrd.img-2.6.17-2-686
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.
cheers,
Max
More information about the Pkg-loop-aes-maint
mailing list