summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-03 11:21:56 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-03 11:21:56 +0000
commit479b93c2705a6e8ab24c513de890781cb070e688 (patch)
tree8a90d825caed692a320caca0dc2eaa119045c47e /images
parent0cc7686e26128369f29dc261ad750b0aba3847a1 (diff)
downloaddrakx-backup-do-not-use-479b93c2705a6e8ab24c513de890781cb070e688.tar
drakx-backup-do-not-use-479b93c2705a6e8ab24c513de890781cb070e688.tar.gz
drakx-backup-do-not-use-479b93c2705a6e8ab24c513de890781cb070e688.tar.bz2
drakx-backup-do-not-use-479b93c2705a6e8ab24c513de890781cb070e688.tar.xz
drakx-backup-do-not-use-479b93c2705a6e8ab24c513de890781cb070e688.zip
mount /dev as devtmpfs earlier, in stage1 rather than in stage2
(based on pok's idead @mdv but fixed)
Diffstat (limited to 'images')
-rwxr-xr-ximages/make_boot_img4
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";
}