From 4bccfb3f18c8ab991a97bdc9e90268b4d48bb607 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 18 Dec 2007 09:01:19 +0000 Subject: fix live stage2 support as documented in config-stage1.h: /* - if we use a compressed image : STAGE2_LOCATION is a the mount point - if we use the live: STAGE2_LOCATION is a relative symlink to image/install/stage2/live */ #define STAGE2_LOCATION "/tmp/stage2" ie /tmp/stage2 is not always a directory --- images/make_boot_img | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images/make_boot_img') diff --git a/images/make_boot_img b/images/make_boot_img index c381667ae..016281cbf 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -176,7 +176,7 @@ sub initrd { } # ka deploy need some files in all.rdz { - map { mkdir_p("$tmp_initrd/$_") } qw(sbin dev ka proc sbin tmp/stage2 var/tmp); + map { mkdir_p("$tmp_initrd/$_") } qw(sbin dev ka proc sbin var/tmp); symlink("/sbin", "$tmp_initrd/bin"); cp_af("/usr/bin/ka-d-client", "$tmp_initrd/ka/ka-d-client"); cp_af("/usr/bin/mke2fs_diet", "$tmp_initrd/sbin/mke2fs"); -- cgit v1.2.1