Bug #165
closedfix firstboot by using custom rcS
100%
Description
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.
Updated by Hammel almost 12 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)
S13portmap
S30dbus
S49ntp
S50avahi-daemon
S50sshd
S91smb
S99firstbootcomplete
pibox.functions
Updated by Hammel almost 12 years ago
A custom rcK to handle shutdown on firstboot is also required.
Updated by Hammel almost 12 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.
Updated by Hammel almost 12 years ago
- Severity changed from 03 - Medium to 01 - Critical
Updated by Hammel almost 12 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.