Bug #165

fix firstboot by using custom rcS

Added by Hammel almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:16 Feb 2013
Priority:UrgentDue date:
Assignee:Hammel% Done:


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.

Associated revisions

Revision 80bb1c11
Added by Hammel over 7 years ago

RM #164, RM #165: Enabled bui-network-config and feh (image browser) along with associated dependent libraries.


#1 Updated by Hammel almost 8 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)

#2 Updated by Hammel almost 8 years ago

A custom rcK to handle shutdown on firstboot is also required.

#3 Updated by Hammel almost 8 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.

#4 Updated by Hammel almost 8 years ago

  • Severity changed from 03 - Medium to 01 - Critical

#5 Updated by Hammel almost 8 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.

Also available in: Atom PDF