aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-06-11 17:15:27 +0800
committerChen Qi <Qi.Chen@windriver.com>2014-06-11 17:26:20 +0800
commitdc5211442c257f289d6fe290b91785f2c7098fae (patch)
treea570a08a1a055d995df051957c6353b857b7d5b8 /.gitignore
parent84a4326473ce448c9bdd9a8b79383c319f04d339 (diff)
downloadopenembedded-core-contrib-ChenQi/rootfs-postinsts.tar.gz
rootfs.py: change the logic in _uninstall_unneededChenQi/rootfs-postinsts
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions