Skip to content

Commit

Permalink
Makefile : add build option to disable remote access
Browse files Browse the repository at this point in the history
add REMOTE_ACCESS_DISABLED build option to disable remote access
by including the remote_access_disabled file in the config image.

Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
  • Loading branch information
shjala committed Oct 10, 2023
1 parent d0b7bfa commit 43e8086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ DEVICETREE_DTB_amd64=
DEVICETREE_DTB_arm64=$(DIST)/dtb/eve.dtb
DEVICETREE_DTB=$(DEVICETREE_DTB_$(ZARCH))

CONF_FILES=$(shell ls -d $(CONF_DIR)/*)
CONF_FILES=$(if $(strip $(REMOTE_ACCESS_DISABLED)),$(shell ls -d $(CONF_DIR)/*), $(shell ls -d $(CONF_DIR)/* | grep -v 'remote_access_disabled'))
PART_SPEC=efi conf imga

# parallels settings
Expand Down
1 change: 1 addition & 0 deletions conf/remote_access_disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
true

0 comments on commit 43e8086

Please sign in to comment.