From 6233db7abdcbde7a4d3d5a9a5caa69275a06baf5 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Mon, 29 Nov 2010 09:02:12 +0000 Subject: sync ith latest BCD --- BCD/Stagex.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'BCD/Stagex.pm') diff --git a/BCD/Stagex.pm b/BCD/Stagex.pm index 5791ae1..ed9bd2d 100644 --- a/BCD/Stagex.pm +++ b/BCD/Stagex.pm @@ -58,6 +58,17 @@ sub copy_doc { } } +sub copy_misc { + print_color("$LOG copy of misc directory from $repo/$based_on/$arch to $builddir/../", $color); + if (-d "$repo/$based_on/$arch/misc") { + system("rm -rf $builddir/misc && mkdir $builddir/misc"); + system("cp -a $repo/$based_on/$arch/misc/drakx-in-chroot $builddir/misc/"); + system("cp -a $repo/$based_on/$arch/misc/mdkinst_stage2_tooldosutils $builddir/misc/"); + } else { + print_color("$LOG FAILED copy of misc directory from $repo/$based_on/$arch", $error_color); + } +} + sub patch_oem { if (-f $isoconf->{installer}{patch}) { print_color("$LOG copy $isoconf->{installer}{patch} to $installer_destdir/", $color); @@ -70,6 +81,7 @@ sub main_stagex { update_advertising; copy_dosutils; copy_doc; + copy_misc; patch_oem; } -- cgit v1.2.1