From 0cc7686e26128369f29dc261ad750b0aba3847a1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Sep 2012 11:21:52 +0000 Subject: create /sys at build time rather than run time --- images/NEWS | 2 ++ images/make_boot_img | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'images') diff --git a/images/NEWS b/images/NEWS index 38f151b2f..2cd7818d1 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,5 @@ +- precreate /sys + Version 1.78 - 31 August 2012 by Thierry Vignaud - include new 'hid-generic' driver (mga#7130, #7248) diff --git a/images/make_boot_img b/images/make_boot_img index 9d5ad3ebb..b0b9d3f01 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -209,7 +209,7 @@ fi } # ka deploy need some files in all.rdz if ($ENV{DEBUGSTAGE1}) { - mkdir_p("$tmp_initrd/$_") foreach qw(dev ka proc var/tmp tmp/stage2); + mkdir_p("$tmp_initrd/$_") foreach qw(dev ka proc sys var/tmp tmp/stage2); symlink("/sbin", "$tmp_initrd/bin"); cp_af("/usr/bin/ka-d-client", "$tmp_initrd/ka/ka-d-client"); cp_af("/bin/busybox.static", "$tmp_initrd/sbin/busybox"); -- cgit v1.2.1