From 5473c25646427fc52d80765ed47ecaeca8364caf Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 15 Apr 2009 11:49:00 +0000 Subject: drop duplicated code including busybox --- images/NEWS | 3 +++ images/make_boot_img | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/images/NEWS b/images/NEWS index b60e11f30..ffa26fc6d 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,6 @@ +- drop duplicated code including busybox, ka version is better than + the one of DEBUGSTAGE1 + Version 1.40 - 14 April 2009, by Pascal Terjan - handle firmware loading in stage2 too diff --git a/images/make_boot_img b/images/make_boot_img index d0d13309b..05823cd20 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -209,11 +209,6 @@ fi my @funct = map { /functions:/ .. /^$/ ? do { s/\s//g; split /,/ } : () } `busybox`; shift @funct; symlink('busybox', $tmp_initrd . "/sbin/$_") foreach @funct; - } - - if ($ENV{DEBUGSTAGE1}) { - _ "cp -f /usr/bin/busybox $tmp_initrd/sbin"; - symlink "busybox", "$tmp_initrd/sbin/$_" foreach qw(cat chgrp chmod chown chroot chvt clear cp cut date dd df dirname dmesg du echo env false find free grep gunzip gzip halt head id init kill killall klogd linuxrc ln logger ls lsmod mkdir mknod mkswap more mount mv poweroff ps pwd reboot reset rm rmdir sed sleep sh sort swapoff swapon sync syslogd tail tar touch true tty umount uname uniq uptime wc which whoami xargs yes zcat); } if ($o_bootsplash_cfg) { -- cgit v1.2.1