[oe-commits] Chen Qi : image.bbclass: default USE_DEVFS to '1'

git at git.openembedded.org git at git.openembedded.org
Sun Dec 15 16:45:00 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: f54fdd6673a136ee1cee1f3263a8a7820de43ca3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f54fdd6673a136ee1cee1f3263a8a7820de43ca3

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Tue Dec 10 12:57:06 2013 +0800

image.bbclass: default USE_DEVFS to '1'

Default USE_DEVFS to "1" so that the `makedevs' command is not run
at rootfs time by default. There are mainly two reasons to do so.

1. This will fix a build failure with initramfs-kexecboot-klibc-image.
   "makedevs: No entry for root in search list "

2. Most of our images use a filesystem over /dev. Most of the time, it's
   just devtmpfs. So we actually are using a filesystem over /dev.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 168f283..012aef3 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
 # Images are generally built explicitly, do not need to be part of world.
 EXCLUDE_FROM_WORLD = "1"
 
-USE_DEVFS ?= "0"
+USE_DEVFS ?= "1"
 
 PID = "${@os.getpid()}"
 



More information about the Openembedded-commits mailing list