summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-14 17:11:36 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-14 17:11:36 +0000
commit2f7f387d27ae4c3979ed5f07c95b5c3b21ced96b (patch)
treeea9d41f13ee63fc307194818d8f18ed85cad6143 /images
parent78e15e782cd5c7c9b89d954d88709927d092cce5 (diff)
downloaddrakx-backup-do-not-use-2f7f387d27ae4c3979ed5f07c95b5c3b21ced96b.tar
drakx-backup-do-not-use-2f7f387d27ae4c3979ed5f07c95b5c3b21ced96b.tar.gz
drakx-backup-do-not-use-2f7f387d27ae4c3979ed5f07c95b5c3b21ced96b.tar.bz2
drakx-backup-do-not-use-2f7f387d27ae4c3979ed5f07c95b5c3b21ced96b.tar.xz
drakx-backup-do-not-use-2f7f387d27ae4c3979ed5f07c95b5c3b21ced96b.zip
add a /lib/modules symlink in the stage1
Diffstat (limited to 'images')
-rwxr-xr-ximages/make_boot_img3
1 files changed, 2 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index e08e50ef5..746835a5b 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -143,7 +143,8 @@ sub initrd {
my $stage1_root = $ENV{DEBUGSTAGE1} ? "../mdk-stage1" : "/usr/$lib/drakx-installer-binaries";
_ "rm -rf $tmp_initrd";
- mkdir_p("$tmp_initrd$_") foreach qw(/etc /modules /sbin /tmp /var);
+ mkdir_p("$tmp_initrd$_") foreach qw(/etc /lib /modules /sbin /tmp /var);
+ symlink "/modules", "$tmp_initrd/lib/modules";
symlink "/proc/mounts", "$tpm_initrd/etc/mtab";
symlink "../tmp", "$tpm_initrd/var/run";