fix firstboot by using custom rcS
|Status:||Closed||Start date:||16 Feb 2013|
|Category:||04 - Root File System|
|Target version:||0.5.0 - Beta 1|
|Severity:||01 - Critical|
Firstboot is too klunky by forcing all scripts to test for stamp files. To fix this, a custom rcS can be used that does the stamp file test and runs firstboot manually and then exits without running the other scripts. That way we don't need copies of all the init scripts modified to call the pibox.functions script.
#1 Updated by Hammel over 7 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
The following scripts need to be removed rom the skeleton once the custom rcS is added:
S11firstboot -> move to firstboot (remove S11 prefix)
#3 Updated by Hammel over 7 years ago
- % Done changed from 10 to 30
My Pi now has a working collection of scripts. I need to migrate the ones I'm keeping to my sandbox, then delete the ones that are no longer needed and add the new ones
Once my sandbox is complete I need to reverify the building of the rootfs and test again. If working, then I can check in the changes and close this task.
#5 Updated by Hammel over 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 30 to 100
Add rcS/rcK to skeleton to cleanly handle firstboot. Move S11firstboot
to firstboot. Remove skeleton init scripts that had been added with old
firstboot support since that support isn't necessary anymore.
Updated scripts that still need to be in skeleton to remove old firstboot support.
Scripts have been tested on hardware after rebuilding the rootfs and perform the much cleaned up firstboot process.