summaryrefslogtreecommitdiff
path: root/Makefile
blob: 774d41b76e21b0afd74e3d335466a5b6a3eb9fa0 (plain)
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
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 -ar xi/s6/skel $(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/                                       

install-mkinitramfs: mkinitrd/mkinitramfs.sh mkinitrd/initramfs-init.sh
	install -m755 mkinitrd/mkinitramfs.sh ${DESTDIR}${PREFIX}/bin/mkinitramfs
	install -m755 mkinitrd/initramfs-init.sh ${DESTDIR}${PREFIX}/bin/initramfs-init