diff options
author | Dan Walkes <danwalkes@trellis-logic.com> | 2017-10-08 13:05:23 -0600 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-10-15 17:29:40 +0000 |
commit | 0b62032e0247420b392416503931b042b415a6a3 (patch) | |
tree | 4df0c60e792f8a0cdbf465abdde0775393e982d4 /meta-python/recipes-devtools/python/python-simplejson.inc | |
parent | 8ceeb8b512a265b03b2175943a01d9318ebb8634 (diff) | |
download | meta-openembedded-0b62032e0247420b392416503931b042b415a6a3.tar.gz |
gpsd: Fix gpsd Yocto pyro build for read only rootfs
Attempting to include gpsd on Yocto pyro with IMAGE_FEATURES including
read-only-rootfs results in an error:
"The following packages could not be configured offline and rootfs is
read-only"
This stems from a failure during the do_rootfs steps where the /etc/init.d/gpsd
file is missing during the call to update-rc.d.
This happens because the /etc/init.d/gpsd file is installed during
package install for gpsd-conf instead of gpsd, and the default value for
INITSCRIPT_PACKAGES is PN. To resolve, specify INITSCRIPT_PACKAGES as
gpsd-conf instead.
Also, as suggested on the Yocto mailing list, refactor to inherit
update-alternatives and use this to replace the postinst and postrm
steps.
Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-simplejson.inc')
0 files changed, 0 insertions, 0 deletions