diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-06-11 17:29:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-13 12:22:34 +0100 |
commit | 6c2f7ecee754ff3f29fdde17c0363f5d138057ff (patch) | |
tree | df848f3c4ddba8c055b26f5bb124acba01162172 /meta/recipes-graphics/xinput-calibrator/pointercal-xinput | |
parent | d20d3476157b7c949b0077cad0ab1e8716d6162a (diff) | |
download | openembedded-core-6c2f7ecee754ff3f29fdde17c0363f5d138057ff.tar.gz openembedded-core-6c2f7ecee754ff3f29fdde17c0363f5d138057ff.tar.bz2 openembedded-core-6c2f7ecee754ff3f29fdde17c0363f5d138057ff.zip |
rootfs.py: change the logic in _uninstall_unneeded
Previously, if we have 'package-management' and 'read-only-rootfs'
both in IMAGE_FEATRUES, we would meet the following error at system
start-up.
rm: can't remove '/etc/rcS.d/S99run-postinsts': Read-only file system
However, what's really expected is that when there's no postinstall
script at system start-up, the /etc/rcS.d/S99run-postinsts should not
even be there.
Whether or not to remove the init script symlinks to run-postinsts should
not depend on whether we have 'package-management' in IMAGE_FEATURES; rather,
it should only depend on whether we have any postinstall script left to run
at system start-up.
This patch changes the _uninstall_unneeded function based on the logic
stated above.
[YOCTO #6257]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xinput-calibrator/pointercal-xinput')
0 files changed, 0 insertions, 0 deletions