6 add_binary
/usr
/lib
/initcpio
/busybox
/usr
/bin
/busybox
7 add_symlink
"/bin" /usr
/bin
9 for applet
in $
(busybox
--list |
grep -v busybox
); do
10 add_symlink
"/usr/bin/$applet" /usr
/bin
/busybox
13 add_binary
/usr
/lib
/initcpio
/busybox
/usr
/bin
/sh
15 # add kmod with applet symlinks
17 for applet
in {dep
,ins
,rm,ls}mod mod
{probe
,info
}; do
18 add_symlink
"/usr/bin/$applet" kmod
23 add_binary switch_root
25 add_file
"/usr/lib/initcpio/init_functions" "/init_functions"
26 add_file
"/usr/lib/initcpio/init" "/init"
31 This hook provides crucial runtime necessities for booting. DO NOT
32 remove this hook unless you know what you're doing.