From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.187]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VONxX-00088p-9j for ptxdist@pengutronix.de; Tue, 24 Sep 2013 10:27:04 +0200 Message-ID: <52414D18.8010407@ctypes.org> Date: Tue, 24 Sep 2013 10:28:08 +0200 From: Thomas Heller MIME-Version: 1.0 References: <20130911083342.GH26086@pengutronix.de> , <20130916082345.GF14466@pengutronix.de>, , , 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Am 24.09.2013 10:16, schrieb Markus Wolters: > My postinst script is working now, but I have to ask another > question. As the most commands executed in the script require a > running target (e.g. access to sdcard), how can I prevent the script > from beeing executed at ptxdists targetinstall time on build host? I include the script code inside a block like this: if [ -z "$DESTDIR" ]; then # do something fi Thomas -- ptxdist mailing list ptxdist@pengutronix.de