Files
dts-scripts/Makefile
Daniil Klimuk 6e2ba4b9ca add package managment
This commit adds package management functionality: downloading and
installing packages from Dasharo server. The packages are private, the
access is granted after entering DES credentials.

Additionally this commit reworks codebase a bit, to make it more clear.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
2024-07-22 16:45:05 +02:00

26 lines
899 B
Makefile

# SPDX-FileCopyrightText: 2024 3mdeb <contact@3mdeb.com>
#
# SPDX-License-Identifier: Apache-2.0
SBINDIR ?= /usr/sbin
SYSCONFDIR ?= /etc
install:
install -d $(DESTDIR)$(SBINDIR)
install -m 0755 include/dts-environment.sh $(DESTDIR)$(SBINDIR)
install -m 0755 include/dts-functions.sh $(DESTDIR)$(SBINDIR)
install -m 0755 include/dts-subscription.sh $(DESTDIR)$(SBINDIR)
install -m 0755 scripts/cloud_list $(DESTDIR)$(SBINDIR)
install -m 0755 scripts/dasharo-deploy $(DESTDIR)$(SBINDIR)
install -m 0755 scripts/dts $(DESTDIR)$(SBINDIR)
install -m 0755 scripts/dts-boot $(DESTDIR)$(SBINDIR)
install -m 0755 scripts/ec_transition $(DESTDIR)$(SBINDIR)
install -m 0755 reports/dasharo-hcl-report $(DESTDIR)$(SBINDIR)
install -m 0755 reports/touchpad-info $(DESTDIR)$(SBINDIR)
install -d $(DESTDIR)$(SYSCONFDIR)/profile.d
install -m 0755 dts-profile.sh $(DESTDIR)$(SYSCONFDIR)/profile.d