[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 revision
Previous revision
Next revisionBoth sides next revision
howtos:slackware_admin:building_the_linux_kernel_using_git_repository [2013/12/19 03:08 (UTC)] – Updated information to 3.10.x, removed old options, removed some biased comments metaschimahowtos:slackware_admin:building_the_linux_kernel_using_git_repository [2013/12/19 03:15 (UTC)] – [Where to get the kernel source] metaschima
Line 64: Line 64:
 Here is a script that downloads the latest patch for the current running kernel. It assumes you already have an xz compressed tarball in the kernel build directory. Here is a script that downloads the latest patch for the current running kernel. It assumes you already have an xz compressed tarball in the kernel build directory.
 <file bash kernupd> <file bash kernupd>
-#!/bin/bash+#!/bin/sh
  
 error () # error error () # error
Line 484: Line 484:
 cp System.map /boot cp System.map /boot
 cp .config /boot/config cp .config /boot/config
 +
 +# for elilo
 +if test -d /boot/efi/EFI/Slackware
 +then
 + cp arch/x86/boot/bzImage /boot/efi/EFI/Slackware/vmlinuz
 +fi
  
 # change permissions of vmlinuz # change permissions of vmlinuz
Line 510: Line 516:
  echo 'Kernel config install failed'  echo 'Kernel config install failed'
  exit 1  exit 1
 +fi
 +if test -d /boot/efi/EFI/Slackware
 +then
 + if cmp arch/x86/boot/bzImage /boot/efi/EFI/Slackware/vmlinuz
 + then
 + echo 'kernel installed to EFI correctly'
 + else
 + echo 'kernel install to EFI failed'
 + exit 1
 + fi
 fi fi
 echo echo
Line 517: Line 533:
  
 exit 0 exit 0
- 
 </file> </file>
 ==== lilo ==== ==== lilo ====
 howtos:slackware_admin:building_the_linux_kernel_using_git_repository ()