diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/documentation.conf | 1 | ||||
-rw-r--r-- | meta/lib/oe/rootfs.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index 4d49a02ece..9d6e78f9e6 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf @@ -436,6 +436,7 @@ UBOOT_MACHINE[doc] = "Specifies the value passed on the make command line when b UBOOT_MAKE_TARGET[doc] = "Specifies the target called in the Makefile." UBOOT_SUFFIX[doc] = "Points to the generated U-Boot extension." UBOOT_TARGET[doc] = "Specifies the target used for building U-Boot." +USE_DEVFS[doc] = "When building images, specifies to populate or not /dev. This variable defaults to '1' (leave directory empty, surely because devtmpfs do the job). Set it to '0' to use makedevs (or consider using a custom file with IMAGE_DEVICE_TABLES)." USER_CLASSES[doc] = "List of additional classes to use when building images that enable extra features." USERADD_PACKAGES[doc] = "When a recipe inherits the useradd class, this variable specifies the individual packages within the recipe that require users and/or groups to be added." USERADD_PARAM[doc] = "When a recipe inherits the useradd class, this variable specifies for a package what parameters should be passed to the useradd command if you wish to add a user to the system when the package is installed." diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 3eac3c947d..dddbef4d64 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -116,7 +116,8 @@ class Rootfs(object): "offline and rootfs is read-only: %s" % delayed_postinsts) - self._create_devfs() + if self.d.getVar('USE_DEVFS', True) != "1": + self._create_devfs() self._uninstall_uneeded() |