diff options
author | Fabien Parent <fabien.parent@linaro.org> | 2022-06-22 00:47:22 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-06-30 13:39:29 -0400 |
commit | 2117bbee2087d9a3ce9040c8e4ae89306b796145 (patch) | |
tree | 5095ddab475131145e5e7b48902c74c96a0a127e /meta-oe/recipes-navigation | |
parent | 3200122d682c05315f92e97016ecd0e5f365f763 (diff) | |
download | meta-openembedded-contrib-2117bbee2087d9a3ce9040c8e4ae89306b796145.tar.gz |
gpsd-machine-conf: allow creation of an empty package
gpsd-machine-conf is an empty recipe that does not ship any files on the
rootfs. This recipe is targeted to be extended by a bbappend that
will provide the gpsd machine configuration.
In the case where gpsd-machine-conf is included into an image, and if no
layers is providing the machine configuration, the build fails with
the following error:
No match for argument: gpsd-machine-conf
Error: Unable to find a match: gpsd-machine-conf
This error is because no package was created for gpsd-machine-conf
since the recipe does not install any files.
This commit allows the creation of an empty package in order to avoid
the do_rootfs failure when this package is included into an image.
Signed-off-by: Fabien Parent <fabien.parent@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd-machine-conf_1.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-machine-conf_1.0.bb b/meta-oe/recipes-navigation/gpsd/gpsd-machine-conf_1.0.bb index 9c1db3a6b0..4ced1c98db 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd-machine-conf_1.0.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd-machine-conf_1.0.bb @@ -5,3 +5,4 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m # empty by default # BSP layers can add stuff like meta-openmoko example: # +ALLOW_EMPTY:${PN} = "1" |