Skip to content

Commit

Permalink
ODROID: fix package name to contain Linux kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Dongjin Kim <[email protected]>
  • Loading branch information
tobetter committed Apr 25, 2018
1 parent 7cf8982 commit 15a4778
Show file tree
Hide file tree
Showing 18 changed files with 288 additions and 310 deletions.
6 changes: 3 additions & 3 deletions debian/bin/gencontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def do_main_setup(self, vars, makeflags, extra):
super(Gencontrol, self).do_main_setup(vars, makeflags, extra)
makeflags.update({
'VERSION': self.version.linux_version,
'UPSTREAMVERSION': self.version.linux_upstream,
'UPSTREAMVERSION': self.version.linux_upstream_full,
'ABINAME': self.abiname_version + self.abiname_part,
'SOURCEVERSION': self.version.complete,
})
Expand Down Expand Up @@ -459,7 +459,7 @@ def check_config(default, fail, *entry_name):
# translations and lintian overrides
self._substitute_file('headers.postinst', vars,
'debian/linux-headers-%s%s.postinst' %
(vars['abiname'], vars['localversion']))
(vars['upstreamversion'], vars['localversion']))
for name in ['postinst', 'postrm', 'preinst', 'prerm']:
self._substitute_file('image.%s' % name, vars,
'debian/%s.%s' % (image_main['Package'], name))
Expand All @@ -482,7 +482,7 @@ def process_changelog(self):
self.abiname_version = re.sub('^(\d+\.\d+)(?=-|$)', r'\1.0',
self.version.linux_upstream)
self.vars = {
'upstreamversion': self.version.linux_upstream,
'upstreamversion': self.version.linux_upstream_full,
'version': self.version.linux_version,
'source_upstream': self.version.upstream,
'source_package': self.changelog[0].source,
Expand Down
Loading

0 comments on commit 15a4778

Please sign in to comment.