summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-02-03 17:51:33 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-02-03 17:51:33 +0000
commitc938de6e764c69b68ab2d039023a085c73237e48 (patch)
tree088eaf3afe2452bcc4a24a1e0c4767c5f589fb21 /lib
parent64bb92ce05ff934bb093cf8ffa9ba90aacd5733f (diff)
downloaddrakiso-c938de6e764c69b68ab2d039023a085c73237e48.tar
drakiso-c938de6e764c69b68ab2d039023a085c73237e48.tar.gz
drakiso-c938de6e764c69b68ab2d039023a085c73237e48.tar.bz2
drakiso-c938de6e764c69b68ab2d039023a085c73237e48.tar.xz
drakiso-c938de6e764c69b68ab2d039023a085c73237e48.zip
adjust to name change for statically compiled busybox
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Initrd.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 7471c37..a946528 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -99,12 +99,12 @@ sub create_media_specific_initrd {
#- busybox is required to:
#- detect usb-storage process (we need sh/while/ps/grep)
#- mount loopbacks read-only with losetup (useful over NFS)
- my $busybox = '/usr/bin/busybox';
+ my $busybox = '/bin/busybox.static';
inst_initrd_bin($root, $initrd_tree, $busybox);
my $busybox_rooted = $root . $busybox;
my @l = map { /functions:/ .. /^$/ ? do { s/\s//g; split /,/ } : () } `$busybox_rooted`;
shift @l;
- symlink('busybox', $initrd_tree . "/bin/$_") foreach @l;
+ symlink('busybox.static', $initrd_tree . "/bin/$_") foreach @l;
my $fs = $media->get_media_setting('fs');
my @used_loop_types = uniq(map { $_->{type} } @{$live->{mount}{dirs}});