Reject invalid native protobuf cache

This commit is contained in:
root
2026-05-01 14:09:50 +00:00
parent fa0162eff2
commit dac5bbedc6
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -23,5 +23,7 @@ define $(package)_stage_cmds
endef
define $(package)_postprocess_cmds
test -x bin/protoc || \
(echo "ERROR: native_protobuf staged without bin/protoc" && find . -maxdepth 3 -type f -o -type d && exit 1) && \
chmod +x bin/protoc
endef