Go to file
Dustin 20b85fe8e2 Fix setting overlay directory timestamps
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.
2023-03-12 12:47:36 -05:00
overlay Store SSH host keys in /var/lib/ssh 2023-03-12 12:47:36 -05:00
patches/ebuilds/sys-boot/grub wip: build u-boot with Portage 2023-03-12 12:47:36 -05:00
portage wip: build u-boot with Portage 2023-03-12 12:47:36 -05:00
.gitignore Use Portage config directly from src dir 2023-03-12 12:47:36 -05:00
.gitmodules wip: build u-boot with Portage 2023-03-12 12:47:36 -05:00
Makefile build: Trigger rebuild on overlay changes 2023-03-12 12:47:36 -05:00
README.md Initial commit 2023-02-13 23:24:36 -06:00
build-all.sh Initial commit 2023-02-13 23:24:36 -06:00
build-grub.sh Support external build directory 2023-03-03 12:36:15 -06:00
build-host-tools.sh Use Portage config directly from src dir 2023-03-12 12:47:36 -05:00
build-kernel.sh Use Portage config directly from src dir 2023-03-12 12:47:36 -05:00
build-rootfs.sh Fix setting overlay directory timestamps 2023-03-12 12:47:36 -05:00
build-squashfs.sh Support external build directory 2023-03-03 12:36:15 -06:00
build-uboot.sh Support external build directory 2023-03-03 12:36:15 -06:00
build-update.sh Support external build directory 2023-03-03 12:36:15 -06:00
build.packages wip: build u-boot with Portage 2023-03-12 12:47:36 -05:00
build.sh Use Portage config directly from src dir 2023-03-12 12:47:36 -05:00
busybox.symlinks Enable SELinux 2023-03-12 12:34:12 -05:00
config Enable SELinux 2023-03-12 12:34:12 -05:00
config.txt Initial commit 2023-02-13 23:24:36 -06:00
genimage.cfg Support external build directory 2023-03-03 12:36:15 -06:00
genimage.sh Support external build directory 2023-03-03 12:36:15 -06:00
grub.cfg Initial commit 2023-02-13 23:24:36 -06:00
host-tools.packages Enable SELinux 2023-03-12 12:34:12 -05:00
install-update.sh install-update: Fix error message in die function 2023-03-08 11:12:00 -06:00
install.packages Simplify specifying packages to build/install 2023-03-08 11:12:00 -06:00
installonly.packages Simplify specifying packages to build/install 2023-03-08 11:12:00 -06:00
linux.config Enable SELinux 2023-03-12 12:34:12 -05:00
ocivm.sh vm-build: Add script to build in a microvm 2023-03-08 11:12:00 -06:00
patch-uboot.sh uboot: Apply patches outside container 2023-02-13 23:24:36 -06:00
podman-build.sh Add start-container.sh script 2023-02-21 09:58:18 -06:00
post-build.sh wip: build u-boot with Portage 2023-03-12 12:47:36 -05:00
prepare.sh Use Portage config directly from src dir 2023-03-12 12:47:36 -05:00
setup-local-repo.sh wip: build u-boot with Portage 2023-03-12 12:47:36 -05:00
squashfs.exclude Enable SELinux 2023-03-12 12:34:12 -05:00
start-container.sh Add start-container.sh script 2023-02-21 09:58:18 -06:00
vm-build.sh vm-build: Add script to build in a microvm 2023-03-08 11:12:00 -06:00

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