summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/draklive b/tools/draklive
index 3be9bfe8f..e54facbe6 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -469,6 +469,11 @@ sub post_install_system {
each_index { !defined $_ and die "unable to find file " . $live->{system}{patches}[$::i] } @patches;
run_('patch', '-p0', '-s', '-N', '-F', 0, '-d', get_system_root($live), '-r', '/tmp', '-i', $_) foreach @patches;
+ foreach (@{$live->{system}{files}}) {
+ my $dest = pop @$_;
+ cp_f(@$_, get_system_root($live) . $dest);
+ }
+
#- make sure harddrake is run:
#- if previous HW config file is empty, we assumes DrakX has just completed the installation
#- (do it in chroot, or else Storable from the build box may write an incompatible config file)