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:
Felix Fietkau 2016-08-04 11:12:27 +02:00
parent 9bfa6971ae
commit 2180b715c1
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ target-dir-%: FORCE
$(CP) $(TARGET_DIR) $(mkfs_cur_target_dir)
mv $(mkfs_cur_target_dir)/etc/opkg $(mkfs_cur_target_dir).opkg
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) install \
$(call opkg_package_files,$(mkfs_packages_add)))