summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-01 17:25:03 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-01 17:25:03 +0000
commit6fc0bb110276c98649081a2b36356440e04c6c21 (patch)
treea7c3fa7eb11846701e170eb240616586e6f948dc /images/make_boot_img
parent7ae11ee21c47cbf5d3aa7885b3b9902439ea2ce7 (diff)
downloaddrakx-6fc0bb110276c98649081a2b36356440e04c6c21.tar
drakx-6fc0bb110276c98649081a2b36356440e04c6c21.tar.gz
drakx-6fc0bb110276c98649081a2b36356440e04c6c21.tar.bz2
drakx-6fc0bb110276c98649081a2b36356440e04c6c21.tar.xz
drakx-6fc0bb110276c98649081a2b36356440e04c6c21.zip
enable to do a debug build in the BS
introduce USE_LOCAL_STAGE1 in order to use a locally build stage1
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index a31a01b6f..33096a429 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -145,7 +145,7 @@ EOF
sub initrd {
my ($type, $I, $img) = @_;
- my $stage1_root = $ENV{DEBUGSTAGE1} ? "../mdk-stage1" : "/usr/$lib/drakx-installer-binaries";
+ my $stage1_root = $ENV{USE_LOCAL_STAGE1} ? "../mdk-stage1" : "/usr/$lib/drakx-installer-binaries";
my ($ext) = $img =~ /rdz-(.*)/ or die "bad initrd name ($img)";
_ "rm -rf $tmp_initrd";