diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-05 23:07:50 +0200 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-16 20:19:12 +0200 |
commit | 5a8e654ebea3dbd4e6157ae0f33f6c452f72c802 (patch) | |
tree | 65ea45cf11360079c4bece67b61d023745c2ebf2 /install/base | |
parent | 64aff3644e9c0b8813cce377c9850dd7906e8056 (diff) | |
download | mkinitcpio-5a8e654ebea3dbd4e6157ae0f33f6c452f72c802.tar.gz mkinitcpio-5a8e654ebea3dbd4e6157ae0f33f6c452f72c802.tar.xz |
functions: remove add_device
This was only ever used in the base layout, and it's not needed.
devices will be present if we're using devtmpfs, and created for us by
init if we mount on tmpfs.
Also, this is part of our move towards using bsdcpio instead of
gen_init_cpio, and as a side effect we can no longer support this. Any
devices that need to be created should be done so by the runtime hooks,
not the install time hooks.
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'install/base')
-rw-r--r-- | install/base | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/install/base b/install/base index 87d789d..bd1349b 100644 --- a/install/base +++ b/install/base @@ -14,11 +14,6 @@ build() add_dir "/usr/sbin" add_dir "/run" - 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 add_binary /sbin/blkid |