blob: 40f9c2501b9a46a3a78919a47a02c8ae7a17c124 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# vim:set ft=sh:
build()
{
add_dir "/proc"
add_dir "/sys"
add_dir "/dev"
add_dir "/bin"
add_dir "/sbin"
add_dir "/lib"
add_dir "/usr"
add_dir "/usr/bin"
add_dir "/usr/lib"
add_dir "/usr/sbin"
add_dir "/run"
add_binary /lib/initcpio/busybox /bin/busybox
add_binary /sbin/modprobe
add_binary /sbin/blkid
add_file "/lib/initcpio/init_functions" "/init_functions"
add_file "/lib/initcpio/init" "/init"
add_file "${CONFIG}" "/config"
add_file "/etc/modprobe.d/usb-load-ehci-first.conf"
SCRIPT=""
}
help ()
{
cat <<HELPEOF
This hook sets up all initial directories and installs base
utilities. DO NOT remove this one unless you know what you're
doing.
HELPEOF
}
|