diff options
| author | maximilian attems <maks@debian.org> | 2006-12-14 23:16:15 +0100 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2006-12-14 23:16:15 +0100 |
| commit | c03e70312632212c516acac750cb5ec0ef4b33cb (patch) | |
| tree | 3f4e21b8e4b200853c6b1a39dbf3e71c369189a2 /mkinitramfs | |
| parent | 78fe68bcad9d0850e6b9877903719cab7c73b475 (diff) | |
| download | initramfs-tools-c03e70312632212c516acac750cb5ec0ef4b33cb.tar.gz initramfs-tools-c03e70312632212c516acac750cb5ec0ef4b33cb.zip | |
- show lilo error on lilo failure
- add hppa zalon module
- reduce size due to keeping only 1 busybox copy
- warn on update mode when no initramfs exist and takeover not specified
Diffstat (limited to 'mkinitramfs')
| -rwxr-xr-x | mkinitramfs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs index 694f423..d187de0 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -228,7 +228,12 @@ if [ "x${BUSYBOX}" = "xn" ]; then else rm -f ${DESTDIR}/bin/sh copy_exec ${BUSYBOXDIR}/busybox /bin/busybox - ln -s ${BUSYBOXDIR}/busybox ${DESTDIR}/bin/sh + rm -f ${DESTDIR}/bin/busybox + cp ${BUSYBOXDIR}/busybox ${DESTDIR}/bin/busybox + for cmd in `busybox | sed -n '/functions:$/,$p' \ + | sed -e 's/[[:space:]]*//g; s/,$//; s/,/\n/g; /busybox/d'`; do + ln -f ${DESTDIR}/bin/busybox ${DESTDIR}/bin/${cmd} + done fi # Modutils |
