Browse Source

Update several packages, various fixes to compilation, various boot fixes

odin
Nathan Fisher 4 weeks ago
parent
commit
2f9598382b
  1. 6
      Makefile
  2. 8
      distfiles/Makefile
  3. 23
      firmware/Makefile
  4. 43
      include/mk/versions.mk
  5. 10438
      kernel/config-x86-mine
  6. 9907
      kernel/config-x86-mine.old
  7. 0
      kernel/config-x86_64-5.19.4.config
  8. 9952
      kernel/config-x86_64-mine
  9. 1
      toolchain/glibc/Makefile
  10. 9
      toolchain/glibc/glibc-ldd-bash-in.patch
  11. 1
      world/Makefile
  12. 10
      world/gawk/Makefile
  13. 24
      world/libcap/libcap-sysroot.patch
  14. 3
      world/man-pages/Makefile
  15. 22
      world/man-pages/man-pages-destdir.patch
  16. 1
      world/psmisc/Makefile
  17. 55
      world/psmisc/psmisc-malloc.patch
  18. BIN
      world/s6-scripts/etc/s6/rc/compiled/db
  19. 0
      world/s6-scripts/etc/s6/rc/compiled/lock
  20. BIN
      world/s6-scripts/etc/s6/rc/compiled/n
  21. BIN
      world/s6-scripts/etc/s6/rc/compiled/resolve.cdb
  22. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty1/run
  23. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty2/run
  24. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty3/run
  25. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty4/run
  26. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty5/run
  27. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty6/run
  28. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/autofilled
  29. 0
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/gid/0/allow
  30. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/gid/0/env
  31. 0
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/allow
  32. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP
  33. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST
  34. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX
  35. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP
  36. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX
  37. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/self
  38. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/notification-fd
  39. 17
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/run
  40. 0
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/data/rules/gid/0/allow
  41. 0
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/data/rules/uid/0/allow
  42. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/data/rules/uid/self
  43. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/notification-fd
  44. 8
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/run
  45. 1
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-log/notification-fd
  46. 3
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-log/run
  47. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-log/run.user
  48. 5
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-srv/run
  49. 3
      world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-srv/run.user
  50. 4
      world/usr.bin/Makefile

6
Makefile

@ -69,7 +69,7 @@ $(build)/.built: $(tooldir)/.built $(build)/.skeleton.built
find $(build)/lib $(build)/usr/lib $(build)/usr/lib64 -name '*.la' -delete
touch $@
buildkernel: $(build)/.kernel.built
buildkernel: $(build)/.kernel.built $(build)/.firmware.built
$(info $(grn)=== Kernel build complete ===$(reset))
.PHONY: buildkernel
@ -78,6 +78,10 @@ $(build)/.kernel.built:
$(MAKE) -C kernel
touch $@
$(build)/.firmware.built:
$(MAKE) -C firmware
touch $@
strip: $(build)/.stripped
.PHONY: strip

8
distfiles/Makefile

@ -63,6 +63,7 @@ libressl-${libressl_version}.tar.gz \
libtool-${libtool_version}.tar.xz \
libz-${libz_version}.tar.gz \
linux-${linux_version}.tar.xz \
linux-firmware-$(linux-firmware_version).tar.xz \
m4-${m4_version}.tar.xz \
make-${make_version}.tar.gz \
mandoc-${mandoc_version}.tar.gz \
@ -375,6 +376,11 @@ linux: linux-${linux_version}.tar.xz
linux-${linux_version}.tar.xz:
wget -c ${kernel}/kernel/v5.x/$@
linux-firmware: linux-formware-$(linux-firmware_version).tar.xz
linux-firmware-$(linux-firmware_version).tar.xz:
wget -c https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/$@
linux_rpi: linux_rpi-${linux_rpi_version}.tar.xz
linux_rpi-${linux_rpi_version}.tar.xz:
@ -519,7 +525,7 @@ sed-${sed_version}.tar.xz:
shadow: shadow-${shadow_version}.tar.xz
shadow-${shadow_version}.tar.xz:
wget -c ${github}/shadow-maint/shadow/releases/download/v${shadow_version}/$@
wget -c ${github}/shadow-maint/shadow/releases/download/${shadow_version}/$@
skalibs: skalibs-${skalibs_version}.tar.gz

23
firmware/Makefile

@ -0,0 +1,23 @@
# Makefile - hhl - /usr/src/world/linux-firmware
# Copyright 2022 Nathan Fisher <nfisher.sr@gmail.com>
#
distname = linux-firmware
default_goal = install_firmware
include world.mk
objdir = $(srcdir)
install_firmware: $(objdir)/.installed
$(objdir)/.installed: $(srcdir)/.dirstamp | $(DESTDIR)/lib/firmware
cp -Rv $(srcdir)/* $(DESTDIR)/lib/firmware
$(DESTDIR)/lib/firmware:
install -d $@
$(srcdir)/.dirstamp: $(distlocal)
$(info $(grn)=== Extracting $(distlocal) ===$(reset))
tar -xf $(distlocal) -C $(basedir)/build/src-world-$(arch)
touch $@
$(distlocal):
$(MAKE) -C ../distfiles $(distfile)

43
include/mk/versions.mk

@ -19,13 +19,13 @@ curl_version = 7.84.0
dash_version = 0.5.11
dbus_version = 1.12.18
diffutils_version = 3.8
dhcpcd_version = 8.1.6
dhcpcd_version = 9.4.1
e2fsprogs_version = 1.46.5
elfutils_version = 0.186
elfutils_version = 0.187
eudev_version = 3.2.11
execline_version = 2.9.0.1
expat_version = 2.4.8
file_version = 5.41
file_version = 5.42
findutils_version = 4.9.0
flex_version = 2.6.4
gawk_version = 5.1.1
@ -39,28 +39,29 @@ gperf_version = 3.1
grep_version = 3.7
groff_version = 1.22.4
grub_version = 2.06
gzip_version = 1.11
gzip_version = 1.12
haveged_version = 1.9.18
iana-etc_version = 20220207
inetutils_version = 2.2
iana-etc_version = 20220812
inetutils_version = 2.3
intltool_version = 0.51.0
iproute2_version = 5.16.0
kbd_version = 2.4.0
kmod_version = 29
iproute2_version = 5.19.0
kbd_version = 2.5.1
kmod_version = 30
less_version = 590
libcap_version = 2.47
libcap_version = 2.65
libedit_version = 20191231-3.1
libelf-compat_version = 0.152
libffi_version = 3.4.2
libnl_version = 3.5.0
libressl_version = 3.0.2
libtool_version = 2.4.6
libtool_version = 2.4.7
libz_version = 1.2.8.2015.12.26
linux_version = 5.19.3
linux_version = 5.19.4
linux-firmware_version = 20220815
linux_rpi_version = 5.4.45
m4_version = 1.4.19
make_version = 4.3
man-pages_version = 5.10
man-pages_version = 5.13
mandoc_version = 1.14.5
meson_version = 0.61.1
mpc_version = 1.2.1
@ -69,27 +70,27 @@ musl_version = 1.2.2
musl-fts_version = 1.2.7
ncurses_version = 6.3
netbsd-curses_version = 0.3.1
ninja_version = 1.10.2
openssl_version = 3.0.1
ninja_version = 1.11.0
openssl_version = 3.0.5
patch_version = 2.7.6
pcre_version = 8.45
perl_version = 5.36.0
perl-cross_version = 1.3.5
pkg-config_version = 0.29.2
pkgsrc_version = 2020Q3
pkgsrc_version = 2022Q2
procps-ng_version = 3.3.16
psmisc_version = 23.4
python_version = 3.10.2
psmisc_version = 23.5
python_version = 3.10.6
s6_version = 2.11.1.2
s6-linux-init_version = 1.0.8.0
s6-rc_version = 0.5.3.2
sed_version = 4.8
shadow_version = 4.11.1
shadow_version = 4.12.2
skalibs_version = 2.12.0.1
sysklogd_version = 1.5.1
tar_version = 1.34
texinfo_version = 6.8
tzdata_version = 2021e
tzdata_version = 2022c
u-boot_version = 2021.01
udev-lfs_version = 20171102
util-linux_version = 2.36.1
@ -98,6 +99,6 @@ wget_version = 1.21.3
wireless_tools_version = 29
wpa_supplicant_version = 2.9
XML-Parser_version = 2.46
xz_version = 5.2.5
xz_version = 5.2.6
zsh_version = 5.8.1
zstd_version = 1.5.2

10438
kernel/config-x86-mine

File diff suppressed because it is too large Load Diff

9907
kernel/config-x86-mine.old

File diff suppressed because it is too large Load Diff

0
kernel/config-x86_64-5.19.3.config → kernel/config-x86_64-5.19.4.config

9952
kernel/config-x86_64-mine

File diff suppressed because it is too large Load Diff

1
toolchain/glibc/Makefile

@ -5,6 +5,7 @@ distname = glibc
patches += glibc-2.31-fhs-1.patch
patches += glibc-no-test-installation.patch
patches += glibc-ldd-bash-in.patch
include world.mk
-include locales.mk

9
toolchain/glibc/glibc-ldd-bash-in.patch

@ -0,0 +1,9 @@
diff -Naur glibc-2.36.orig/elf/ldd.bash.in glibc-2.36/elf/ldd.bash.in
--- glibc-2.36.orig/elf/ldd.bash.in 2022-08-25 16:05:09.631944502 -0400
+++ glibc-2.36/elf/ldd.bash.in 2022-08-25 16:05:36.539082495 -0400
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright (C) 1996-2022 Free Software Foundation, Inc.
# This file is part of the GNU C Library.

1
world/Makefile

@ -47,6 +47,7 @@ subdirs += gettext
#subdirs += argp-standalone
subdirs += elfutils
subdirs += libffi
subdirs += gawk
#subdirs += libressl
subdirs += openssl
subdirs += wget

10
world/gawk/Makefile

@ -0,0 +1,10 @@
# Makefile - hhl - /usr/src/world/gawk
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
distname = gawk
include world.mk
config_opts += --host=$(tgt)
config_opts += --with-sysroot=$(build)
include targets.mk

24
world/libcap/libcap-sysroot.patch

@ -1,17 +1,17 @@
diff -Naur libcap-2.47.orig/Make.Rules libcap-2.47/Make.Rules
--- libcap-2.47.orig/Make.Rules 2021-01-23 21:06:05.000000000 -0500
+++ libcap-2.47/Make.Rules 2021-02-02 23:53:56.595677007 -0500
@@ -76,7 +76,7 @@
BUILD_GPERF := $(shell which gperf >/dev/null 2>/dev/null && echo yes)
diff -Naur libcap-2.65.orig/Make.Rules libcap-2.65/Make.Rules
--- libcap-2.65.orig/Make.Rules 2022-08-25 21:32:12.478981513 -0400
+++ libcap-2.65/Make.Rules 2022-08-25 21:33:55.027444454 -0400
@@ -63,7 +63,7 @@
KERNEL_HEADERS := $(topdir)/libcap/include/uapi
LIBCAP_INCLUDES = -I$(KERNEL_HEADERS) -I$(topdir)/libcap/include
DEFINES := -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-SYSTEM_HEADERS = /usr/include
+SYSTEM_HEADERS = $(SYSROOT)/usr/include
INCS=$(topdir)/libcap/include/sys/capability.h
LDFLAGS += -L$(topdir)/libcap
CFLAGS += -Dlinux $(WARNINGS) $(DEBUG)
@@ -89,7 +89,7 @@
# DYNAMIC controls how capsh etc are linked - to shared or static libraries
SUDO := sudo
CC := $(CROSS_COMPILE)gcc
@@ -121,7 +121,7 @@
# Force enabled with "make DYNAMIC=yes ...".
DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo $(SHARED); else echo no ; fi)
-PAM_CAP ?= $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo $(SHARED) ; else echo no ; fi)

3
world/man-pages/Makefile

@ -2,8 +2,9 @@
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
distname = man-pages
patches += man-pages-destdir.patch
no_objdir = 1
use_configure = 0
include world.mk
build_cmd =
install_cmd = $(MAKE) DESTDIR=$(DESTDIR) prefix=/usr -C $(objdir) install
include targets.mk

22
world/man-pages/man-pages-destdir.patch

@ -1,22 +0,0 @@
diff -Naur man-pages-5.10.orig/Makefile man-pages-5.10/Makefile
--- man-pages-5.10.orig/Makefile 2020-12-21 10:20:40.000000000 -0500
+++ man-pages-5.10/Makefile 2021-02-01 15:42:12.024004277 -0500
@@ -1,6 +1,5 @@
-DESTDIR=
prefix?=/usr
-MANDIR=$(prefix)/share/man
+MANDIR=$(DESTDIR)$(prefix)/share/man
all: remove install
@@ -24,8 +23,8 @@
install:
for i in man?; do \
- install -d -m 755 $(DESTDIR)$(MANDIR)/"$$i" || exit $$?; \
- install -m 644 "$$i"/* $(DESTDIR)$(MANDIR)/"$$i" || exit $$?; \
+ install -d -m 755 $(MANDIR)/"$$i" || exit $$?; \
+ install -m 644 "$$i"/* $(MANDIR)/"$$i" || exit $$?; \
done
# Check if groff reports warnings (may be words of sentences not displayed)

1
world/psmisc/Makefile

@ -2,7 +2,6 @@
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
distname = psmisc
patches += psmisc-malloc.patch
include world.mk
config_opts += --host=$(tgt)
export CFLAGS = --sysroot=$(DESTDIR)

55
world/psmisc/psmisc-malloc.patch

@ -1,55 +0,0 @@
diff -Naur psmisc-23.3.orig/configure psmisc-23.3/configure
--- psmisc-23.3.orig/configure 2019-10-24 06:25:15.231547509 -0400
+++ psmisc-23.3/configure 2021-02-03 00:15:16.265839933 -0500
@@ -9658,25 +9658,9 @@
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
-if test $ac_cv_func_malloc_0_nonnull = yes; then :
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
-else
- $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
-
- case " $LIBOBJS " in
- *" malloc.$ac_objext "* ) ;;
- *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
- ;;
-esac
-
-
-$as_echo "#define malloc rpl_malloc" >>confdefs.h
-
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
$as_echo_n "checking for working memcmp... " >&6; }
if ${ac_cv_func_memcmp_working+:} false; then :
@@ -9787,25 +9771,9 @@
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
-if test $ac_cv_func_realloc_0_nonnull = yes; then :
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
-else
- $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
-
- case " $LIBOBJS " in
- *" realloc.$ac_objext "* ) ;;
- *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
- ;;
-esac
-
-
-$as_echo "#define realloc rpl_realloc" >>confdefs.h
-
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
if ${ac_cv_func_stat_empty_string_bug+:} false; then :

BIN
world/s6-scripts/etc/s6/rc/compiled/db

Binary file not shown.

0
world/s6-scripts/etc/s6/rc/compiled/lock

BIN
world/s6-scripts/etc/s6/rc/compiled/n

Binary file not shown.

BIN
world/s6-scripts/etc/s6/rc/compiled/resolve.cdb

Binary file not shown.

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty1/run

@ -0,0 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty1/conf
importas -iu SPAWN SPAWN
exec getty tty1

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty2/run

@ -0,0 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty2/conf
importas -iu SPAWN SPAWN
exec getty tty2

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty3/run

@ -0,0 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty3/conf
importas -iu SPAWN SPAWN
exec getty tty3

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty4/run

@ -0,0 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty4/conf
importas -iu SPAWN SPAWN
exec getty tty4

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty5/run

@ -0,0 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/agetty-tty5/conf
importas -iu SPAWN SPAWN
exec getty tty5

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/getty-tty6/run

@ -0,0 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/agetty-tty6/conf
importas -iu SPAWN SPAWN
exec getty tty6

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/autofilled

@ -0,0 +1 @@
udevd-log

0
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/gid/0/allow

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/gid/0/env

@ -0,0 +1 @@
../../uid/0/env

0
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/allow

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP vendored

@ -0,0 +1 @@

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST vendored

@ -0,0 +1 @@

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX vendored

@ -0,0 +1 @@
S6_FDHOLDER_STORE_REGEX

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP vendored

@ -0,0 +1 @@

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX vendored

@ -0,0 +1 @@
^pipe:s6rc-

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/data/rules/uid/self

@ -0,0 +1 @@
0

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/notification-fd

@ -0,0 +1 @@
1

17
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-fdholder/run

@ -0,0 +1,17 @@
#!/usr/bin/execlineb -P
pipeline -dw --
{
if --
{
forstdin -x0 -- i
exit 0
}
if -nt --
{
redirfd -r 0 ./data/autofilled
s6-ipcclient -l0 -- s
/usr/libexec/s6-rc-fdholder-filler -1 --
}
s6-svc -t .
}
s6-fdholder-daemon -1 -i data/rules -- s

0
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/data/rules/gid/0/allow

0
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/data/rules/uid/0/allow

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/data/rules/uid/self

@ -0,0 +1 @@
0

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/notification-fd

@ -0,0 +1 @@
3

8
world/s6-scripts/etc/s6/rc/compiled/servicedirs/s6rc-oneshot-runner/run

@ -0,0 +1,8 @@
#!/usr/bin/execlineb -P
fdmove -c 2 1
fdmove 1 3
s6-ipcserver-socketbinder -- s
s6-ipcserverd -1 --
s6-ipcserver-access -v0 -E -l0 -i data/rules --
s6-sudod -t 30000 --
/usr/libexec/s6-rc-oneshot-run -l ../.. --

1
world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-log/notification-fd

@ -0,0 +1 @@
3

3
world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-log/run

@ -0,0 +1,3 @@
#!/usr/bin/execlineb -P
s6-fdholder-retrieve ../s6rc-fdholder/s "pipe:s6rc-r-udevd-log"
./run.user

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-log/run.user

@ -0,0 +1,5 @@
#!/bin/execlineb -P
foreground { if -n -t { test -d /var/log/udevd } install -d -m 0755 -o s6log -g s6log /var/log/udevd }
envfile /etc/s6/sv/udevd-log/conf
importas -sCiu DIRECTIVES DIRECTIVES
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/udevd

5
world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-srv/run

@ -0,0 +1,5 @@
#!/usr/bin/execlineb -P
fdmove 1 0
s6-fdholder-retrieve ../s6rc-fdholder/s "pipe:s6rc-w-udevd-log"
fdswap 0 1
./run.user

3
world/s6-scripts/etc/s6/rc/compiled/servicedirs/udevd-srv/run.user

@ -0,0 +1,3 @@
#!/bin/execlineb -P
fdmove -c 2 1
exec udevd -D

4
world/usr.bin/Makefile

@ -1,8 +1,8 @@
# Makefile - hhl - /usr/src/world/usr.bin
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
#
subdirs = $(shell find . -maxdepth 1 -mindepth 1 -type d | grep -v file)
subdirs = $(shell find . -maxdepth 1 -mindepth 1 -type d | grep -v file | grep -v awk)
all: ${subdirs}

Loading…
Cancel
Save