summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/draklive b/tools/draklive
index 60ec6dc4c..a2fd3abb3 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -436,6 +436,9 @@ sub post_install_system {
$live->{system}{root},
map { abs_path($_) } @{$live->{system}{rpms}}) if @{$live->{system}{rpms}};
+ run_('patch', '-p0', '-s', '-N', '-F', 0, '-d', $live->{system}{root}, '-r', '/tmp', '-i', $_)
+ foreach map { abs_path($_) } @{$live->{system}{patches}};
+
#- make sure harddrake is run
#- (do it in chroot, or else Storable from the build box may write an incompatible config file)
system("chroot $live->{system}{root} " .
@@ -892,6 +895,9 @@ Here's a configuration sample:
rpms => [
'rpms/unionfs-kernel-2.6.12-12mdk-i586-up-1GB-1.1.1.1.20051124.1mdk-1mdk.i586.rpm'
],
+ patches => [
+ 'patches/halt.loopfs.patch',
+ ],
vga_mode => 788,
},
media => {