From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VLU5x-0007Xc-Bl for ptxdist@pengutronix.de; Mon, 16 Sep 2013 10:23:45 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1VLU5x-0002KL-9l for ptxdist@pengutronix.de; Mon, 16 Sep 2013 10:23:45 +0200 Date: Mon, 16 Sep 2013 10:23:45 +0200 From: Michael Olbrich Message-ID: <20130916082345.GF14466@pengutronix.de> References: <20130911083342.GH26086@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 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