From a7bd20fe95c0ed670477b4cc47f75f93775dcbc9 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sat, 1 Mar 2025 22:07:56 +0100 Subject: [PATCH] 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. --- recipes/core/initfs/recipe.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/core/initfs/recipe.toml b/recipes/core/initfs/recipe.toml index b24de95c..dc0ffddf 100644 --- a/recipes/core/initfs/recipe.toml +++ b/recipes/core/initfs/recipe.toml @@ -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"