From: Carsten Schlote <[email protected]>

Added helper target to call ipkg-push with

ptxdist make ipkg-push

This turns out to be useful, when you're going to update your
targets with ipkg {update|upgrade} and a full image build for
your project isn't required and can be omitted.

Also some good example, how ptxdist make <target> can be used.

As I can't imagine any use-case, where you push an incomplete set
of ipkg files, the $(STATEDIR)/ipkg-push stage now also depends
on world.targetinstall. This avoids mistakes and the call to
'ptxdist go' before 'ptxdist make ipkg-push'.

Signed-off-by: Carsten Schlote <[email protected]>
---
 rules/post/image_ipkg.make |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/rules/post/image_ipkg.make b/rules/post/image_ipkg.make
index 6744fcd..aa019f7 100644
--- a/rules/post/image_ipkg.make
+++ b/rules/post/image_ipkg.make
@@ -11,7 +11,9 @@
 
 SEL_ROOTFS-$(PTXCONF_IMAGE_IPKG_PUSH_TO_REPOSITORY) += $(STATEDIR)/ipkg-push
 
-$(STATEDIR)/ipkg-push: $(STATEDIR)/host-ipkg-utils.install.post
+ipkg-push : $(STATEDIR)/ipkg-push
+
+$(STATEDIR)/ipkg-push: $(STATEDIR)/host-ipkg-utils.install.post 
$(STATEDIR)/world.targetinstall
        @$(call targetinfo)
 ifdef PTXCONF_IMAGE_IPKG_FORCED_PUSH
        rm  -rf 
$(PTXCONF_SETUP_IPKG_REPOSITORY)/$(PTXCONF_PROJECT)/dists/$(PTXCONF_PROJECT)$(PTXCONF_PROJECT_VERSION)
-- 
1.6.6.1


--
ptxdist mailing list
[email protected]

Reply via email to