[systemd-devel] kernel-install questions

Tom Gundersen teg at jklm.no
Wed Sep 25 06:38:57 PDT 2013


On Wed, Sep 25, 2013 at 3:35 PM, Tom Gundersen <teg at jklm.no> wrote:
>  [1mdiff --git a/Makefile b/Makefile [m
>  [1mindex 8d0668f..248d59c 100644 [m
>  [1m--- a/Makefile [m
>  [1m+++ b/Makefile [m
>  [36m@@ -335,7 +335,7 @@ [m  [mOBJCOPY = $(CROSS_COMPILE)objcopy [m
>  OBJDUMP = $(CROSS_COMPILE)objdump [m
>  AWK = awk [m
>  GENKSYMS = scripts/genksyms/genksyms [m
>  [31m-INSTALLKERNEL  := installkernel [m
>  [32m+ [m [32mINSTALLKERNEL  := kernel-install [m
>  DEPMOD = /sbin/depmod [m
>  PERL = perl [m
>  CHECK = sparse [m
>  [1mdiff --git a/arch/x86/boot/install.sh b/arch/x86/boot/install.sh [m
>  [1mindex d13ec1c..4ce2240 100644 [m
>  [1m--- a/arch/x86/boot/install.sh [m
>  [1m+++ b/arch/x86/boot/install.sh [m
>  [36m@@ -34,7 +34,7 @@ [m  [mverify "$3" [m
>  # User may have a custom install script [m
>   [m
>  if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi [m
>  [31m-if [ -x /sbin/${INSTALLKERNEL} ]; then exec
> /sbin/${INSTALLKERNEL} "$@"; fi [m
>  [32m+ [m [32mif [ -x /sbin/${INSTALLKERNEL} ]; then exec
> /sbin/${INSTALLKERNEL} add "$@"; fi [m
>   [m
>  # Default install - same as make zlilo [m
>   [m

Bah, copy-paste fail. The important bit is: the binary needs to be
called "installkernel" rather than "kernel-install", and it must work
also if the action "add" is implicit.

-t


More information about the systemd-devel mailing list