summaryrefslogtreecommitdiffstats
path: root/rules/devicekit-disks.in
blob: 5b0967e6352ca4b6208ee8d225b6bddf207e761f (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
## SECTION=shell_and_console

comment "devicekit conflicts with BusyBox' mount!"
	depends on BUSYBOX_MOUNT

comment "devicekit conflicts with BusyBox' umount!"
	depends on BUSYBOX_MOUNT

menuconfig DEVICEKIT_DISKS
	tristate
	select HOST_LIBXSLT
	select GLIB
	select DBUS
	select DBUS_GLIB
	select POLKIT
	select UDEV
	select UDEV_LIBUDEV
	select LIBGUDEV
	# busybox mount can't handle all the options
	depends on !BUSYBOX_MOUNT || ALLYES
	depends on !BUSYBOX_UMOUNT || ALLYES
	select UTIL_LINUX_NG
	select UTIL_LINUX_NG_MOUNT
	select UTIL_LINUX_NG_UMOUNT
	select FAKE_OVERLAYFS		if DEVICEKIT_DISKS_FAKE_OVERLAYFS
	select FAKE_OVERLAYFS_VAR_TMP	if DEVICEKIT_DISKS_FAKE_OVERLAYFS && !FAKE_OVERLAYFS_VAR
	select FAKE_OVERLAYFS_VAR_RUN	if DEVICEKIT_DISKS_FAKE_OVERLAYFS && !FAKE_OVERLAYFS_VAR
	prompt "devicekit                     "
	help
	  abstraction for enumerating block devices

	  DeviceKit-disks is an abstraction for enumerating block
	  devices and performing operations on them. Any application
	  can access the org.freedesktop.DeviceKit. Disks service on
	  the system message bus. Some operations (such as formatting
	  disks etc.) are restricted using PolicyKit.

if DEVICEKIT_DISKS

config DEVICEKIT_DISKS_FAKE_OVERLAYFS
	bool
	prompt "use fake overlayfs"
	help
	  This makes sure that all necessary directories and files
	  are available and writeable on a readonly rootfs + tmpfs for
	  writable directories.

endif