summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
commitea4267fac55c7d8a6093a6b03ff0e9c795786d3e (patch)
tree04905981b9d5ad7a4710c472faf920f3c5e28375 /Makefile
parentefee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (diff)
reorganised
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..06ef4f8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+
+
+bootscripts:
+ mkdir -p $(DESTDIR)/etc/s6/db
+ mkdir -p $(DESTDIR)/usr/bin
+ mkdir -p $(DESTDIR)/sbin
+ mkdir -p $(DESTDIR)/lib/services
+ cp -ar xi/s6/sv $(DESTDIR)/etc/s6/
+ cp -a xi/vconsole.conf $(DESTDIR)/etc/
+ install -m755 xi/bin/modules-load $(DESTDIR)/usr/bin/
+ install -m755 xi/bin/tmpfiles $(DESTDIR)/usr/bin/
+ install -m755 xi/s6/base/bin/* $(DESTDIR)/sbin/
+ install -m755 xi/bin/ifup $(DESTDIR)/sbin/
+ install -m755 xi/bin/ifdown $(DESTDIR)/sbin/
+ cp -ar xi/s6/scripts $(DESTDIR)/etc/s6/
+ install -m755 xi/services/dhcpcd $(DESTDIR)/lib/services
+ install -m755 xi/services/ipv4-static $(DESTDIR)/lib/services
+ install -m755 xi/services/wpa $(DESTDIR)/lib/services
+
+utmps:
+ mkdir -p $(DESTDIR)/var/log/utmps
+ mv $(DESTDIR)/var/log/wtmp /var/log/utmps/
+