From 479b93c2705a6e8ab24c513de890781cb070e688 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Sep 2012 11:21:56 +0000 Subject: mount /dev as devtmpfs earlier, in stage1 rather than in stage2 (based on pok's idead @mdv but fixed) --- images/make_boot_img | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'images') diff --git a/images/make_boot_img b/images/make_boot_img index b0b9d3f01..2d01d6299 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -218,9 +218,7 @@ fi symlink('busybox', $tmp_initrd . "/sbin/$_") foreach @funct; } - my $devs = sprintf "ls /dev/{%s}", join(',', qw(console fb0 fd0 loop3 mem null ppp ptmx ptyp0 ram3 random tty[0-7] ttyp0 ttyS0 urandom)); - - _ "(cd $tmp_initrd; (find . ; $devs) | cpio -o -c --quiet) | xz --check=crc32 --lzma2=dict=512KiB > $img"; + _ "(cd $tmp_initrd; find . | cpio -o -c --quiet) | xz --check=crc32 --lzma2=dict=512KiB > $img"; _ "rm -rf $tmp_initrd"; } -- cgit v1.2.1