system: move init system option above /dev management.
authoreric.le.bihan.dev@free.fr <eric.le.bihan.dev@free.fr>
Wed, 6 Nov 2013 15:34:34 +0000 (16:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 11 Nov 2013 00:28:10 +0000 (01:28 +0100)
The option to choose init system was below the one for /dev management.
As Systemd forces the use of udev, it is logical to swap them.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
system/Config.in

index 6418d5272d40349f934747e77d28082904b6c019..266e709b4b539ba96d27d5a92db3ffe37b8efe0a 100644 (file)
@@ -66,35 +66,6 @@ config BR2_TARGET_GENERIC_PASSWD_METHOD
        default "sha-256"   if BR2_TARGET_GENERIC_PASSWD_SHA256
        default "sha-512"   if BR2_TARGET_GENERIC_PASSWD_SHA512
 
-choice
-       prompt "/dev management"
-       default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
-
-config BR2_ROOTFS_DEVICE_CREATION_STATIC
-       bool "Static using device table"
-
-config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
-       bool "Dynamic using devtmpfs only"
-
-config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
-       bool "Dynamic using mdev"
-       select BR2_PACKAGE_BUSYBOX
-
-config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
-       bool "Dynamic using udev"
-       depends on BR2_LARGEFILE # udev
-       depends on BR2_USE_WCHAR # udev
-       depends on !BR2_PREFER_STATIC_LIB # udev -> kmod
-       select BR2_PACKAGE_UDEV
-
-comment "udev needs a toolchain w/ largefile, wchar"
-       depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
-
-comment "udev doesn't work with 'prefer static libraries'"
-       depends on BR2_PREFER_STATIC_LIB
-
-endchoice
-
 choice
        prompt "Init system"
        default BR2_INIT_BUSYBOX
@@ -129,6 +100,35 @@ config BR2_INIT_NONE
 
 endchoice
 
+choice
+       prompt "/dev management"
+       default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
+
+config BR2_ROOTFS_DEVICE_CREATION_STATIC
+       bool "Static using device table"
+
+config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
+       bool "Dynamic using devtmpfs only"
+
+config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
+       bool "Dynamic using mdev"
+       select BR2_PACKAGE_BUSYBOX
+
+config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
+       bool "Dynamic using udev"
+       depends on BR2_LARGEFILE # udev
+       depends on BR2_USE_WCHAR # udev
+       depends on !BR2_PREFER_STATIC_LIB # udev -> kmod
+       select BR2_PACKAGE_UDEV
+
+comment "udev needs a toolchain w/ largefile, wchar"
+       depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
+
+comment "udev doesn't work with 'prefer static libraries'"
+       depends on BR2_PREFER_STATIC_LIB
+
+endchoice
+
 config BR2_ROOTFS_DEVICE_TABLE
        string "Path to the permission tables"
        default "system/device_table.txt"