diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2015-10-20 08:43:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:27 +0000 |
commit | c509c781ebc6ec536ddd5882e5cb9f119f49257c (patch) | |
tree | f01b8c6583834f0000fe3291e9653839cb84e17c /meta/classes/package.bbclass | |
parent | 022f8cc7ebc1ea7925e48b33fc0a18f60d9cacce (diff) | |
download | poky-c509c781ebc6ec536ddd5882e5cb9f119f49257c.tar.gz |
initscripts/sysfs.sh: Mount devtmpfs on /dev/ if needed
When booting from an initrd disk, or when the kernel config option
DEVTMPFS_MOUNT isn't provided, /dev/ will not be mounted at boot.
This small addition will check if /dev/ is "useful", and if not, will
mount devtmpfs if the kernel provides it.
With this change, it is possible to set an initscripts style image type
to "cpio.gz" and boot it as initrd. Without this change, the image won't
work properly because of the missing devices.
(From OE-Core rev: a1cfb8a2691ed36700c96cbc1a0e744494294d2b)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
0 files changed, 0 insertions, 0 deletions