openwrt/package
Daniel Golle 46a65f927c
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>
2021-08-05 03:46:21 +01:00
..
base-files base-files: upgrade: try umount lvm and loop devices 2021-08-04 19:12:34 +01:00
boot arm-trusted-firmware-mvebu: switch to CZ.NIC's Secure Firmware 2021-07-25 13:52:39 +02:00
devel
firmware linux-firmware: add 2G and 5G precal binaries for QCA99X0 2021-07-25 13:52:38 +02:00
kernel treewide: backport support for nvmem on non platform devices 2021-08-05 01:46:26 +02:00
libs elfutils: fix building with GCC 11 2021-07-25 13:52:38 +02:00
network ethtool: update to v5.13 2021-08-05 01:48:13 +02:00
system procd: update to git HEAD and add new script helpers 2021-08-05 03:46:21 +01:00
utils otrx: use firmware-utils.git to avoid code duplication 2021-07-30 13:03:17 +02:00
Makefile