diff options
Diffstat (limited to 'updater-ng-auto/Makefile')
-rw-r--r-- | updater-ng-auto/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/updater-ng-auto/Makefile b/updater-ng-auto/Makefile index 04b1f6e..ae59e46 100644 --- a/updater-ng-auto/Makefile +++ b/updater-ng-auto/Makefile @@ -124,12 +124,19 @@ endef define Package/$(PKG_NAME)-opkg TITLE:=OPKG compatibility wrapper for next generation updater - DEPENDS:=+opkg +localrepo + DEPENDS:=+opkg +$(PKG_NAME)-localrepo endef define Package/$(PKG_NAME)-opkg/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/opkg $(1)/usr/bin/opkg-pkgupdate-wrapper.sh + $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/content2localrepo $(1)/usr/bin/updater-ng-opkg-content2localrepo.sh +endef + +define Package/$(PKG_NAME)-opkg/postinst +[ -n "$$IPKG_INSTROOT" ] || { + /usr/bin/updater-ng-opkg-content2localrepo.sh +} endef # Current implementation of updater can't remove package before replan and so we |