base-files: add support for restoring config from tmpfs
authorDaniel Golle <daniel@makrotopia.org>
Sat, 27 Feb 2021 22:21:09 +0000 (22:21 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 Feb 2021 00:09:09 +0000 (00:09 +0000)
commit84a339f01523c7892f014cc5439c66b43ba6b6ff
tree0efba649418b52b167ce2fa756a8732ba809c172
parentb7d125f45530dcf9238accab5af28377f5152719
base-files: add support for restoring config from tmpfs

Instead of only relying in /sysupgrade.tgz being present in rootfs to
restore configuration, also grab /tmp/sysupgrade.tar which may have
magically gotten there during preinit...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/lib/preinit/80_mount_root