Commit aac90141 authored by Raphaël Hertzog's avatar Raphaël Hertzog

Only copy /etc/live/boot if it exists

Even though /etc/live/boot is created in the postinst, that directory
is not guaranteed to exist when the initramfs is generated. It might be
generated when the kernel is configured before live-boot has been
configured.
parent 4ccc8330
......@@ -38,7 +38,10 @@ if [ -e /etc/live/boot.conf ]
then
cp -a /etc/live/boot.conf "${DESTDIR}/etc/live"
fi
cp -a /etc/live/boot "${DESTDIR}/etc/live"
if [ -e /etc/live/boot ]
then
cp -a /etc/live/boot "${DESTDIR}/etc/live"
fi
# klibc dependencies
for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment