meta-digi/meta-digi-dey/recipes-core
Gabriel Valcazar 48f8720a23 recovery-initramfs: register mdev regardless of /proc/sys/kernel/hotplug
Busybox's device manager mdev was originally meant to be set up by writing its
path to /proc/sys/kernel/hotplug before launching it, but that entry no longer
exists in Linux v5.4's procfs and mdev can be launched directly.

Since mdev is the element in the recovery initramfs that is in charge of
mounting all partitions where .swu packages can be found (update partition on
the eMMC/MTD, uSD and USB), checking for the existence of the hotplug entry in
the procfs before launching mdev in v5.4 was preventing the partitions from
being mounted, and causing all software updates to fail.

While at it, move the two second delay to before mdev is launched, so all
partitions can be mounted. Otherwise, some devices such as the USB might not
be ready when mdev is launched, causing its partition to not be mounted.

https://jira.digi.com/browse/DEL-7143

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-18 13:43:47 +02:00
..
base-files base-files: fix checks done to execute resize2fs postinst function in kernel 5.4 2020-05-11 16:04:57 +02:00
busybox zeus migration: busybox: update to version 1.31.0 2020-04-27 16:01:07 +02:00
images recovery-initramfs: generalize recipe to avoid redefinitions 2020-01-10 13:36:21 +01:00
init-ifupdown br0: move the br0 interface to the bottom 2020-02-24 13:14:53 +01:00
initscripts busybox: remove busybox-static-nodes initscript 2019-02-04 14:59:46 +01:00
packagegroups machines: move common recipes to all packagegroup-dey-core 2020-05-06 17:02:28 +02:00
psplash psplash: fix init script to avoid running the app without fb 2017-01-03 12:42:10 +01:00
readline readline: allow the use of Begin/End/Del/Insert and Ctrl+arrows 2018-02-16 12:25:52 +01:00
recovery recovery-initramfs: register mdev regardless of /proc/sys/kernel/hotplug 2020-06-18 13:43:47 +02:00
system-monitor meta-digi-dey: fix systemd-cat not found in network scripts 2019-09-06 11:03:18 +02:00
systemd zeus migration: systemd: update recipe to v243.2 2020-04-27 16:01:07 +02:00
sysvinit meta-digi-dey: trustfence: Explicitely check for "1" for variable enable 2016-06-10 09:48:05 +02:00
trustfence trustfence-initramfs: use "busybox halt" instead of "poweroff" 2020-02-12 18:31:33 +01:00