Patchwork [V2,1/1] image.bbclass: default USE_DEVFS to '1'

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Dec. 10, 2013, 4:57 a.m.
Message ID <435b6e6e34c4c65022e57b78a246cfd8fcd2d71f.1386651359.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/63105/
State New
Headers show

Comments

Qi.Chen@windriver.com - Dec. 10, 2013, 4:57 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

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@windriver.com>
---
 meta/classes/image.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index cc65e35..b8bd462 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()}"