| Age | Commit message (Collapse) | Author |
|
The rootfs (initial ramfs) cannot be pivot_root()ed. This change works
around that limitation by making / a bind mount of the rootfs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This does not require additional state, so mount it early.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is only used by the test suite. Autoroot is generally never used.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This removes printk noise after the system is unable to continue its
boot process, so the error message does not get scrolled away.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This increases output readability in the test suite.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This file is generated by the operating system. Pointing it to /system
requires ugly tricks to bind mount over it.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Legacy software like the X server hardcodes a FHS path to the shell.
Since Rosa OS does not mount over /, this has to be created during boot.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
It does not make sense to dispatch trivial errors in user-facing builds.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Useful during testing and debugging to leave / writable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This prevents the kernel from attempting to write to the device, even
though squashfs itself is read-only.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Useful for sharing a directory during integration testing.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This directory is not used by Rosa OS, but may be useful during testing.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This optionally halts the boot process to run the specified program.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This improves readability, especially on a small display.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Required by many programs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is significantly more readable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This happens during coldboot, before reporting gains persistent state.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Useful for handling most uevents.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This currently relies on a trusted bootloader to determine the boot device.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The earlyinit and mbf program are not covered by the compatibility promise, so specify that here.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The default search paths cannot be configured, configuring them here is most sound for now.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
The proposal for merging both init programs was unanimously accepted, so this is set up here alongside devtmpfs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
These are set by the bootloader.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This establishes an environment where devtmpfs is mounted, and if the kernel fails to set up console, 1 and 2 is pointed at /dev/kmsg.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|