Commit Graph

5 Commits

Author SHA1 Message Date
Bastian Blank cb080a3167 Make version in package name independant of internal abi
* debian/bin/gencontrol.py: Export internal ABI.
* debian/lib/python/debian_linux/debian.py: Export three-part version.
* debian/rules.real
  - Provide more variables.
  - Make udeb generation easier.
  - Use internal ABI for files.
* debian/templates/control.*: Provide name with internal ABI.
* debian/templates/image.plain.*: Use internal ABI.

svn path=/dists/sid/linux/; revision=22017
2014-11-01 19:20:16 +00:00
Ben Hutchings f2037271d1 linux-image: Make maintainer scripts less verbose (Closes: #734266)
svn path=/dists/sid/linux/; revision=20955
2014-01-05 18:33:11 +00:00
Ben Hutchings c382b12892 Use only one template syntax
Use the same template syntax and implementation for maintainer
scripts, translations, etc. as we do for the control files.  Define
the image-stem and initramfs variables to replace the old K and I
variables.

After this, debian/linux-* and debian/po/*.po are generated files (at
source preparation time) and should be ignored in svn.

Use debhelper to install the generated files at build time.  This also
results in a redundant dependency on debconf (which we already have in
Pre-Depends), but this seems harmless.

svn path=/dists/trunk/linux/; revision=20508
2013-08-17 11:35:06 +00:00
Ben Hutchings a397da54a9 linux-image: Remove undocumented $KERNEL_ARCH variable from hook environment
Maintainer scripts generated by kernel-package pass an environment
variable $KERNEL_ARCH to hook scripts.  This is undocumented but seems
to be the architecture string that the kernel will report
(e.g. through 'uname -m').

However, for the past few years our maintainer scripts have set it to
the source architecture name instead.  Since no-one reported this bug,
I don't think anyone depends on it.  codesearch didn't find any users
either.  So remove it.

svn path=/dists/trunk/linux/; revision=20507
2013-08-17 11:34:40 +00:00
Ben Hutchings 505d7273f9 Move templates into the *right* places
...and remove the now-empty directories

svn path=/dists/trunk/linux/; revision=20506
2013-08-17 11:34:07 +00:00