Documentation ¶
Overview ¶
Package init implements early userspace logic in go, replacing the functionality of initramfs's /init. It does the normal things such as decoding
real_root=UUID=nnnnnn
but also checks that the unit can/should boot in normal mode. It will display a menu on the attached LCD. This menu allows the user to initiate factory restore to the latest image, to a particular image, etc.
Impacted by build tags mfg, release, erase_integ.
Index ¶
Constants ¶
View Source
const ( Choice_resume cfa.Choice = iota Choice_poweroff Choice_FR_latest Choice_FR_original Choice_FR_choose Choice_erase CHOICE_LAST )
Variables ¶
This section is empty.
Functions ¶
func CreateDirs ¶
func CreateDirs()
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package consts contains init-related consts so they can be shared outside of pkg init.
|
Package consts contains init-related consts so they can be shared outside of pkg init. |
Package housekeeping works with lists of tasks to be performed in the future.
|
Package housekeeping works with lists of tasks to be performed in the future. |
Provides feedback on the LCD that the boot is progressing.
|
Provides feedback on the LCD that the boot is progressing. |
Click to show internal directories.
Click to hide internal directories.