From ea4267fac55c7d8a6093a6b03ff0e9c795786d3e Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 23:14:41 +0000 Subject: reorganised --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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/ + -- cgit v1.2.1