You've already forked dts-scripts
mirror of
https://github.com/Dasharo/dts-scripts.git
synced 2026-06-13 19:16:21 -07:00
build: allow overriding DTS config ref at install time
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