diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-06-26 13:29:21 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-06-26 13:29:21 +0200 |
commit | 6d2ef0afddb8ab62ac5019e203fa85bb4a9f5165 (patch) | |
tree | ec22306d92379d66a24ffc01e7396b96f8c727be /install/base | |
parent | b5295bc2009a913056630033b758fe3be35f7bed (diff) | |
download | mkinitcpio-6d2ef0afddb8ab62ac5019e203fa85bb4a9f5165.tar.gz mkinitcpio-6d2ef0afddb8ab62ac5019e203fa85bb4a9f5165.tar.xz |
Add back /dev/{zero,null,mem} to the initramfs image
These devices might be actually needed before (dev)tmpfs is mounted,
for example when uvesafb is built into the kernel (no module). By
creating them in the image, they will be present as soon as initramfs
has been extracted. Fixes https://bugs.archlinux.org/task/19903.
Diffstat (limited to 'install/base')
-rw-r--r-- | install/base | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/base b/install/base index a117020..d1aa176 100644 --- a/install/base +++ b/install/base @@ -13,7 +13,10 @@ install () add_dir "/usr/lib" add_dir "/usr/sbin" + add_device "/dev/null" c 1 3 + add_device "/dev/zero" c 1 5 add_device "/dev/console" c 5 1 + add_device "/dev/mem" c 1 1 add_binary /lib/initcpio/busybox /bin/busybox add_binary /sbin/modprobe |