From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail7.pr.hu (mail7.pr.hu [87.242.0.7]) by mail.openembedded.org (Postfix) with ESMTP id EB7BC605B3 for ; Fri, 26 Jun 2015 17:50:57 +0000 (UTC) Received: from [2a02:808:3:101::5] (helo=mail.pr.hu) by frontdoor.pr.hu with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Z8XmD-00078F-Tz for openembedded-devel@lists.openembedded.org; Fri, 26 Jun 2015 19:50:57 +0200 Received: from [88.132.200.37] (helo=s002.sicom.com) by mail.pr.hu with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Z8Xm6-0000GF-OC for openembedded-devel@lists.openembedded.org; Fri, 26 Jun 2015 19:50:55 +0200 Message-ID: <558D90F8.10900@pr.hu> Date: Fri, 26 Jun 2015 19:50:48 +0200 From: Boszormenyi Zoltan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org X-Host-Lookup-Failed: Reverse DNS lookup failed for 88.132.200.37 (failed) X-Spam-Score: 1.0 (+) X-Scan-Signature: 0eafba088781daefc179b991590fe5af X-Spam-Tracer: backend.mail.pr.hu 1.0 20150626175055Z Subject: How can I get the build number during do_install? X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 17:50:59 -0000 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit Hi, I want to ship a static text file in a package that contains the full version string of the package, including the build number that's auto-generated by bitbake. According to the Yocto manual, the PRINC variable was something like what I want but it's long deprecated and at least during do_install it's set to 0. Is there a way to do it? Some other variable either during do_install or pkg_postinst? Thanks in advance, Zoltán Böszörményi