From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.gmx.net ([212.227.15.15]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VMwUB-0007Xl-Bj for ptxdist@pengutronix.de; Fri, 20 Sep 2013 10:54:48 +0200 Received: from 3capp-gmx-bs23.server.lan ([172.19.170.75]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LlsgY-1VwHIn0L0i-00ZODd for ; Fri, 20 Sep 2013 10:54:41 +0200 MIME-Version: 1.0 Message-ID: From: "Markus Wolters" Date: Fri, 20 Sep 2013 10:54:41 +0200 (CEST) In-Reply-To: <20130916082345.GF14466@pengutronix.de> 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hello Michael, the control tar ball only consists of a single control text file. Do you know any tools or ways to find out, why the rules/mypackage.postinst file is not build in? Regards Markus > Gesendet: Montag, 16. September 2013 um 10:23 Uhr > Von: "Michael Olbrich" > 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 > -- ptxdist mailing list ptxdist@pengutronix.de