diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-12-10 12:57:06 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-14 09:16:37 +0000 |
commit | 1034518fa73b742e81f2dc594bb9617b07763a6c (patch) | |
tree | 193f31482985a9ef01e9213836834941776c84af /meta/classes | |
parent | 2b70a381ee737f1b265cfc417343a7e940c7a673 (diff) | |
download | poky-1034518fa73b742e81f2dc594bb9617b07763a6c.tar.gz |
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.
(From OE-Core rev: f54fdd6673a136ee1cee1f3263a8a7820de43ca3)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 168f283696..012aef3bcc 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}" | |||
77 | # Images are generally built explicitly, do not need to be part of world. | 77 | # Images are generally built explicitly, do not need to be part of world. |
78 | EXCLUDE_FROM_WORLD = "1" | 78 | EXCLUDE_FROM_WORLD = "1" |
79 | 79 | ||
80 | USE_DEVFS ?= "0" | 80 | USE_DEVFS ?= "1" |
81 | 81 | ||
82 | PID = "${@os.getpid()}" | 82 | PID = "${@os.getpid()}" |
83 | 83 | ||