All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thilo Cestonaro <thilo@cestona.ro>
To: Openembedded Core List <openembedded-core@lists.openembedded.org>
Subject: opkg-build and dpkg-deb 1.17.x
Date: Tue, 25 Feb 2014 16:15:50 +0100	[thread overview]
Message-ID: <530CB3A6.3060404@cestona.ro> (raw)

[-- 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


             reply	other threads:[~2014-02-25 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 15:15 Thilo Cestonaro [this message]
2014-02-25 15:34 ` opkg-build and dpkg-deb 1.17.x Paul Barker
2014-02-25 15:34   ` [OE-core] " Paul Barker
2014-02-25 20:24   ` Thilo Cestonaro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=530CB3A6.3060404@cestona.ro \
    --to=thilo@cestona.ro \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.