summaryrefslogtreecommitdiffstats
path: root/rules/initmethod.in
blob: 995de844ab7e39fd27da2010abb0431248c8efcc (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
## SECTION=rootfs

menuconfig INITMETHOD
	bool  "init                          "
	default y
	help
	  Choose the system startup init method here

if INITMETHOD

choice
	prompt "init method"

	config INITMETHOD_BBINIT
		bool
		select BUSYBOX
		select BUSYBOX_INIT
		select BUSYBOX_HOSTNAME
		select BUSYBOX_RUN_PARTS
		prompt "busybox init    "

	config INITMETHOD_SYSTEMD
		bool
		select SYSTEMD
		prompt "systemd         "

	config INITMETHOD_INITNG
		bool
		depends on BROKEN
		prompt "init ng         "

	config INITMETHOD_INITRAMFS
		bool
		prompt "initramfs init  "
 
endchoice

source "generated/initmethod.in"

endif