mirror of
https://github.com/Dasharo/dts-scripts.git
synced 2026-06-13 19:16:21 -07:00
Merge pull request #155 from WuXieSec/fix/dts-config-ref-install-variable
build: support DTS_CONFIGS_REF override during install Relate to this PR: https://github.com/Dasharo/meta-dts/pull/323 .
This commit is contained in:
@@ -4,11 +4,13 @@
|
||||
|
||||
SBINDIR ?= /usr/sbin
|
||||
SYSCONFDIR ?= /etc
|
||||
DTS_CONFIGS_REF ?= refs/heads/main
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)$(SBINDIR)
|
||||
|
||||
install -m 0755 include/dts-environment.sh $(DESTDIR)$(SBINDIR)
|
||||
sed -i "s|refs/heads/main|$(DTS_CONFIGS_REF)|g" $(DESTDIR)$(SBINDIR)/dts-environment.sh
|
||||
install -m 0755 include/dts-functions.sh $(DESTDIR)$(SBINDIR)
|
||||
install -m 0755 include/dts-subscription.sh $(DESTDIR)$(SBINDIR)
|
||||
install -m 0755 include/hal/dts-hal.sh $(DESTDIR)$(SBINDIR)
|
||||
|
||||
Reference in New Issue
Block a user