1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-21 18:49:46 +01:00

Bump init-scripts version

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-09-17 23:06:23 +02:00
parent baacba67b0
commit c2b95be3fb
7 changed files with 12 additions and 14 deletions

View file

@ -1 +0,0 @@
ip 192.168.0.1/24

View file

@ -1 +0,0 @@
ip 192.168.1.1/24

View file

@ -0,0 +1,2 @@
addr add 192.168.0.1/24 dev port0
addr add 192.168.1.1/24 dev port1

View file

@ -1 +0,0 @@
ip 192.168.0.1/24

View file

@ -0,0 +1 @@
addr add 192.168.0.1/24 dev wlan0

View file

@ -1,8 +1,8 @@
VERSION="3"
VERSION="4"
SRCDIR="init-scripts-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="http://infraroot.at/pygos"
SHA256SUM="529f91c59cecda5bbe954e73bbddddaa22e80ac49e85b7bb785c3cee2397f070"
SHA256SUM="dbfc67b01376d6607c69bc845c31e2f792f20773c829973ae6bfb57ac30699ae"
DEPENDS="toolchain"
prepare() {
@ -87,14 +87,11 @@ deploy() {
echo "file etc/sysctl.conf 0644 0 0" >> "$PKGDEPLOYDIR/$PKGNAME.files"
fi
svc=$(file_path_override "interfaces")
svc=$(file_path_override "netcfg_static")
if [ ! -z "$svc" ]; then
for svc in $svc/*; do
[ -f "$svc" ] || continue
cp "$svc" "$PKGDEPLOYDIR/etc/netcfg/"
svc=$(basename $svc)
echo "file etc/netcfg/$svc 0644 0 0" >> "$PKGDEPLOYDIR/$PKGNAME.files"
done
mkdir -p "$PKGDEPLOYDIR/netcfg"
cp "$svc" "$PKGDEPLOYDIR/netcfg/static"
echo "file etc/netcfg/static 0644 0 0" >> "$PKGDEPLOYDIR/$PKGNAME.files"
fi
for svc in $GETTY_TTY; do

View file

@ -29,13 +29,13 @@ slink etc/init.d/sysinit 0777 0 0 /share/init/sysinit
slink etc/init.d/tmpfs 0777 0 0 /share/init/tmpfs
slink etc/init.d/tmpfsrun 0777 0 0 /share/init/tmpfsrun
slink etc/init.d/tmpfsvar 0777 0 0 /share/init/tmpfsvar
slink etc/init.d/unmount@reboot 0777 0 0 /share/init/unmount
slink etc/init.d/unmount@shutdown 0777 0 0 /share/init/unmount
slink etc/init.d/usyslogd 0777 0 0 /share/init/usyslogd
slink etc/init.d/vfs 0777 0 0 /share/init/vfs
file etc/netcfg/ifrename 0644 0 0
file etc/initd.env 0644 0 0
file etc/modules 0644 0 0
file lib/libexec/init/devfs.sh 0755 0 0
file lib/libexec/init/ifcfg.sh 0755 0 0
file lib/libexec/init/ifdown.sh 0755 0 0
file lib/libexec/init/ifrename.sh 0755 0 0
file lib/libexec/init/modules_load.sh 0755 0 0
@ -73,5 +73,6 @@ file share/init/tmpfs 0644 0 0
file share/init/tmpfsrun 0644 0 0
file share/init/tmpfsvar 0644 0 0
file share/init/unbound 0644 0 0
file share/init/unmount 0644 0 0
file share/init/usyslogd 0644 0 0
file share/init/vfs 0644 0 0