|
|
@ -20,16 +20,10 @@ makeinstopt= |
|
|
|
|
|
|
|
. $confdir/find_template.in |
|
|
|
|
|
|
|
hook_add postmake 5 'mkinitrd_install' |
|
|
|
if [ -s "$initrd_img" ]; then |
|
|
|
hook_add postmake 7 "cp -vf '$initrd_img' '$root/boot/initrd.img'" |
|
|
|
else |
|
|
|
echo_warning "No initrd.img found." |
|
|
|
fi |
|
|
|
|
|
|
|
mkinitrd_install() { |
|
|
|
install -v -m 755 "$confdir/mkinitramfs.sh" "$root$sbindir/mkinitramfs" |
|
|
|
for x in $( ls -1d "$confdir/files"/* 2> /dev/null ); do |
|
|
|
cp -vf "$x" "$root$libdir/" |
|
|
|
done |
|
|
|
} |
|
|
|
hook_add postmake 5 "overlay_apply '$confdir/install'" |