summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-09-23 12:15:43 +0000
committerFrancois Pons <fpons@mandriva.com>1999-09-23 12:15:43 +0000
commitfc979f59eae18dbc6f6544a702093cfd380feda1 (patch)
tree37c535750ad9e471090c957f0497fb32aac34234 /make_boot_img
parent37860db32a298e81d107848c7021f39427ff2e29 (diff)
downloaddrakx-fc979f59eae18dbc6f6544a702093cfd380feda1.tar
drakx-fc979f59eae18dbc6f6544a702093cfd380feda1.tar.gz
drakx-fc979f59eae18dbc6f6544a702093cfd380feda1.tar.bz2
drakx-fc979f59eae18dbc6f6544a702093cfd380feda1.tar.xz
drakx-fc979f59eae18dbc6f6544a702093cfd380feda1.zip
*** empty log message ***
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index acfb27093..09b1b9222 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -41,7 +41,7 @@ sub initrd {
_ "echo y | mke2fs $tmp";
_ "$sudo mount $tmp $mnt -o loop";
_ "$sudo cp -a $instdir/$inst1/* $mnt";
- _ "$sudo install -d $mnt/modules";
+ _ "sudo cp -f install_${type}_modules/* $mnt/modules/" if -d "install_${type}_modules";
_ "$sudo cp -f modules/${type}_modules.cgz $mnt/modules/modules.cgz";
_ "$sudo cp -f modules/modules.dep $mnt/modules/";
_ "$sudo umount $mnt";