summaryrefslogtreecommitdiffstats
path: root/rules/initramfs-tools.in
blob: 4201a2a415ad940c7537beab1134ce01559ba408 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
## SECTION=initmethod

if INITMETHOD_INITRAMFS

menuconfig INITRAMFS_TOOLS
	bool
	prompt "initramfs-tools               "
	help
	  Install initramfs skeleton framework

if INITRAMFS_TOOLS

config INITRAMFS_SPEC
	bool
	prompt "parse project specific initramfs_spec"
	help
	  parse the spec file which is expected to live in
	  ${PTXDIST_WORKSPACE}/initramfs_spec. The format is the same
	  as described in the kernelsource under

	  Documentation/early-userspace/README.

	  Files described in this file can either have an absolute or
	  a relative path (relative to ${PTXDIST_WORKSPACE}).

if INITRAMFS_SPEC

config INITRAMFS_SPEC_FILE
	string "initramfs spec filename"
	default "${PTXDIST_WORKSPACE}/initramfs_spec"
	help
	  install using a spec file. Format is similar to what
	  is described in the kernel source in
	  Documentation/filesystems/ramfs-rootfs-initramfs.txt

	  file  <name> <location> <mode> <uid> <gid>
	  dir   <name> <mode> <uid> <gid>
	  nod   <name> <mode> <uid> <gid> <dev_type> <maj> <min>
	  slink <name> <target> <mode> <uid> <gid>

	  file <location> can either have an absolute path or
	  a relative path relative to any of the following paths:
	    ${PTXDIST_WORKSPACE}/projectroot${PTXDIST_PLATFORMSUFFIX}/<location>
	    ${PTXDIST_WORKSPACE}/projectroot/<location>${PTXDIST_PLATFORMSUFFIX}
	    ${PTXDIST_WORKSPACE}/projectroot/<location>
	    ${PTXDIST_TOPDIR}/projectroot/<location>
	    ${pkg_pkg_dir}/<location>
	    ${pkg_dir}/<location>

endif

config INITRAMFS_TOOLS_SCRIPTS_INIT
	bool "install /scripts/init         "
	help
	  FIXME

config INITRAMFS_TOOLS_SCRIPTS_LOCAL
	bool "install /scripts/local        "
	help
	  FIXME

config INITRAMFS_TOOLS_SCRIPTS_NFS
	bool "install /scripts/nfs          "
	help
	  FIXME

endif

endif