Commit Graph

8 Commits

Author SHA1 Message Date
Ben Hutchings bcff92529e linux-image: Make initramfs support unconditional
svn path=/dists/sid/linux/; revision=21471
2014-06-27 15:38:07 +00:00
Ben Hutchings 373d086904 linux-image.postinst: Use lstat() to check symlink existence (Closes: #738707)
svn path=/dists/trunk/linux/; revision=21046
2014-02-13 23:42:07 +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 9824ebabc3 linux-image.postinst: Remove debconf warning about missing firmware
At this point, Debian users should know that they may need to install
firmware from non-free.  People using e.g. the r8169 driver may quite
reasonably choose not to install the associated firmware, either
because the driver doesn't actually request it for their chip or
because the driver can still work without it.

One thing we lose by doing this is a reminder that a firmware package
might also need to be upgraded, as a driver requires a newer version
of the firmware that has a different name.  As an alternative, we
could compare the firmware file lists for old and new modules and only
warn about newly listed files that are missing.  However, that would
also result in incorrect warnings for e.g. r8169 users, as that driver
may request a different file for each of the many chips it supports.

svn path=/dists/trunk/linux/; revision=20511
2013-08-17 11:37:04 +00:00
Ben Hutchings cffd29984a linux-image.postinst: Remove debconf warning about ramdisk variable in /etc/kernel-img.conf
We warned about removal of the 'ramdisk' configuration variable
on upgrade to wheezy, and don't need to warn about it again - at
least not this prominently.

svn path=/dists/trunk/linux/; revision=20510
2013-08-17 11:36:24 +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