On Wed, 2016-04-20 at 23:49 +0200, Samuel Thibault wrote: > Svante Signell, on Wed 20 Apr 2016 23:40:31 +0200, wrote: ... > > It would be much better to create custom versions of a given kernel, > > like gnumach-1.6.custom<current date> or gnumach-1.6.custom1, > > gnumach-1.6.custom2, etc > Feel free to propose something which looks good :)
What about this?
From f8402f5752f3f9a432cfbabc05e17f6ecbd046b0 Mon Sep 17 00:00:00 2001 From: Svante Signell <[email protected]> Date: Thu, 21 Apr 2016 12:07:55 +0200 Subject: [PATCH 2/2] Add .custom-<date> to custom built packages and gnumach kernels. Add -<date> to .custom keyword in uname -v. --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 8138a98..c31106b 100755 --- a/debian/rules +++ b/debian/rules @@ -13,11 +13,11 @@ MAJOR := $(shell echo $(VERSION) | sed -e 's/\..*//g') DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifeq (,$(filter custom,$(DEB_BUILD_OPTIONS))) -VERSION := $(NOGIT_VERSION) CUSTOM := +VERSION := $(NOGIT_VERSION) else -VERSION := $(NOEPOCH_VERSION) -CUSTOM := .custom +CUSTOM := .custom-$(shell date +'%Y%m%d') +VERSION := $(NOEPOCH_VERSION)$(CUSTOM) endif MACHINE := 486 -- 2.6.4

