blob: ff9704b2087496bbeb5761756cf6268a459b2de6 (
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
29
30
|
PREFIX=/usr
DESTDIR=
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
|