Commit Graph

3 Commits

Author SHA1 Message Date
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