-
-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from home-assistant/dev
Release 0.3
- Loading branch information
Showing
2,112 changed files
with
38,399 additions
and
27,089 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Raspberry PI | ||
|
||
## Serial console | ||
|
||
For access to terminal over serial console, add `console=ttyAMA0,115200` to `cmdline.txt`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Configuration | ||
|
||
## Automatic | ||
|
||
You can format a USB stick with FAT32 and name it with `hassos-config`. The layout could be look like: | ||
``` | ||
network/ | ||
modules/ | ||
known_hosts | ||
hassos-xy.rauc | ||
``` | ||
|
||
- On `network` folder can hold any kind of NetworkManager connections files. | ||
- The folder `modules` is for modules-load configuration files. | ||
- `known_hosts` file activate debug SSH access of port `22222`. | ||
- For firmware updates you can but the `hassos-*.rauc` OTA update they should be install. | ||
|
||
## Local | ||
|
||
### Bootargs | ||
|
||
You can edit or create a `cmdline.txt` into your boot partition. That will be read from our bootloader. | ||
|
||
### Kernel-Module | ||
|
||
The kernel module folder `/etc/modules-load.d` is persistent and you can add your config files there. See [Systemd modules load][systemd-modules]. | ||
|
||
|
||
[systemd-modules]: https://www.freedesktop.org/software/systemd/man/modules-load.d.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
source "$BR2_EXTERNAL_HASSIO_PATH/package/mingetty/Config.in" | ||
source "$BR2_EXTERNAL_HASSIO_PATH/package/hassio/Config.in" | ||
source "$BR2_EXTERNAL_HASSIO_PATH/package/libapparmor/Config.in" | ||
source "$BR2_EXTERNAL_HASSIO_PATH/package/apparmor/Config.in" | ||
source "$BR2_EXTERNAL_HASSOS_PATH/package/hassos/Config.in" | ||
source "$BR2_EXTERNAL_HASSOS_PATH/package/libapparmor/Config.in" | ||
source "$BR2_EXTERNAL_HASSOS_PATH/package/apparmor/Config.in" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
global linux.bootargs.dyn.root="root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd rootfstype=squashfs ro" | ||
|
||
mkdir -p /mnt/system | ||
mount -t squashfs /dev/disk0.hassos-system0 /mnt/system | ||
|
||
if [ -f "/mnt/system/boot/bzImage" ]; then | ||
global bootm.image="/mnt/system/boot/bzImage" | ||
else | ||
global bootm.image="/mnt/system/boot/zImage" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
global linux.bootargs.dyn.root="root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootfstype=squashfs ro" | ||
|
||
mkdir -p /mnt/system | ||
mount -t squashfs /dev/disk0.hassos-system1 /mnt/system | ||
|
||
if [ -f "/mnt/system/boot/bzImage" ]; then | ||
global bootm.image="/mnt/system/boot/bzImage" | ||
else | ||
global bootm.image="/mnt/system/boot/zImage" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
global linux.bootargs.base="" | ||
if [ -f /boot/cmdline.txt ]; then | ||
readf /boot/cmdline.txt global.linux.bootargs.base | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/sh | ||
|
||
global linux.bootargs.zram="zram.enabled=1 zram.num_devices=3" | ||
global linux.bootargs.apparmor="apparmor=1 security=apparmor" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Hass.io OS boot Menu: | ||
HassOS boot Menu: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
for i in /env/overlay/*.dtbo; do | ||
oftree -o $i | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# CONFIG_LOCALVERSION_AUTO is not set | ||
# CONFIG_CMD_VERSION is not set | ||
# CONFIG_TIMESTAMP is not set | ||
|
||
CONFIG_PROMPT="HassOS-boot:" | ||
CONFIG_CMDLINE_EDITING=y | ||
CONFIG_AUTO_COMPLETE=y | ||
CONFIG_MENU=y | ||
CONFIG_BOOTM_SHOW_TYPE=y | ||
CONFIG_BOOTM_OFTREE=y | ||
CONFIG_FLEXIBLE_BOOTARGS=y | ||
|
||
# CONFIG_PARTITION_DISK_DOS is not set | ||
CONFIG_PARTITION_DISK_EFI=y | ||
# CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE is not set | ||
# CONFIG_PARTITION_DISK_EFI_GPT_COMPARE is not set | ||
|
||
CONFIG_STATE=y | ||
CONFIG_STATE_DRV=y | ||
CONFIG_BOOTCHOOSER=y | ||
CONFIG_CMD_BOOT=y | ||
CONFIG_CMD_NV=y | ||
CONFIG_CMD_EXPORT=y | ||
CONFIG_CMD_GLOBAL=y | ||
CONFIG_CMD_BASENAME=y | ||
CONFIG_CMD_DIRNAME=y | ||
CONFIG_CMD_READLINK=y | ||
CONFIG_CMD_GETOPT=y | ||
CONFIG_CMD_MENUTREE=y | ||
CONFIG_CMD_TIMEOUT=y | ||
CONFIG_CMD_OFTREE=y | ||
CONFIG_CMD_STATE=y | ||
CONFIG_CMD_BOOTCHOOSER=y | ||
CONFIG_CMD_READF=y | ||
|
||
CONFIG_OFTREE=y | ||
CONFIG_OFTREE_OVERLAY=y | ||
|
||
CONFIG_DISK=y | ||
CONFIG_DISK_WRITE=y | ||
|
||
CONFIG_FS_FAT=y | ||
CONFIG_FS_FAT_WRITE=y | ||
CONFIG_FS_FAT_LFN=y | ||
CONFIG_FS_SQUASHFS=y | ||
CONFIG_LZ4_DECOMPRESS=y |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.