File: 0001-debian-add-install-debian-target.patch

package info (click to toggle)
asahi-scripts 20250713-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 316 kB
  • sloc: sh: 860; makefile: 117
file content (29 lines) | stat: -rw-r--r-- 907 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Tobias Heider <me@tobhe.de>
Date: Sun, 12 Feb 2023 01:23:08 +0100
Subject: debian: add install-debian target

Refactor install-arch, move the systemd services, first-boot and update-grub to
new install-boot target. Only install what is needed on Debian.
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c1a9eb1..beed504 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PREFIX=/usr/local
+PREFIX=/usr
 SYS_PREFIX=$(PREFIX)
 CONFIG_DIR=/etc/default
 BIN_DIR=$(PREFIX)/bin
@@ -71,6 +71,8 @@ install-arch: install install-mkinitcpio install-macsmc-battery install-udev-hwd
 
 install-fedora: install install-dracut install-macsmc-battery install-udev-hwdb
 
+install-debian: install install-dracut install-macsmc-battery
+
 uninstall:
 	rm -f $(addprefix $(DESTDIR)$(BIN_DIR)/,$(SCRIPTS))
 	rm -rf $(DESTDIR)$(PREFIX)/share/asahi-scripts