mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
System config: split static-dev device table setting into seperate option
As discussed here: http://lists.busybox.net/pipermail/buildroot/2011-May/043251.html Add BR2_ROOTFS_STATIC_DEVICE_TABLE for the extra device table file(s) to create device nodes in /dev, rather than complicated logic in BR2_ROOTFS_DEVICE_TABLE, making it complicated to move between static and dynamic modes. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
80eeabc55d
commit
9dc7b73f3b
@ -33,7 +33,8 @@
|
|||||||
|
|
||||||
FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
|
FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
|
||||||
FULL_DEVICE_TABLE = $(BUILD_DIR)/_device_table.txt
|
FULL_DEVICE_TABLE = $(BUILD_DIR)/_device_table.txt
|
||||||
ROOTFS_DEVICE_TABLES = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE))
|
ROOTFS_DEVICE_TABLES = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE)) \
|
||||||
|
$(call qstrip,$(BR2_ROOTFS_STATIC_DEVICE_TABLE))
|
||||||
|
|
||||||
define ROOTFS_TARGET_INTERNAL
|
define ROOTFS_TARGET_INTERNAL
|
||||||
|
|
||||||
|
@ -33,18 +33,25 @@ config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
|
|||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_ROOTFS_DEVICE_TABLE
|
config BR2_ROOTFS_DEVICE_TABLE
|
||||||
|
string "Path to the permission tables"
|
||||||
|
default "target/generic/device_table.txt"
|
||||||
|
help
|
||||||
|
Specify a space-separated list of permission table locations,
|
||||||
|
that will be passed to the makedevs utility to assign
|
||||||
|
correct owners and permissions on various files in the
|
||||||
|
target filesystem.
|
||||||
|
|
||||||
|
See package/makedevs/README for details on the usage and
|
||||||
|
syntax of these files.
|
||||||
|
|
||||||
|
config BR2_ROOTFS_STATIC_DEVICE_TABLE
|
||||||
string "Path to the device tables"
|
string "Path to the device tables"
|
||||||
default "target/generic/device_table.txt target/generic/device_table_dev.txt" \
|
default "target/generic/device_table_dev.txt"
|
||||||
if BR2_ROOTFS_DEVICE_CREATION_STATIC
|
depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
|
||||||
default "target/generic/device_table.txt" \
|
|
||||||
if (BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV || \
|
|
||||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \
|
|
||||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS)
|
|
||||||
help
|
help
|
||||||
Specify a space-separated list of device table locations,
|
Specify a space-separated list of device table locations,
|
||||||
that will be passed to the makedevs utility to create all
|
that will be passed to the makedevs utility to create all
|
||||||
the special device files and assign correct owners and
|
the special device files under /dev.
|
||||||
permissions on various files in the target filesystem.
|
|
||||||
|
|
||||||
See package/makedevs/README for details on the usage and
|
See package/makedevs/README for details on the usage and
|
||||||
syntax of these files.
|
syntax of these files.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user