diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2010-02-03 17:51:33 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2010-02-03 17:51:33 +0000 |
commit | c938de6e764c69b68ab2d039023a085c73237e48 (patch) | |
tree | 088eaf3afe2452bcc4a24a1e0c4767c5f589fb21 /lib/MDV | |
parent | 64bb92ce05ff934bb093cf8ffa9ba90aacd5733f (diff) | |
download | draklive-c938de6e764c69b68ab2d039023a085c73237e48.tar draklive-c938de6e764c69b68ab2d039023a085c73237e48.tar.gz draklive-c938de6e764c69b68ab2d039023a085c73237e48.tar.bz2 draklive-c938de6e764c69b68ab2d039023a085c73237e48.tar.xz draklive-c938de6e764c69b68ab2d039023a085c73237e48.zip |
adjust to name change for statically compiled busybox
Diffstat (limited to 'lib/MDV')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 4 |
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}}); |