From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHVHo-00058V-2T for ptxdist@pengutronix.de; Thu, 26 Mar 2020 17:23:16 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jHVHn-0001wK-QJ for ptxdist@pengutronix.de; Thu, 26 Mar 2020 17:23:15 +0100 Date: Thu, 26 Mar 2020 17:23:15 +0100 From: Michael Olbrich Message-ID: <20200326162315.GB20273@pengutronix.de> References: <20200324145205.32370-1-Denis.Osterland@diehl.com> <20200324145205.32370-2-Denis.Osterland@diehl.com> <20200325184346.jbb3dt3nnj46bwbm@pengutronix.de> <20200325185254.2ziffqlwfagp77n5@pengutronix.de> <20200325204000.oysedpllvyg5bo4j@pengutronix.de> <7edea84709a29d09fa4e779cec673d8321453aea.camel@diehl.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7edea84709a29d09fa4e779cec673d8321453aea.camel@diehl.com> Subject: Re: [ptxdist] [RFC PATCH 1/3] imx-uuc: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Thu, Mar 26, 2020 at 09:03:58AM +0000, Denis Osterland-Heim wrote: > Am Mittwoch, den 25.03.2020, 21:40 +0100 schrieb Roland Hieber: > > On Wed, Mar 25, 2020 at 07:52:54PM +0100, Roland Hieber wrote: > > > Nitpick: I don't know how picky opkg-based systems are with having > > > monotonically increasing version numbers, but in case someone uses them > > > to update software in the field, you could make them happy by providing > > > a fake 'git describe' tag as a version: > > > > > > IMX_UUC_VERSION := 0.0-1-gd6afb27e55d73d7ad08cd2dd51c784d8ec9694dc > > > > > > and then increase the -1 every time for a version bump. This way git > > > can extract the commit ID from the version info and opkg versions are > > > increasing monotonically. The MD5 will be different though. > Cool. I will apply. Please use the Date of the Last commit. Also: github can produce stable tarballs for any commit. Take a look at how this is handled in glslang.make for example. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de