diff options
author | Gabriel C <nix.or.die@googlemail.com> | 2007-07-31 03:39:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 18:39:42 -0400 |
commit | 47f82189b185bf4b0de4ebce237850e8d3b1d0b6 (patch) | |
tree | 9fdc14822077c2ae742faea2cbfa815d2a980d6a /arch/i386/boot/install.sh | |
parent | d7ef970bafaa74bd9db75375e98ddd4634045303 (diff) |
broken lilo check on make install
On make install I get the this error:
...
sh /work/crazy/linux-git/linux-2.6/arch/i386/boot/install.sh
2.6.22-g4eb6bf6b arch/i386/boot/bzImage System.map "/boot"
/work/crazy/linux-git/linux-2.6/arch/i386/boot/install.sh: line 54:
/etc/lilo/install: No such file or directory
make[1]: *** [install] Error 127
...
I don't use and don't have lilo installed on this system. The attached
patch fixes the problem for me.
Signed-off-by: Gabriel Craciunescu <nix.or.die@googlemail.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/boot/install.sh')
-rw-r--r-- | arch/i386/boot/install.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/i386/boot/install.sh b/arch/i386/boot/install.sh index 5e44c736eea8..88d77761d01b 100644 --- a/arch/i386/boot/install.sh +++ b/arch/i386/boot/install.sh | |||
@@ -51,4 +51,11 @@ fi | |||
51 | cat $2 > $4/vmlinuz | 51 | cat $2 > $4/vmlinuz |
52 | cp $3 $4/System.map | 52 | cp $3 $4/System.map |
53 | 53 | ||
54 | if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi | 54 | if [ -x /sbin/lilo ]; then |
55 | /sbin/lilo | ||
56 | elif [ -x /etc/lilo/install ]; then | ||
57 | /etc/lilo/install | ||
58 | else | ||
59 | sync | ||
60 | echo "Cannot find LILO." | ||
61 | fi | ||