Fix rebuilding the initfs recipe using r.initfs as opposed to cr.initfs

Without this when rebuilding it will try to remove symlinks created by
the cookbook that have been replaced with actual directories in the
previous build.
This commit is contained in:
bjorn3 2025-03-01 22:07:56 +01:00
parent 6e627f4d7e
commit a7bd20fe95

View File

@ -12,6 +12,7 @@ dependencies = [
script = """
INITFS_RM_BINS='redoxfs-ar redoxfs-mkfs'
rm -r "${COOKBOOK_BUILD}/initfs"
mkdir -p "${COOKBOOK_BUILD}/initfs/etc"
cp -r "${COOKBOOK_SYSROOT}/"* "${COOKBOOK_BUILD}/initfs"