diff options
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm index 35f95e2..b88b9c7 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -100,6 +100,9 @@ sub create_media_specific_initrd { #- 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_static = '/bin/busybox.static'; + $busybox = $busybox_static if -e $root . $busybox_static; + inst_initrd_bin($root, $initrd_tree, $busybox); my @l = map { /functions:/ .. /^$/ ? do { s/\s//g; split /,/ } : () } run_program::rooted_get_stdout($root, $busybox); shift @l; |