diff options
Diffstat (limited to 'move/make_live')
-rwxr-xr-x | move/make_live | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/move/make_live b/move/make_live index 171512d44..579b3de67 100755 --- a/move/make_live +++ b/move/make_live @@ -86,20 +86,20 @@ sub config_X_proprietary_drivers { #- we do it by hand when needed substInFile { $_ = '' if /^nvidia$/ } "$::prefix/etc/modules"; } + my $cwd = chomp_(`pwd`); $::prefix = $ARGV[0] || '/tmp/live_tree'; print "Making live in $::prefix directory.\n"; -{ - eval { fs::umount("$::prefix/proc") }; -# eval { rm_rf($::prefix) }; - output_p("$::prefix/etc/fstab", "none /proc proc defaults 0 0\n"); - installPackages(); - run_program::rooted($::prefix, 'ldconfig'); - any::fix_broken_alternatives(); - run_program::rooted($::prefix, 'fc-cache'); #- generate cache in all directories mentioned in config file +eval { fs::umount("$::prefix/proc") }; +#eval { rm_rf($::prefix) }; +output_p("$::prefix/etc/fstab", "none /proc proc defaults 0 0\n"); -} +installPackages(); + +run_program::rooted($::prefix, 'ldconfig'); +any::fix_broken_alternatives(); +run_program::rooted($::prefix, 'fc-cache'); #- generate cache in all directories mentioned in config file #- system |