lede/package/system
Beginner f575350b7d
procd: update to git HEAD (#7670)
* procd: update to git HEAD

 2dcefbd jail: add support for cgroup devices as in OCI run-time spec

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0ee73b2 uxc: implement support for rootfs overlay in containers
 b0a8ea1 jail: do not hack /etc/resolv.conf on container rootfs
 92aba53 jail: increase max additional env records to 64
 15997e6 jail: allow rootfs to be a symbolic link
 0114c6f jail: open() extroot folder before mounting
 ed96eda uxc: check for required blockd mounts

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0545905 jail: make use of realpath() for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9bd1b7f jail: refactor directory handling for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 772292e uxc: don't restart containers when mount shows up
 3a9d910 uxc: resolve volume UUIDs by name of UCI fstab section

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 f26233e watchdog: Add an info message if the watchdog reset the system

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* procd: update to git HEAD

Fix build on glibc targets and address a bunch of compiler warnings.

 93fc089 jail: cgroups-bpf: don't use sys/reg.h when building with glibc
 548d057 jail: don't ignore return value of seteuid()
 220b716 jail: ignore return value when creating default /dev symlinks
 78d5baa hotplug-dispatch: don't ignore asprintf() return value
 736aee5 uxc: always handle asprintf() return value
 2b20456 hotplug-dispatch: replace wrongly used assert()
 bfc86a2 jail: cgroups: replace wrongly used assert()
 516bdf2 jail: don't ignore return value of write()

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD and add new script helpers

 e10de28 jail: cgroups-bpf: fix compile with musl 1.2
 f5d9b14 hotplug-dispatch: fix rare memory leaks in error paths

Add new init script helpers:
 procd_add_start_mount_trigger
 procd_add_reload_mount_trigger
 procd_get_mountpoints

Both trigger helpers expect a list of paths which are checked against
the mount targets configured in /etc/config/fstab and a trigger for all
mountpoints covered by the list of paths is setup.

procd_get_mountpoints is useful to find out if and which mountpoints
are covered by a list of paths.

Example:
  DATADIRS="/mnt/data/foo /mnt/data/bar /etc/foo/baz /var/lib/doe"

  start_service() {
    [ "$_BOOT" = "1" ] &&
      [ "$(procd_get_mountpoints $DATADIRS)" ] && return 0

    procd_open_instance
    # ...
    procd_close_instance
  }

  boot() {
    _BOOT=1 start
  }

  service_triggers() {
    procd_add_start_mount_trigger $DATADIRS
  }

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: change procd_add_start_mount_trigger to do restart

Change procd_add_start_mount_trigger to procd_add_restart_mount_trigger
and make it call 'restart' instead of 'start'.
This is more useful as it allows to handle both cases, intial start of
a services as well as restarting services. Calling 'restart' on a
service which has not yet been started has the same result as calling
'start'.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9f233f5 system: make rootfs type accessible through board call

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-08-13 23:17:18 +08:00
..
ca-certificates add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
fstools fstools: disable ubifs extroot functionality 2021-08-07 23:22:05 +08:00
fwtool x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
iucode-tool add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
mtd add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
openwrt-keyring x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
opkg x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
procd procd: update to git HEAD (#7670) 2021-08-13 23:17:18 +08:00
refpolicy add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
rpcd rpcd: update to latest Git HEAD (#7655) 2021-08-12 10:38:01 +08:00
selinux-policy add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ubox x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
ubus x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
ucert ipq40xx: rework with new v5.4 essedma eth setting 2020-07-03 12:17:04 +08:00
uci x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
urandom-seed add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
urngd urngd: fix busy loop in case of ioctl cause high cpu usage 2021-06-21 11:52:55 +08:00
usign Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
zram-swap packages: use old extra_command wrapper (#7259) 2021-07-03 14:44:24 +08:00