From ea20a441f8fecc9fa84e0e1f12c4b71bf436f872 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 21 Apr 2006 23:00:28 +0000 Subject: Hook updates and changes... git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@7 880c04e9-e011-0410-abf7-b926e227c9cd --- install/base | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 install/base (limited to 'install/base') diff --git a/install/base b/install/base new file mode 100644 index 0000000..9cd2030 --- /dev/null +++ b/install/base @@ -0,0 +1,32 @@ +# vim:set ft=sh: + +install () +{ + add_dir "/proc" + add_dir "/sys" + add_dir "/dev" + + add_nod "/dev/null" 644 c 1 3 + add_nod "/dev/zero" 644 c 1 5 + add_nod "/dev/console" 644 c 5 1 + + for f in /lib -name klibc-*.so; do + add_file $f + done + + for f in /usr/lib/klibc/bin/*; do + add_file $f /bin/$(basename $f) + done + + add_file "/lib/initramfs/init" "/init" + add_file "${CONFIG}" "/config" +} + +help () +{ +cat <