[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:slackware_admin:building_the_linux_kernel_using_git_repository [2013/12/19 03:13 (UTC)] – fixed script for EFI systems metaschima | howtos:slackware_admin:building_the_linux_kernel_using_git_repository [2014/02/15 20:03 (UTC)] – Updated installkernel script 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 464: | Line 464: | ||
# make sure we are root | # make sure we are root | ||
- | if test $HOME != '/ | + | if test ~ != '/ |
then | then | ||
- | echo ' | + | echo ' |
exit 1 | exit 1 | ||
fi | fi | ||
Line 486: | Line 486: | ||
# for elilo | # for elilo | ||
- | if test -d / | + | bootdir=" |
+ | if test -d " | ||
then | then | ||
- | cp arch/ | + | cp arch/ |
fi | fi | ||
Line 517: | Line 518: | ||
exit 1 | exit 1 | ||
fi | fi | ||
- | if test -d / | + | if test -d " |
then | then | ||
- | if cmp arch/ | + | if cmp arch/ |
then | then | ||
echo ' | echo ' | ||
Line 533: | Line 534: | ||
exit 0 | exit 0 | ||
+ | |||
</ | </ | ||
==== lilo ==== | ==== lilo ==== | ||
Line 584: | Line 586: | ||
* The lilo.conf excerpt is from the default lilo.conf that comes with Slackware plus a few options. | * The lilo.conf excerpt is from the default lilo.conf that comes with Slackware plus a few options. | ||
* Thanks to [[wiki: | * Thanks to [[wiki: | ||
+ | * Updated by [[wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
{{tag> | {{tag> |