[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:slackware_admin:building_the_linux_kernel_using_git_repository [2013/12/19 03:21 (UTC)] – [Sources] metaschimahowtos:slackware_admin:building_the_linux_kernel_using_git_repository [2014/02/15 20:03 (UTC)] – Updated installkernel script metaschima
Line 464: Line 464:
  
 # make sure we are root # make sure we are root
-if test $HOME != '/root'+if test != '/root'
 then then
- echo 'ERROR: This script must be run as root' >&2+ echo 'ERROR: This script must be run as root'
  exit 1  exit 1
 fi fi
Line 486: Line 486:
  
 # for elilo # for elilo
-if test -d /boot/efi/EFI/Slackware+bootdir="/boot/efi/EFI/Slackware
 +if test -d "$bootdir"
 then then
- cp arch/x86/boot/bzImage /boot/efi/EFI/Slackware/vmlinuz+ cp arch/x86/boot/bzImage "$bootdir"/vmlinuz
 fi fi
  
Line 517: Line 518:
  exit 1  exit 1
 fi fi
-if test -d /boot/efi/EFI/Slackware+if test -d "$bootdir"
 then then
- if cmp arch/x86/boot/bzImage /boot/efi/EFI/Slackware/vmlinuz+ if cmp arch/x86/boot/bzImage "$bootdir"/vmlinuz
  then  then
  echo 'kernel installed to EFI correctly'  echo 'kernel installed to EFI correctly'
Line 533: Line 534:
  
 exit 0 exit 0
 +
 </file> </file>
 ==== lilo ==== ==== lilo ====
 howtos:slackware_admin:building_the_linux_kernel_using_git_repository ()