usbarmory-base: remove package.
This commit is contained in:
parent
f16426c603
commit
b1cd19d4f1
4 changed files with 0 additions and 41 deletions
|
@ -1,9 +0,0 @@
|
|||
case "$ACTION" in
|
||||
post)
|
||||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
||||
mkdir -p etc/runit/runsvdir/default/
|
||||
ln -sf /etc/sv/sshd etc/runit/runsvdir/default/
|
||||
ln -sf /etc/sv/ntpd etc/runit/runsvdir/default/
|
||||
ln -sf /etc/sv/dhcpcd-usb0 etc/runit/runsvdir/default/
|
||||
;;
|
||||
esac
|
|
@ -1,5 +0,0 @@
|
|||
# Static IP configuration.
|
||||
interface usb0
|
||||
static ip_address=10.0.0.1
|
||||
static routers=10.0.0.2
|
||||
static domain_name_servers=8.8.8.8 8.8.4.4
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
exec dhcpcd ${OPTS:=-f /etc/dhcpcd-usb0.conf} 1>&2
|
|
@ -1,24 +0,0 @@
|
|||
# Template file for 'usbarmory-base'
|
||||
pkgname=usbarmory-base
|
||||
version=1.0
|
||||
revision=3
|
||||
short_desc="Void Linux USBarmory base files"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Public Domain"
|
||||
homepage="http://www.voidlinux.org"
|
||||
|
||||
archs="armv7l*"
|
||||
depends="virtual?ntp-daemon usbarmory-u-boot usbarmory-kernel"
|
||||
|
||||
do_install() {
|
||||
# load LED, CI HDRC i.MX USB binding, and g_ether driver
|
||||
vmkdir usr/lib/modules-load.d
|
||||
vmkdir usr/lib/modprobe.d
|
||||
echo 'options g_ether use_eem=0 dev_addr=1a:55:89:a2:69:41 host_addr=1a:55:89:a2:69:42' > ${DESTDIR}/usr/lib/modprobe.d/g_ether.conf
|
||||
for m in ledtrig_heartbeat ci_hdrc_imx g_ether; do
|
||||
echo "$m" > ${DESTDIR}/usr/lib/modules-load.d/${m%% *}.conf
|
||||
done
|
||||
|
||||
vconf ${FILESDIR}/dhcpcd-usb0.conf
|
||||
vsv dhcpcd-usb0
|
||||
}
|
Loading…
Reference in a new issue