image: fix per-device rootfs build error when not all opkg package files are found
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
9bfa6971ae
commit
2180b715c1
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ target-dir-%: FORCE
|
||||||
$(CP) $(TARGET_DIR) $(mkfs_cur_target_dir)
|
$(CP) $(TARGET_DIR) $(mkfs_cur_target_dir)
|
||||||
mv $(mkfs_cur_target_dir)/etc/opkg $(mkfs_cur_target_dir).opkg
|
mv $(mkfs_cur_target_dir)/etc/opkg $(mkfs_cur_target_dir).opkg
|
||||||
echo 'src default file://$(PACKAGE_DIR_ALL)' > $(mkfs_cur_target_dir).conf
|
echo 'src default file://$(PACKAGE_DIR_ALL)' > $(mkfs_cur_target_dir).conf
|
||||||
$(if $(mkfs_packages_add), \
|
$(if $(call opkg_package_files,$(mkfs_packages_add)), \
|
||||||
$(opkg_target) update && \
|
$(opkg_target) update && \
|
||||||
$(opkg_target) install \
|
$(opkg_target) install \
|
||||||
$(call opkg_package_files,$(mkfs_packages_add)))
|
$(call opkg_package_files,$(mkfs_packages_add)))
|
||||||
|
|
Loading…
Reference in a new issue