diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-03 11:21:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-03 11:21:56 +0000 |
commit | e6383c95c8910f98729642ee08f35ff4bc70c377 (patch) | |
tree | 8a90d825caed692a320caca0dc2eaa119045c47e /images/make_boot_img | |
parent | 5758121daa7e4eba12eaa4ab56a6958709aa7baf (diff) | |
download | drakx-e6383c95c8910f98729642ee08f35ff4bc70c377.tar drakx-e6383c95c8910f98729642ee08f35ff4bc70c377.tar.gz drakx-e6383c95c8910f98729642ee08f35ff4bc70c377.tar.bz2 drakx-e6383c95c8910f98729642ee08f35ff4bc70c377.tar.xz drakx-e6383c95c8910f98729642ee08f35ff4bc70c377.zip |
mount /dev as devtmpfs earlier, in stage1 rather than in stage2
(based on pok's idead @mdv but fixed)
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-x | images/make_boot_img | 4 |
1 files changed, 1 insertions, 3 deletions
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"; } |