The default Home Assistant configuration does not allow running a reverse proxy in front of the application. To enable this, the `use_x_forwarded_for` and `trusted_proxies` options have to be set. Since we want `/var/lib/homeassistant` to be a Btrfs subvolume, we can't simply include the necessary files in the correct location in the rootfs image. Instead, we must define "copy tree" (`C`) actions for `systemd-tmpfiles` to copy them from `/usr/share/factory`. Unfortunately, `systemd-tmpfiles` considers `v` and `C` actions conflicting, and thus will not copy the directory contents recursively. Each file has to be listed explicitly. |
||
---|---|---|
overlay | ||
patches/ebuilds | ||
repos | ||
yellow | ||
.gitignore | ||
.gitmodules | ||
Makefile | ||
README.md | ||
build-grub.sh | ||
build-host-tools.sh | ||
build-kernel.sh | ||
build-rootfs.sh | ||
build-squashfs.sh | ||
build-update.sh | ||
build.packages | ||
build.sh | ||
genimage.cfg | ||
genimage.sh | ||
grub.cfg | ||
host-tools.packages | ||
install-update.sh | ||
install.packages | ||
ocivm.sh | ||
podman-build.sh | ||
post-build.sh | ||
prepare.sh | ||
rebuild-pkg.sh | ||
setup-local-repo.sh | ||
squashfs.exclude | ||
start-container.sh | ||
vm-build.sh |
README.md
Errors
SWIOTLB Buffer
OF: reserved mem: failed to allocate memory for node … Can not allocate SWIOTLB buffer earlier and can't now provide you with the DMA bounce buffer
Ensure start_x=1
is in config.txt
and start_file
/fixup_file
are not
specified.
U-Boot: Overwrite Reserved Memory
** Reading file would overwrite reserved memory **
Set CONFIG_LMB_MAX_REGIONS=16
in u-boot/.config