diff options
| author | Petr Štetiar <ynezz@true.cz> | 2023-06-05 14:10:44 +0200 |
|---|---|---|
| committer | Petr Štetiar <ynezz@true.cz> | 2023-06-10 21:29:08 +0200 |
| commit | 07fe8bc62a866e78e131c3f63a08554a94e931f8 (patch) | |
| tree | 3e53b68986ae23196d7dd9e67d587d6c01ce4bb4 /scripts | |
| parent | 2e910039dd7170fd28641e7686c376dba6f0d8a5 (diff) | |
| download | upstream-07fe8bc62a866e78e131c3f63a08554a94e931f8.tar.gz upstream-07fe8bc62a866e78e131c3f63a08554a94e931f8.tar.bz2 upstream-07fe8bc62a866e78e131c3f63a08554a94e931f8.zip | |
ipq807x: image: fix eMMC flashing/recovery from within initramfs
Having initramfs image built with same config as on buildbots:
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_ALL_PROFILES=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
Its currently impossible to flash/recover the device using that image as
losetup is missing:
root@OpenWrt:/# sysupgrade -v /tmp/openwrt-ipq807x-generic-prpl_haze-squashfs-sysupgrade.bin
...
/lib/upgrade/do_stage2: line 38: losetup: not found
Failed to detach all loop devices. Skip this try.
So lets fix it by including the needed utils for sysupgrade in
DEFAULT_PACKAGES set.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
