Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-4.14
xen
keycodemapdb.16e5b0787687d8904dad2c026107409eb9...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File keycodemapdb.16e5b0787687d8904dad2c026107409eb9bfcb95.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Wed, 21 Feb 2018 10:46:54 +0100 Subject: 16e5b0787687d8904dad2c026107409eb9bfcb95 remove buildtime from generated files Each rebuild gets a different file even if the sources are unchanged. Debian sells this as "reproducible build". SUSE just wants to avoid needless republish of otherwise identical binaries. Signed-off-by: Olaf Hering <olaf@aepfle.de> --- tools/keymap-gen | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/tools/keymap-gen +++ b/tools/keymap-gen @@ -308,27 +308,26 @@ class Database: if linux in self.mapname[self.MAP_QCODE]: qcodeenum = self.mapname[self.MAP_QCODE][linux] qcodeenum = "Q_KEY_CODE_" + qcodeenum.upper() self.mapto[self.MAP_QCODE][linux] = qcodeenum self.mapfrom[self.MAP_QCODE][qcodeenum] = linux class LanguageGenerator(object): def _boilerplate(self, lines): raise NotImplementedError() def generate_header(self, database, args): - today = time.strftime("%Y-%m-%d %H:%M") self._boilerplate([ - "This file is auto-generated from keymaps.csv on %s" % today, + "This file is auto-generated from keymaps.csv", "Database checksum sha256(%s)" % database.mapchecksum, "To re-generate, run:", " %s" % args, ]) class LanguageSrcGenerator(LanguageGenerator): TYPE_INT = "integer" TYPE_STRING = "string" TYPE_ENUM = "enum" def _array_start(self, varname, length, defvalue, fromtype, totype):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor