Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 09da09c

Browse files
Merge pull request #384 from zelahi/backport-plugins-dir-change
Merged with https://github.com/seemethere/unir Upstream-commit: 8489bbbc5e136fa67c6cfd0fde3934ef03235a1a Component: packaging
2 parents 5198aeb + a534ebd commit 09da09c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

components/packaging/deb/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include ../common.mk
22

33
CLI_DIR:=$(realpath $(CURDIR)/../../cli)
44
ENGINE_DIR:=$(realpath $(CURDIR)/../../engine)
5+
PLUGINS_DIR:=$(realpath $(CURDIR)/../plugins)
56
GITCOMMIT?=$(shell cd $(CLI_DIR) && git rev-parse --short HEAD)
67
STATIC_VERSION:=$(shell ../static/gen-static-ver $(ENGINE_DIR) $(VERSION))
78
GO_BASE_IMAGE=golang
@@ -123,7 +124,7 @@ sources/engine-image:
123124

124125
sources/plugin-installers.tgz: $(wildcard ../plugins/*)
125126
docker run --rm -i -w /v \
126-
-v $(shell readlink -e ../plugins):/plugins \
127+
-v $(PLUGINS_DIR):/plugins \
127128
-v $(CURDIR)/sources:/v \
128129
alpine \
129130
tar -C / -c -z -f /v/plugin-installers.tgz --exclude .git plugins

components/packaging/rpm/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include ../common.mk
22

33
CLI_DIR:=$(realpath $(CURDIR)/../../cli)
44
ENGINE_DIR:=$(realpath $(CURDIR)/../../engine)
5+
PLUGINS_DIR=$(realpath $(CURDIR)/../plugins)
56
GITCOMMIT=$(shell cd $(ENGINE_DIR) && git rev-parse --short HEAD)
67
STATIC_VERSION:=$(shell ../static/gen-static-ver $(ENGINE_DIR) $(VERSION))
78
GO_BASE_IMAGE=golang
@@ -119,7 +120,7 @@ rpmbuild/SOURCES/distribution_based_engine.json: rpmbuild/SOURCES/engine-image
119120

120121
rpmbuild/SOURCES/plugin-installers.tgz: $(wildcard ../plugins/*)
121122
docker run --rm -i -w /v \
122-
-v $(shell readlink -e ../plugins):/plugins \
123+
-v $(PLUGINS_DIR):/plugins \
123124
-v $(CURDIR)/rpmbuild/SOURCES:/v \
124125
alpine \
125126
tar -C / -c -z -f /v/plugin-installers.tgz --exclude .git plugins

0 commit comments

Comments
 (0)