summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-04-03 07:05:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-04 11:51:15 +0100
commitd12a5e38a02abe3feb3db8ae5ffd9a5005124294 (patch)
treeedb1a9fcf8e8e8a231dad0699e0c990aaa3e3b87 /meta/lib
parent4f650b538924b1736783fec0de661ec16dc590b5 (diff)
downloadopenembedded-core-d12a5e38a02abe3feb3db8ae5ffd9a5005124294.tar.gz
openembedded-core-d12a5e38a02abe3feb3db8ae5ffd9a5005124294.tar.bz2
openembedded-core-d12a5e38a02abe3feb3db8ae5ffd9a5005124294.zip
rootfs.py: introduce USE_DEVFS check
Since commit a83144bac8d67704ff66f5dc0fc56f5b63979694 (2014-02-11), USE_DEVFS is not considered anymore. For compatibility, let's restore USE_DEVFS semantic. Also add USE_DEVFS to documentation.conf. Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/rootfs.py3
1 files changed, 2 insertions, 1 deletions
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()