1.4 KiB
1.4 KiB
Building
Linux / make-compatible systems
Run:
make build
Optional variables:
-
ARCH=cctBuild using the cct bootloaderocBuild using the oc bootloader
-
DEV=1- Builds in development mode
- Bootloader does not start automatically on system startup
If DEV is not specified:
- Default is release mode
- Bootloader starts automatically on system startup
Examples
make build ARCH=cct
make build ARCH=oc DEV=1
Windows / Any system with Python 3.7+
Run:
python build.py build
Optional arguments:
-
--arch {cct|oc}Select bootloadercctUse the cct bootloaderocUse the oc bootloader
-
--dev- Development mode
- Bootloader does not start automatically. You must run
eepromin CraftOS to start Hyperion.
-
--release(default)- Release mode
- Bootloader starts automatically
-
--makeuser username passwordMakes a username upon startup. Only works for--devbuilds.--makeuser root rootpass
Makes the root account already exist on first boot with rootpass as password
--makeuser root rootpass --makeuser alice alicepass
Makes the root account and alice account already exist on first boot with defined passwords
Examples
python build.py build --arch cct
python build.py build --arch oc --dev