summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img5
1 files changed, 3 insertions, 2 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 034d2b0cf..b07817994 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -187,8 +187,9 @@ fi
_ "chmod 755 $tmp_initrd/hotplug";
symlink "../hotplug", "$tmp_initrd/sbin/hotplug";
_ "install $stage1_root/init $tmp_initrd/";
- foreach ('stage1', 'pppd', 'pppoe') {
- _ "install $stage1_root/$_ $tmp_initrd/sbin/";
+ _ "install $stage1_root/stage1 $tmp_initrd/sbin/";
+ foreach ('pppd', 'pppoe') {
+ _ "install /usr/sbin/${_}-diet $tmp_initrd/sbin/$_";
}
if ($arch !~ /ppc|ia64/) {