mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
1e7fa539ae
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>
(cherry picked from commit 07fe8bc62a
)
23 lines
548 B
Makefile
23 lines
548 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=aarch64
|
|
BOARD:=ipq807x
|
|
BOARDNAME:=Qualcomm Atheros IPQ807x
|
|
FEATURES:=squashfs ramdisk fpu nand rtc emmc
|
|
KERNELNAME:=Image dtbs
|
|
CPU_TYPE:=cortex-a53
|
|
SUBTARGETS:=generic
|
|
|
|
KERNEL_PATCHVER:=5.15
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
DEFAULT_PACKAGES += \
|
|
kmod-usb3 kmod-usb-dwc3 kmod-usb-dwc3-qcom \
|
|
kmod-leds-gpio kmod-gpio-button-hotplug \
|
|
kmod-phy-aquantia kmod-qca-nss-dp \
|
|
ath11k-firmware-ipq8074 kmod-ath11k-ahb \
|
|
wpad-basic-mbedtls uboot-envtools \
|
|
e2fsprogs kmod-fs-ext4 losetup
|
|
|
|
$(eval $(call BuildTarget))
|