Bug 5718

Summary: /etc/rcS.d/S99run-postinsts not removed after a clean start-up
Product: [Runtime] System Startup Reporter: Chen Qi <Qi.Chen>
Component: system-startupAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: kevin.tian, liezhi.yang, richard.purdie, sgw
Version: 1.5   
Target Milestone: 1.6 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Chen Qi 2014-01-13 01:54:20 UTC
If there's no post-install script at system start-up, the /etc/rcS.d/S99run-postinsts will not be removed. However, that init script should be removed according to the initial design of postinsts.

//Chen Qi
Comment 1 Chen Qi 2014-01-13 02:12:44 UTC
To reproduce:
1. Add 'package-management' to IMAGE_FEATURES
2. Enable ipk package back-end
3. bitbake core-image-minimal
4. runqemu

After start-up, examine whether /etc/rcS.d/S99run-postinsts exists.

//Chen Qi
Comment 2 Chen Qi 2014-02-10 06:06:37 UTC
Module: openembedded-core.git
Branch: master
Commit: 08a2f48cb95256c6d44c8574949fabafe1466969
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=08a2f48cb95256c6d44c8574949fabafe1466969

//Chen Qi