From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.gmx.net ([212.227.17.22]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VLXWX-0003ZR-75 for ptxdist@pengutronix.de; Mon, 16 Sep 2013 14:03:29 +0200 Received: from 3capp-gmx-bs02.server.lan ([172.19.170.51]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Lj83k-1Vv9zN2Dl8-00dE1I for ; Mon, 16 Sep 2013 14:03:19 +0200 MIME-Version: 1.0 Message-ID: From: "Markus Wolters" Date: Mon, 16 Sep 2013 14:03:19 +0200 (CEST) In-Reply-To: References: <20130911083342.GH26086@pengutronix.de> , <20130916082345.GF14466@pengutronix.de>, Subject: Re: [ptxdist] How to add opkg/ipkg post install scripts to package? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1893682960==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1893682960== Content-Type: text/html; charset=UTF-8
I have forgotten to mention that I'm using ptxdist Version "ptxdist-2012.03.0". Maybe something changed since this release?
 
Markus
 
Gesendet: Montag, 16. September 2013 um 10:36 Uhr
Von: "Markus Wolters" <MarkusWolters@gmx.de>
An: ptxdist@pengutronix.de
Betreff: Re: [ptxdist] How to add opkg/ipkg post install scripts to package?
Hi Michael,
 
that's what I meant when I wrote:
> If I extract the files
> from ipk, there is no postinst file included
;-)
 
There is no postinst script in the tar-ball.
 
Gesendet: Montag, 16. September 2013 um 10:23 Uhr
Von: "Michael Olbrich" <m.olbrich@pengutronix.de>
An: ptxdist@pengutronix.de
Betreff: Re: [ptxdist] How to add opkg/ipkg post install scripts to package?
Hi,

On Mon, Sep 16, 2013 at 08:57:36AM +0200, Markus Wolters wrote:
> unfortunately I'm not able to get it work. My foo.postinst only contains an
> echo "something" and exit 0. Rights are rx for everyone. If I extract the files
> from ipk, there is no postinst file included and no script gets executed on
> install/upgrade. Any ideas what's going wrong?

Take a closer look at the ipkg. It is a zip file that contains 2 tar-balls.
The postinst script should be in the control tar-ball.

Michael

--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |

--
ptxdist mailing list
ptxdist@pengutronix.de
--===============1893682960== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1893682960==--