echo 'src imagebuilder file:packages' >> $(PKG_BUILD_DIR)/repositories.conf
endif
-ifeq ($(CONFIG_BUILDBOT),)
- ifeq ($(CONFIG_IB_STANDALONE),)
+ifeq ($(CONFIG_IB_STANDALONE),)
$(FIND) $(call FeedPackageDir,libc) -type f \
\( \
-name 'base-files-*.$(PACKAGE_SUFFIX)' -or \
-name 'libc-*.$(PACKAGE_SUFFIX)' -or \
-name 'kernel-*.$(PACKAGE_SUFFIX)' \) \
-exec $(CP) -t $(PKG_BUILD_DIR)/packages {} +
- else
+else
$(FIND) $(wildcard $(PACKAGE_SUBDIRS)) -type f -name '*.$(PACKAGE_SUFFIX)' \
-exec $(CP) -t $(PKG_BUILD_DIR)/packages/ {} +
- endif
-else
- $(FIND) $(call FeedPackageDir,libc) -type f \
- \( \
- -name 'base-files-*.$(PACKAGE_SUFFIX)' -or \
- -name 'libc-*.$(PACKAGE_SUFFIX)' -or \
- -name 'kernel-*.$(PACKAGE_SUFFIX)' \) \
- -exec $(CP) -t $(IB_LDIR)/ {} +
endif
ifneq ($(CONFIG_SIGNATURE_CHECK),)
@echo
@echo Installing packages...
ifeq ($(CONFIG_USE_APK),)
- $(OPKG) install $(firstword $(wildcard $(LINUX_DIR)/libc_*.ipk $(PACKAGE_DIR)/libc_*.ipk))
- $(OPKG) install $(firstword $(wildcard $(LINUX_DIR)/kernel_*.ipk $(PACKAGE_DIR)/kernel_*.ipk))
+ $(OPKG) install $(wildcard $(PACKAGE_DIR)/libc_*.ipk)
+ $(OPKG) install $(wildcard $(PACKAGE_DIR)/kernel_*.ipk)
$(OPKG) install $(BUILD_PACKAGES)
else
$(APK) add --no-scripts $(BUILD_PACKAGES)