hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/boot/install.sh
....@@ -21,15 +21,10 @@
2121 if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi
2222 if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi
2323
24
-# Default install - same as make zlilo
24
+echo "Warning: '${INSTALLKERNEL}' command not available - additional " \
25
+ "bootloader config required" >&2
26
+if [ -f $4/vmlinuz-$1 ]; then mv $4/vmlinuz-$1 $4/vmlinuz-$1.old; fi
27
+if [ -f $4/System.map-$1 ]; then mv $4/System.map-$1 $4/System.map-$1.old; fi
2528
26
-if [ -f $4/vmlinuz ]; then
27
- mv $4/vmlinuz $4/vmlinuz.old
28
-fi
29
-
30
-if [ -f $4/System.map ]; then
31
- mv $4/System.map $4/System.old
32
-fi
33
-
34
-cat $2 > $4/vmlinuz
35
-cp $3 $4/System.map
29
+cat $2 > $4/vmlinuz-$1
30
+cp $3 $4/System.map-$1