Skip to content

Commit

Permalink
add OCCU_POST_PATCH_FIXUP to remove empty non-dot files so that our
Browse files Browse the repository at this point in the history
webui patches are able to remove entire files by generating empty files.
  • Loading branch information
jens-maus committed Nov 17, 2024
1 parent 43bb04c commit a917763
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildroot-external/package/occu/occu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ define OCCU_WRAP_WEBUI_JS
endef
OCCU_POST_PATCH_HOOKS += OCCU_WRAP_WEBUI_JS

define OCCU_POST_PATCH_FIXUP
find $(@D) -type f -not -name '.?*' -empty -print -delete
endef
OCCU_POST_PATCH_HOOKS += OCCU_POST_PATCH_FIXUP

define OCCU_USERS
- -1 hm -1 * - - - homematic access group
- -1 status -1 * - - - status access group
Expand Down

0 comments on commit a917763

Please sign in to comment.