diff options
Diffstat (limited to 'source/a/elilo/eliloconfig')
-rw-r--r-- | source/a/elilo/eliloconfig | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/source/a/elilo/eliloconfig b/source/a/elilo/eliloconfig index e1866859a..9d7475f9a 100644 --- a/source/a/elilo/eliloconfig +++ b/source/a/elilo/eliloconfig @@ -133,18 +133,23 @@ timeout=1 # EOF cp -a $T_PX/boot/elilo-x86_64.efi $T_PX/boot/efi/EFI/Slackware/elilo.efi 1> /dev/null 2> /dev/null -cp $T_PX/boot/vmlinuz $T_PX/boot/efi/EFI/Slackware 1> /dev/null 2> /dev/null -cat << EOF >> $T_PX/boot/efi/EFI/Slackware/elilo.conf -image=vmlinuz - label=vmlinuz -EOF -touch -r $T_PX/boot/vmlinuz $T_PX/boot/efi/EFI/Slackware/vmlinuz if [ -r $T_PX/boot/initrd.gz ]; then + cp $T_PX/boot/vmlinuz-generic $T_PX/boot/efi/EFI/Slackware/vmlinuz 1> /dev/null 2> /dev/null + touch -r $T_PX/boot/vmlinuz-generic $T_PX/boot/efi/EFI/Slackware/vmlinuz cp $T_PX/boot/initrd.gz $T_PX/boot/efi/EFI/Slackware 1> /dev/null 2> /dev/null touch -r $T_PX/boot/initrd.gz $T_PX/boot/efi/EFI/Slackware/initrd.gz cat << EOF >> $T_PX/boot/efi/EFI/Slackware/elilo.conf +image=vmlinuz + label=vmlinuz initrd=initrd.gz EOF +else + cp $T_PX/boot/vmlinuz-huge $T_PX/boot/efi/EFI/Slackware/vmlinuz 1> /dev/null 2> /dev/null + touch -r $T_PX/boot/vmlinuz-huge $T_PX/boot/efi/EFI/Slackware/vmlinuz + cat << EOF >> $T_PX/boot/efi/EFI/Slackware/elilo.conf +image=vmlinuz + label=vmlinuz +EOF fi cat << EOF >> $T_PX/boot/efi/EFI/Slackware/elilo.conf read-only |