From c938de6e764c69b68ab2d039023a085c73237e48 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 3 Feb 2010 17:51:33 +0000 Subject: adjust to name change for statically compiled busybox --- lib/MDV/Draklive/Initrd.pm | 4 ++-- 1 file 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}}); -- cgit v1.2.1