filesystem: update to 3.7

This commit is contained in:
Tim Biermann 2021-10-19 19:28:14 +02:00
parent e1bd1a6d15
commit f63f0b9f1d
2 changed files with 10 additions and 9 deletions

View File

@ -61,8 +61,7 @@ drwxrwxrwt root/root var/lock/
drwxr-xr-x root/root var/log/
drwxr-xr-x root/root var/log/old/
lrwxrwxrwx root/root var/mail -> spool/mail
drwxr-xr-x root/root var/run/
-rw-r--r-- root/root var/run/utmp (EMPTY)
lrwxrwxrwx root/root var/run -> ../run/
drwxr-xr-x root/root var/spool/
drwxrwxrwt root/root var/spool/mail/
drwxrwxrwt root/root var/tmp/

View File

@ -4,7 +4,7 @@
name=filesystem
version=3.6
release=2
release=90
source=(issue motd shells group passwd shadow securetty fstab mime.types)
build() {
@ -36,8 +36,9 @@ build() {
install -d $PKG/var/lib/pkg
install -d $PKG/var/log
install -d $PKG/var/log/old
install -d $PKG/var/run
touch $PKG/var/run/utmp
ln -s ../run/ $PKG/var/run
#can't be in the Pkgfile anymore
#touch $PKG/var/run/utmp
install -d $PKG/var/spool
install -d $PKG/var/ftp
install -d $PKG/var/www
@ -53,8 +54,8 @@ build() {
install -d -m 1777 $PKG/dev/shm
# /dev
mknod $PKG/dev/console c 5 1
chmod 0600 $PKG/dev/console
#mknod $PKG/dev/console c 5 1
#chmod 0600 $PKG/dev/console
# /etc
install -m 0644 issue $PKG/etc
@ -69,7 +70,7 @@ build() {
ln -s /proc/self/mounts $PKG/etc/mtab
# /usr/bin/crux
cat > $PKG/usr/bin/crux << EOF
cat > $PKG/usr/bin/crux << EOF
#!/bin/sh
echo "CRUX version $version"
@ -78,8 +79,9 @@ echo "CRUX version $version"
EOF
chmod 755 $PKG/usr/bin/crux
# /etc/os-release
cat > $PKG/etc/os-release << EOF
cat > $PKG/etc/os-release << EOF
NAME=CRUX
VERSION="$version"
ID=crux