Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Martin Jansa <[email protected]>
- Loading branch information