Skip to content

Commit d024164

Browse files
authored
Merge pull request #460 from MrAnno/fix-rpmbuild
Fix rpm build
2 parents dc999d5 + 8d6b460 commit d024164

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbld/rules

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CONTAINER_REGISTRY ?= ghcr.io/axoflow
2727
MODE ?= snapshot
2828
VERSION ?= $(shell MODE=${MODE} scripts/version.sh)
2929
DOCKER_RUN_ARGS=-e USER_NAME_ON_HOST=$(shell whoami) \
30-
--network=host --privileged \
30+
--network=host \
3131
--ulimit nofile=1024:1024 \
3232
-v $(ROOT_DIR):/source \
3333
-v $(DBLD_DIR):/dbld \
@@ -55,7 +55,7 @@ CONFIGURE_OPTS=--enable-debug --enable-manpages --with-python=3 --prefix=/instal
5555
DBLD_RULES=$(MAKE) --no-print-directory -f $(DBLD_DIR)/rules
5656

5757
DOCKER_INTERACTIVE=$(shell if tty -s; then echo "-ti"; else echo "-i"; fi)
58-
DOCKER_SHELL=$(DOCKER) run $(DOCKER_RUN_ARGS) --rm $(DOCKER_INTERACTIVE) ${CONTAINER_REGISTRY}/axosyslog-dbld-$* /dbld/shell $(if $(SHELL_COMMAND),"$(SHELL_COMMAND)",bash)
58+
DOCKER_SHELL=$(DOCKER) run $(DOCKER_RUN_ARGS) --privileged --rm $(DOCKER_INTERACTIVE) ${CONTAINER_REGISTRY}/axosyslog-dbld-$* /dbld/shell $(if $(SHELL_COMMAND),"$(SHELL_COMMAND)",bash)
5959

6060
-include $(if $(RULES_CONF),$(RULES_CONF),$(DBLD_DIR)/rules.conf)
6161

0 commit comments

Comments
 (0)