Project

General

Profile

Actions

Bug #165

closed

fix firstboot by using custom rcS

Added by Hammel about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
04 - Root File System
Target version:
Start date:
16 Feb 2013
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

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.

Actions #1

Updated by Hammel about 11 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

Actions #2

Updated by Hammel about 11 years ago

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

Actions #3

Updated by Hammel about 11 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.

Actions #4

Updated by Hammel about 11 years ago

  • Severity changed from 03 - Medium to 01 - Critical
Actions #5

Updated by Hammel about 11 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.

Actions

Also available in: Atom PDF