Openembedded Core Discussions
 help / color / mirror / Atom feed
* opkg-build and dpkg-deb 1.17.x
@ 2014-02-25 15:15 Thilo Cestonaro
  2014-02-25 15:34 ` Paul Barker
  0 siblings, 1 reply; 3+ messages in thread
From: Thilo Cestonaro @ 2014-02-25 15:15 UTC (permalink / raw)
  To: Openembedded Core List

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

Hey all,

with a recent change in dpkg-deb (
http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=commitdiff;h=547dca4c3ff23df5dfa554f1943b371cd7056ee4
), the packages generated by opkg-build will not be accepted by dpkg-deb
anymore. The change disallows that the data.tar.gz is packed into the
ipk or deb before the control.tar.gz.

Supplied patch for opkg-utils repo fixes this.

Greetings
Thilo

[-- Attachment #2: 0001-create-dpkg-deb-compatible-ipks-opks-again.patch --]
[-- Type: text/x-patch, Size: 963 bytes --]

From a39842073547d5ff67d609a6f19a2c5c4069e5f7 Mon Sep 17 00:00:00 2001
From: Thilo Cestonaro <thilo@cestona.ro>
Date: Tue, 25 Feb 2014 10:09:36 +0100
Subject: [PATCH] create dpkg-deb compatible ipks/opks again

---
 opkg-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opkg-build b/opkg-build
index 90a7111..e314712 100755
--- a/opkg-build
+++ b/opkg-build
@@ -247,9 +247,9 @@ fi
 
 rm -f $pkg_file
 if [ "$outer" = "ar" ] ; then
-  ( cd $tmp_dir && ar -crf $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
+  ( cd $tmp_dir && ar -crf $pkg_file ./debian-binary ./control.tar.gz ./data.tar.gz )
 else
-  ( cd $tmp_dir && tar -cz --format=gnu -f $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
+  ( cd $tmp_dir && tar -cz --format=gnu -f $pkg_file ./debian-binary ./control.tar.gz ./data.tar.gz )
 fi
 
 rm $tmp_dir/debian-binary $tmp_dir/data.tar.gz $tmp_dir/control.tar.gz
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-25 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 15:15 opkg-build and dpkg-deb 1.17.x Thilo Cestonaro
2014-02-25 15:34 ` Paul Barker
2014-02-25 20:24   ` Thilo Cestonaro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox