Using `tar` to copy files and directories from the overlay directory to the destination root preserves their timestamps. This is not really desirable, particularly for directories, because it may result in the destination paths appearing older than the build. This is especially problematic for `/usr`, since its timestamps are important for systemd units that use `ConditionNeedsUpdate` settings. To ensure the timestamps are set correctly, we now use `rsync` to copy the overlay, with the `-O` (`--omit-dir-times`) argument, to avoid changing the timestamps of directories. Additionally, we explicitly update the timestamp of `/usr` to ensure that every new build triggers the "needs update" condition. |
||
---|---|---|
overlay | ||
patches/ebuilds/sys-boot/grub | ||
portage | ||
.gitignore | ||
.gitmodules | ||
Makefile | ||
README.md | ||
build-all.sh | ||
build-grub.sh | ||
build-host-tools.sh | ||
build-kernel.sh | ||
build-rootfs.sh | ||
build-squashfs.sh | ||
build-uboot.sh | ||
build-update.sh | ||
build.packages | ||
build.sh | ||
busybox.symlinks | ||
config | ||
config.txt | ||
genimage.cfg | ||
genimage.sh | ||
grub.cfg | ||
host-tools.packages | ||
install-update.sh | ||
install.packages | ||
installonly.packages | ||
linux.config | ||
ocivm.sh | ||
patch-uboot.sh | ||
podman-build.sh | ||
post-build.sh | ||
prepare.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