Skip to content

Commit

Permalink
rootfs: fix USE_APK detection
Browse files Browse the repository at this point in the history
Due to missing quotes the script would wrongly assume APK to be enabled
and don't run post install scripts, breaking pretty much everything.

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed May 18, 2024
1 parent 99636d4 commit 52a225c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rootfs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ define prepare_rootfs
@mkdir -p $(1)/var/lock
@( \
cd $(1); \
if [ -n $(CONFIG_USE_APK) ]; then \
if [ -n "$(CONFIG_USE_APK)" ]; then \
$(STAGING_DIR_HOST)/bin/tar -xf ./lib/apk/db/scripts.tar --wildcards "*.post-install" -O > script.sh; \
chmod +x script.sh; \
IPKG_INSTROOT=$(1) $$(command -v bash) script.sh; \
Expand Down

0 comments on commit 52a225c

Please sign in to comment.