2004-02-16 09:41:00 +00:00
|
|
|
#! /bin/sh -e
|
|
|
|
|
|
|
|
. $stdenv/setup
|
|
|
|
|
|
|
|
mkdir $out
|
|
|
|
mkdir $out/bin
|
|
|
|
|
2004-02-19 12:49:00 +00:00
|
|
|
for i in $boot $halt $login $env; do
|
2004-02-18 14:56:32 +00:00
|
|
|
dst=$out/bin/$(basename $i | cut -c34-)
|
|
|
|
sed \
|
|
|
|
-e "s^@bash\@^$bash^g" \
|
|
|
|
-e "s^@coreutils\@^$coreutils^g" \
|
2005-08-23 16:56:17 +01:00
|
|
|
-e "s^@findutilsWrapper\@^$findutilsWrapper^g" \
|
2004-02-18 14:56:32 +00:00
|
|
|
-e "s^@utillinux\@^$utillinux^g" \
|
|
|
|
-e "s^@sysvinit\@^$sysvinit^g" \
|
|
|
|
-e "s^@e2fsprogs\@^$e2fsprogs^g" \
|
2004-02-19 12:49:00 +00:00
|
|
|
-e "s^@nettools\@^$nettools^g" \
|
2004-02-18 14:56:32 +00:00
|
|
|
-e "s^@nix\@^$nix^g" \
|
2004-08-06 14:52:39 +01:00
|
|
|
-e "s^@wget\@^$wget^g" \
|
|
|
|
-e "s^@which\@^$which^g" \
|
|
|
|
-e "s^@subversion\@^$subversion^g" \
|
|
|
|
-e "s^@vim\@^$vim^g" \
|
|
|
|
-e "s^@screen\@^$screen^g" \
|
|
|
|
-e "s^@less\@^$less^g" \
|
|
|
|
-e "s^@openssh\@^$openssh^g" \
|
|
|
|
-e "s^@binutils\@^$binutils^g" \
|
|
|
|
-e "s^@strace\@^$strace^g" \
|
|
|
|
-e "s^@shadowutils\@^$shadowutils^g" \
|
|
|
|
-e "s^@iputils\@^$iputils^g" \
|
|
|
|
-e "s^@gnumake\@^$gnumake^g" \
|
2004-08-06 18:22:24 +01:00
|
|
|
-e "s^@curl\@^$curl^g" \
|
|
|
|
-e "s^@gnused\@^$gnused^g" \
|
|
|
|
-e "s^@gnutar\@^$gnutar^g" \
|
|
|
|
-e "s^@gnugrep\@^$gnugrep^g" \
|
|
|
|
-e "s^@gzip\@^$gzip^g" \
|
2004-12-07 17:38:55 +00:00
|
|
|
-e "s^@gcc\@^$gcc^g" \
|
2005-08-28 01:51:34 +01:00
|
|
|
-e "s^@mingettyWrapper\@^$mingettyWrapper^g" \
|
2005-08-20 22:49:53 +01:00
|
|
|
-e "s^@module_init_tools\@^$module_init_tools^g" \
|
2005-08-27 01:36:07 +01:00
|
|
|
-e "s^@grub\@^$grubWrapper^g" \
|
2005-08-19 17:09:31 +01:00
|
|
|
-e "s^@udev\@^$udev^g" \
|
2005-08-21 20:56:30 +01:00
|
|
|
-e "s^@dhcpWrapper\@^$dhcpWrapper^g" \
|
2005-08-23 16:56:17 +01:00
|
|
|
-e "s^@man\@^$man^g" \
|
|
|
|
-e "s^@nano\@^$nano^g" \
|
2004-02-19 12:49:00 +00:00
|
|
|
-e "s^@out\@^$out^g" \
|
2004-02-18 14:56:32 +00:00
|
|
|
< $i > $dst
|
|
|
|
chmod +x $dst
|
2004-02-19 12:49:00 +00:00
|
|
|
done
|