summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive5
1 files changed, 1 insertions, 4 deletions
diff --git a/draklive b/draklive
index 82295ee..b36019e 100755
--- a/draklive
+++ b/draklive
@@ -166,6 +166,7 @@ my %storage_fs;
},
},
nfs => {
+ files => [ '/sbin/ifconfig', '/bin/mount' ], #- needed to mount NFS (with nolock)
mount => sub {
my ($live, $media) = @_;
'/bin/mount -n -o ro,nolock -t nfs ' . get_media_source_for_nash($media) . " $live->{prefix}{live}{mnt}$live->{prefix}{media}{mnt}";
@@ -472,11 +473,7 @@ sub create_initrd_for_media {
my $fs = get_media_setting($media, 'fs');
if ($fs eq 'nfs') {
- #- FIXME: move in %storage_fs
$need_libs = 1;
- cp_f(get_system_root($live) . '/sbin/ifconfig', $initrd_tree . '/bin/');
- #- needed to mount NFS (with nolock)
- cp_f(get_system_root($live) . '/bin/mount', $initrd_tree . '/bin/');
if ($live->{debug}) {
cp_f(get_system_root($live) . '/bin/ping', $initrd_tree . '/bin/');
cp_f(glob(get_system_root($live) . $lib_prefix . '/libresolv*.so.*'), $initrd_tree . $lib_prefix);