forked from zaclys/searxng
Merge pull request #2399 from return42/fix-lxc
[fix] determine path to makefile.lxc in a LXC
This commit is contained in:
commit
72d2bb2289
|
@ -20,7 +20,7 @@ lxc_set_suite_env
|
||||||
|
|
||||||
LXC_HOST_PREFIX="${LXC_HOST_PREFIX:-test}"
|
LXC_HOST_PREFIX="${LXC_HOST_PREFIX:-test}"
|
||||||
|
|
||||||
# where all folders from HOST are mounted
|
# Location in the container where all folders from HOST are mounted
|
||||||
LXC_SHARE_FOLDER="/share"
|
LXC_SHARE_FOLDER="/share"
|
||||||
LXC_REPO_ROOT="${LXC_SHARE_FOLDER}/$(basename "${REPO_ROOT}")"
|
LXC_REPO_ROOT="${LXC_SHARE_FOLDER}/$(basename "${REPO_ROOT}")"
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
ifeq (,$(wildcard /.lxcenv.mk))
|
ifeq (,$(wildcard /.lxcenv.mk))
|
||||||
PHONY += lxc-activate lxc-purge
|
PHONY += lxc-activate lxc-purge
|
||||||
lxc-activate:
|
lxc-activate:
|
||||||
@$(MAKE) -s -f /share/searx/utils/makefile.lxc lxc-activate
|
@$(MAKE) -s -f "$$(dirname $(abspath $(lastword $(MAKEFILE_LIST))))/makefile.lxc" lxc-activate
|
||||||
lxc-purge:
|
lxc-purge:
|
||||||
$(Q)rm -rf ./lxc
|
$(Q)rm -rf ./lxc
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue