From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from spielplatz.cestona.ro (85-10-192-88.clients.your-server.de [85.10.192.88]) by mail.openembedded.org (Postfix) with ESMTP id 94EC76F09E for ; Tue, 25 Feb 2014 15:15:50 +0000 (UTC) Received: from [192.168.178.33] (agsb-4d04814a.pool.mediaways.net [::ffff:77.4.129.74]) (AUTH: LOGIN thilo@cestona.ro) by spielplatz with ESMTPA; Tue, 25 Feb 2014 16:15:50 +0100 id 0000000001D480A5.530CB3A7.00001B21 Message-ID: <530CB3A6.3060404@cestona.ro> Date: Tue, 25 Feb 2014 16:15:50 +0100 From: Thilo Cestonaro User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 Mime-Version: 1.0 To: Openembedded Core List X-Enigmail-Version: 1.6 Subject: opkg-build and dpkg-deb 1.17.x X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 15:15:53 -0000 X-Groupsio-MsgNum: 50575 Content-Type: multipart/mixed; boundary="=_spielplatz-6945-1393341351-0001-2" --=_spielplatz-6945-1393341351-0001-2 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit 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 --=_spielplatz-6945-1393341351-0001-2 Content-Type: text/x-patch; name="0001-create-dpkg-deb-compatible-ipks-opks-again.patch"; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-create-dpkg-deb-compatible-ipks-opks-again.patch" >From a39842073547d5ff67d609a6f19a2c5c4069e5f7 Mon Sep 17 00:00:00 2001 From: Thilo Cestonaro 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 --=_spielplatz-6945-1393341351-0001-2--