Commit Graph

471 Commits

Author SHA1 Message Date
Ben Hutchings 7faadf0a48 linux-libc-dev: Multi-arch support
Install include/asm under arch-specific directory.
Mark package as multi-arch-coinstallable (Multi-Arch: same).

svn path=/dists/trunk/linux-2.6/; revision=17868
2011-07-29 15:43:29 +00:00
Aurelien Jarno a2a80612e7 * Add configuration files for s390x architecture.
svn path=/dists/trunk/linux-2.6/; revision=17861
2011-07-28 09:37:10 +00:00
Ben Hutchings a987a4c771 Merge changes from sid up to 2.6.39-3
svn path=/dists/trunk/linux-2.6/; revision=17830
2011-07-12 05:25:23 +00:00
Ben Hutchings f4819fe26f linux-support, linux-tools: Use dh_python2 instead of dh_pysupport
svn path=/dists/trunk/linux-2.6/; revision=17820
2011-07-08 01:07:49 +00:00
Ben Hutchings 18217c7c93 linux-source-<version>: Suggest libqt4-dev (for 'make xconfig') instead of libqt3-mt-dev (Closes: #631666)
svn path=/dists/sid/linux-2.6/; revision=17725
2011-06-25 22:18:46 +00:00
Ben Hutchings b265641834 Remove templates for obsolete image types 'kernel-package' and 'modulesinline'
svn path=/dists/trunk/linux-2.6/; revision=17633
2011-06-08 23:55:21 +00:00
Ben Hutchings ae6bf403da Fix incorrect variable name in version comparison
This was introduced by the previous change.

Thanks to Stefan Lippers-Hollmann for spotting this.

svn path=/dists/trunk/linux-2.6/; revision=17574
2011-06-02 00:39:44 +00:00
Ben Hutchings f7e1cc332e Fix version comparison in precondition for firmware file check
svn path=/dists/trunk/linux-2.6/; revision=17571
2011-06-01 10:03:07 +00:00
Maximilian Attems bb8bb2789e newer standards version 3.9.2
svn path=/dists/trunk/linux-2.6/; revision=17569
2011-06-01 09:45:00 +00:00
Ben Hutchings 1b919cfb84 Prepare gencontrol and templates for Linux 3.0
- Remove all relations based on the 'major' template variable
- Define 'source_package' template variable and use it in place
  of 'linux-@major@' in linux-patch-debian-<version> description
- Expect only 2 upstream version components if first component is
  not '2'
- Remove the 'major' template variable and 'MAJOR' make variable

svn path=/dists/trunk/linux-2.6/; revision=17482
2011-05-30 18:54:31 +00:00
Maximilian Attems 29b930fa70 fix postinst + add forgotten changelog entry.
this check is superflous and looking for wrong path.
As we depend on an initramfs generator the failure of generating
would have happened already earlier.

svn path=/dists/trunk/linux-2.6/; revision=17459
2011-05-19 12:22:08 +00:00
Ben Hutchings 260410c316 Remove now-unused variable
svn path=/dists/trunk/linux-2.6/; revision=17426
2011-05-16 04:12:02 +00:00
Ben Hutchings efa8ec1d0c Remove check for do_bootloader
This warning was present in squeeze and should not need to be repeated.

svn path=/dists/trunk/linux-2.6/; revision=17425
2011-05-16 04:07:16 +00:00
Ben Hutchings 5f375916e4 postinst: Remove specific support for running a ramdisk creator
Warn users that specify one in /etc/kernel-img.conf.
Require initramfs-tools >= 0.99, which does not depend on being directly
invoked.

svn path=/dists/trunk/linux-2.6/; revision=17424
2011-05-16 03:57:43 +00:00
Ben Hutchings 7fabfe5422 Add optional parameters to our showwarning() implementation
The fixed 4-parameter function signature is deprecated since Python 2.6.

svn path=/dists/trunk/linux-2.6/; revision=17392
2011-05-12 01:17:25 +00:00
Ben Hutchings 9981e3ae28 [armhf] Build a linux-tools package
svn path=/dists/trunk/linux-2.6/; revision=17269
2011-04-29 03:55:22 +00:00
Ben Hutchings 0e97e46cea [ppc64] Add to linux-tools package architectures (Closes: #620124)
svn path=/dists/sid/linux-2.6/; revision=17159
2011-03-30 12:31:31 +00:00
Ben Hutchings 3ecf275cd9 Enable BOOT_PRINTK_DELAY and suggest use of boot_delay in bug presubj
svn path=/dists/sid/linux-2.6/; revision=17107
2011-03-24 05:23:39 +00:00
Ben Hutchings f122cbc67a Remove firmware-linux-free and linux-base binary packages
These now have their own source packages.

Change the depends/recommends relations to these binary packages to
use a minimum version of 3~, less than the initial versions of the
separate source packages but still greater than the previous versions.

Remove the debconf templates and translations for linux-base.

svn path=/dists/trunk/linux-2.6/; revision=17055
2011-03-12 09:13:38 +00:00
Ben Hutchings 2ec9d30f39 perf: Build with newt for improved user interface (Closes: #615868)
svn path=/dists/trunk/linux-2.6/; revision=17012
2011-03-06 23:00:01 +00:00
Ben Hutchings 5abb59823d perf: Build with libdwarf for improved analysis capabilities
svn path=/dists/trunk/linux-2.6/; revision=17011
2011-03-06 22:21:58 +00:00
Ben Hutchings 871633716d Revert "postinst: Remove specific support for running a ramdisk creator" etc.
initramfs-tools still assumes that official kernel packages will call
it specifically and does nothing in the postinst hook if it recognises
that it has been called by an official package.  Therefore we cannot
make this change yet.


svn path=/dists/trunk/linux-2.6/; revision=16981
2011-03-04 04:14:38 +00:00
Ben Hutchings e91b23c9a7 Direct users to hook script documentation in case their other packages have not been updated
svn path=/dists/trunk/linux-2.6/; revision=16979
2011-03-03 14:47:15 +00:00
Ben Hutchings 961c886f21 Do not recommend use of postinst_hook for running ramdisk creator
svn path=/dists/trunk/linux-2.6/; revision=16978
2011-03-03 14:42:14 +00:00
Ben Hutchings a68b161473 postinst: Remove specific support for running a ramdisk creator
Warn users that specify one in /etc/kernel-img.conf.
Require initramfs-tools >= 0.94, which installs a postinst hook.

svn path=/dists/trunk/linux-2.6/; revision=16958
2011-03-01 05:44:42 +00:00
Ben Hutchings 99be663773 module,bug: Add TAINT_OOT_MODULE flag for modules that weren't built in-tree
Also decode this new flag in the bug script.

svn path=/dists/trunk/linux-2.6/; revision=16914
2011-02-19 02:38:21 +00:00
Ben Hutchings f849dfc060 Decode new taint flag TAINT_FIRMWARE_WORKAROUND
svn path=/dists/trunk/linux-2.6/; revision=16913
2011-02-18 23:25:34 +00:00
Bastian Blank 7f5e7db196 Merge /dists/squeeze/linux-2.6 (2.6.32-30).
svn path=/dists/trunk/linux-2.6/; revision=16903
2011-02-16 17:06:01 +00:00
Maximilian Attems 2bb39eb769 Newer Standards-Version 3.9.1 without changes
svn path=/dists/trunk/linux-2.6/; revision=16521
2010-10-31 16:15:20 +00:00
Ben Hutchings e54cefd0de perf: Enable Perl and Python scripting
svn path=/dists/trunk/linux-2.6/; revision=16422
2010-10-10 02:36:46 +00:00
Ben Hutchings c86844648a On second thoughts, move scripts to /usr/share/perf_<version>-core
svn path=/dists/trunk/linux-2.6/; revision=16421
2010-10-10 02:12:28 +00:00
Ben Hutchings 3fd8f69aad perf: Move scripts to /usr/share/perf-core in linux-base package (Closes: #599624)
svn path=/dists/trunk/linux-2.6/; revision=16420
2010-10-10 01:48:46 +00:00
Ben Hutchings 3ce11d748c linux-base: Remove dependency on libapt-pkg-perl (Closes: #589996, really)
svn path=/dists/trunk/linux-2.6/; revision=16357
2010-09-26 14:36:27 +00:00
Ben Hutchings 05c7ed67bd Remove check() subroutine
This has been broken since kernel-package 10.037 because it uses '+='
instead of '.='.  Since no-one seems to care, remove it rather than
fixing it.


svn path=/dists/trunk/linux-2.6/; revision=16234
2010-09-03 22:29:24 +00:00
Ben Hutchings 66caf86b16 use strict; use warnings;
Declare implicitly-global variables with 'my'.
Fix variable name discrepancies.
Remove unused variables.

svn path=/dists/trunk/linux-2.6/; revision=16224
2010-08-30 00:33:54 +00:00
Ian Campbell 979949830e Fix some low hanging lintian warnings
svn path=/dists/trunk/linux-2.6/; revision=16172
2010-08-21 07:59:17 +00:00
Maximilian Attems 53a28a1725 images nuke modules.devname on removal
svn path=/dists/trunk/linux-2.6/; revision=16081
2010-08-04 18:57:14 +00:00
Ben Hutchings d9fbd566dd Merge changes from 2.6.32-18
svn path=/dists/trunk/linux-2.6/; revision=16013
2010-07-23 23:59:49 +00:00
Ben Hutchings bf53f8f2c6 postinst: Remove support for 'default' boot loaders
Warn users on upgrade if the current configuration may rely on this.
The debconf templates will need a translation update.

svn path=/dists/sid/linux-2.6/; revision=15990
2010-07-16 14:58:05 +00:00
Ben Hutchings 2f7603fb20 linux-tools: Restrict architectures
Don't attempt to build for architectures where perf events are not available.
Also set V=2 to help debug any build failures.

svn path=/dists/trunk/linux-2.6/; revision=15974
2010-07-10 20:53:49 +00:00
Ben Hutchings 6e808c5908 Fix architecture list; it is space- not comma-separated
svn path=/dists/sid/linux-2.6/; revision=15972
2010-07-10 15:47:00 +00:00
Ben Hutchings 8f9b61a31a Add build-dependency on binutils-dev to enable symbol demangling in perf
svn path=/dists/sid/linux-2.6/; revision=15970
2010-07-10 15:14:09 +00:00
Ben Hutchings a0f4087607 linux-tools: Restrict architectures and fix build for hppa
perf: Use sane default CFLAGS
perf: Don't hide compiler/linker errors from libelf test
perf: Don't use /dev/null as the output file for libelf test
Don't attempt to build for architectures where perf events are not available.

svn path=/dists/sid/linux-2.6/; revision=15967
2010-07-08 03:30:36 +00:00
Ben Hutchings 04b38ec92d Merge changes from 2.6.32-16
Add patches that were added in 2.6.32-16 and are not in 2.6.35-rc3.
Update configuration.
Update maintainer scripts and debconf templates.
Add linux-tools-<version> package.

svn path=/dists/trunk/linux-2.6/; revision=15934
2010-07-04 21:07:52 +00:00
Ben Hutchings 97238c15a8 Add linux-tools-<version> package containing the perf tool (Closes: #548715)
svn path=/dists/sid/linux-2.6/; revision=15932
2010-07-04 17:08:13 +00:00
Ben Hutchings 8203cf8518 Always set kernel image basename template variable (=K)
Instead of setting an empty value, then fixing that to 'vmlinuz', set
the correct value to start with and remove the install-time fixups.

svn path=/dists/sid/linux-2.6/; revision=15890
2010-06-19 00:41:27 +00:00
Ben Hutchings 38a95ae784 Remove obsolete check for kernel-package bug
svn path=/dists/sid/linux-2.6/; revision=15889
2010-06-19 00:32:23 +00:00
Ben Hutchings 5850161882 Get rid of Debian architecture template variable (=A)
This is only used to initialise a variable which is itself not used.

svn path=/dists/sid/linux-2.6/; revision=15888
2010-06-19 00:27:37 +00:00
Ben Hutchings b511ef3368 Get rid of some flag template variables (=IB, =M, =S)
These are always empty now.

svn path=/dists/sid/linux-2.6/; revision=15886
2010-06-18 03:53:48 +00:00
Ben Hutchings 967fd2f280 Get rid of the installation directory template variable (=D)
This is always '/boot'.  We can also stop manipulating this constant
in the maintainer scripts.

svn path=/dists/sid/linux-2.6/; revision=15885
2010-06-18 03:46:24 +00:00
Ben Hutchings b57f84c58a Get rid of the stem template variable (=ST)
We're not going to rename back to 'kernel' any time soon.

svn path=/dists/sid/linux-2.6/; revision=15884
2010-06-18 03:35:05 +00:00
Ben Hutchings 740f50083f Merge /dists/sid/linux-2.6 (2.6.32-13).
svn path=/dists/trunk/linux-2.6/; revision=15735
2010-05-18 02:17:18 +00:00
Ben Hutchings 9687979cd3 Update debconf templates; add many translations
svn path=/dists/sid/linux-2.6/; revision=15680
2010-05-13 21:55:26 +00:00
Bastian Blank 5f54dc434f Merge debugging package support.
svn path=/dists/sid/linux-2.6/; revision=15651
2010-05-09 16:50:27 +00:00
Bastian Blank cf78de7919 debian/templates/control.image-dbg.in: Add long description.
svn path=/dists/trunk/linux-2.6/; revision=15637
2010-05-07 15:48:22 +00:00
Ben Hutchings 28817f7dbd Merge /dists/sid/linux-2.6 (2.6.32-12).
svn path=/dists/trunk/linux-2.6/; revision=15620
2010-05-04 02:55:51 +00:00
Bastian Blank eef8e0abf6 Merge /dists/sid/linux-2.6 (2.6.32-11).
svn path=/dists/trunk/linux-2.6/; revision=15575
2010-04-27 17:48:06 +00:00
Bastian Blank 1ba3024f9a debian/templates/control.image-dbg.in: Set correct section and priority.
svn path=/dists/trunk/linux-2.6/; revision=15570
2010-04-27 14:14:34 +00:00
Bastian Blank ab3c0154f7 * debian/bin/gencontrol.py: Add support for debug packages.
* debian/lib/python/debian_linux/config.py: Add image-dbg section.
* debian/templates/control.image-dbg.in: Add.

svn path=/dists/trunk/linux-2.6/; revision=15566
2010-04-27 08:50:30 +00:00
Maximilian Attems aaf45a2e6a postrm rm modules.sotfdep
svn path=/dists/sid/linux-2.6/; revision=15555
2010-04-25 22:58:27 +00:00
Ben Hutchings 06986e9c25 Use vol_id if available since the version of blkid in lenny does not support the output format we need (Closes: #576608)
svn path=/dists/sid/linux-2.6/; revision=15509
2010-04-11 00:50:08 +00:00
Aurelien Jarno ef5bc98e4d Add sh4 architecture, ported from the sid branch
svn path=/dists/trunk/linux-2.6/; revision=15502
2010-04-09 15:53:34 +00:00
Ben Hutchings 2f64f9f3b5 Prepare debconf templates for translation
This will actually work after the previous change to debian/rules.real.

svn path=/dists/sid/linux-2.6/; revision=15492
2010-04-06 02:52:26 +00:00
Maximilian Attems 1326182c91 Revert for now "Prepare debconf templates for translation"
causes on install, series of:
debconf: Unknown template field '_description', in stanza #1 of
/var/lib/dpkg/info/linux-image-2.6.32-4-amd64.templates

svn path=/dists/sid/linux-2.6/; revision=15490
2010-04-06 01:04:08 +00:00
Moritz Muehlenhoff 1a90511019 add support for sh4
svn path=/dists/sid/linux-2.6/; revision=15467
2010-04-01 22:44:03 +00:00
Ben Hutchings 6fc8a89272 Prepare debconf templates for translation
svn path=/dists/sid/linux-2.6/; revision=15456
2010-03-29 13:17:06 +00:00
Ian Campbell d330957536 Include Xen hypervisor in reportbug "related to" list.
svn path=/dists/sid/linux-2.6/; revision=15453
2010-03-27 08:15:45 +00:00
Ian Campbell 0f9ad99ba7 Include Xen hypervisor in reportbug "related to" list.
svn path=/dists/trunk/linux-2.6/; revision=15452
2010-03-27 08:11:33 +00:00
Ben Hutchings c67642faaf linux-headers-*: Support postinst hooks in /etc/kernel/header_postinst.d
Thanks to Michael Gilbert. (Closes: #569724)


svn path=/dists/sid/linux-2.6/; revision=15450
2010-03-26 05:11:27 +00:00
Maximilian Attems 995c0d70b0 port over linux-base changes of sid branch
svn path=/dists/trunk/linux-2.6/; revision=15414
2010-03-17 16:11:40 +00:00
Ben Hutchings 17946f8146 Change linux-base dependency to require same or later source version
svn path=/dists/sid/linux-2.6/; revision=15412
2010-03-16 22:36:55 +00:00
Ben Hutchings bff850f9b2 Scrub /etc/network/interfaces whether or not the running kernel matches
svn path=/dists/sid/linux-2.6/; revision=15406
2010-03-16 22:02:27 +00:00
Ben Hutchings ca56472176 Use libata-based drivers for most PATA controllers (Closes: #444182)
Add transition script to linux-base and make all images depend on it.
Add NEWS explaining the transition.

svn path=/dists/sid/linux-2.6/; revision=15395
2010-03-16 05:40:15 +00:00
Ben Hutchings 7fe949a47c Remove /usr/include/drm from linux-libc-dev; let libdrm-dev provide it again
svn path=/dists/sid/linux-2.6/; revision=15374
2010-03-14 23:09:37 +00:00
Ben Hutchings f92b888553 Remove /usr/include/drm from linux-libc-dev; let libdrm-dev provide it again (Closes: #572067)
svn path=/dists/trunk/linux-2.6/; revision=15373
2010-03-14 22:55:16 +00:00
Ben Hutchings a40042f1ab linux-base: For consistency with fresh installations, use or assign UUIDs rather than labels where both are available (Closes: #572376)
svn path=/dists/trunk/linux-2.6/; revision=15347
2010-03-10 03:57:49 +00:00
Bastian Blank f5d1c9b954 * debian/bin/gencontrol.py
- Disable old xen support.
  - Support xen dom0 for all images.
* debian/templates/control.xen-linux-system.in: Fix description.

svn path=/dists/sid/linux-2.6/; revision=15299
2010-03-01 13:04:08 +00:00
Ben Hutchings 1010d1cd17 Use libata-based drivers for most PATA controllers (Closes: #444182)
Add transition script to linux-base and make all images depend on it


svn path=/dists/trunk/linux-2.6/; revision=15272
2010-02-25 04:11:39 +00:00
Maximilian Attems 0444600a0f Postinst only write kernel-img.conf for palo boxes.
there wasnt much point in writing an empty file with comments anyway.
linux-2.6 images should now be piuparts clean on most archs.

this is a tamed down version of the orginal proposal to get
it rid everywhere:
http://lists.debian.org/debian-kernel/2009/11/msg00328.html

Reviewed-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

svn path=/dists/trunk/linux-2.6/; revision=15173
2010-02-16 10:13:55 +00:00
Ben Hutchings 71af6e5df6 templates: Remove more bogus //g modifiers
svn path=/dists/trunk/linux-2.6/; revision=15165
2010-02-16 03:45:59 +00:00
Ben Hutchings 9e3a9aeb3e postinst: Remove bogus //g modifiers
svn path=/dists/trunk/linux-2.6/; revision=15163
2010-02-16 03:21:13 +00:00
Ben Hutchings 50a54703bd Ignore failure of lsusb when gathering information for bug reports (Closes: #569725)
svn path=/dists/trunk/linux-2.6/; revision=15161
2010-02-16 02:42:05 +00:00
Maximilian Attems 95b328053d postinst don't reference k-p related manpage
we don't want to tell users to install it.
as it is only useful for dev usage simply don't recommend it.

svn path=/dists/trunk/linux-2.6/; revision=15149
2010-02-13 12:25:52 +00:00
Maximilian Attems bddf236fb5 Newer Standards-Version 3.8.4 without changes.
svn path=/dists/trunk/linux-2.6/; revision=15099
2010-02-02 22:08:58 +00:00
Maximilian Attems 2c83717624 pass DEB_MAINT_PARAMS to hook scripts
hook scripts like to know the invoked maintainer script options.

svn path=/dists/trunk/linux-2.6/; revision=15014
2010-01-26 17:24:06 +00:00
Ben Hutchings 13125c9c65 postinst: Enable escape sequences in debconf notes (Closes: #566539)
svn path=/dists/trunk/linux-2.6/; revision=15001
2010-01-26 03:17:07 +00:00
Martin Michlmayr 4c41a6dfc8 Report model information on armel when filing a bug.
svn path=/dists/trunk/linux-2.6/; revision=14836
2009-12-30 16:53:56 +00:00
Ben Hutchings cc4b0680ed Correct comments referring to dpkg --print-installation-architecture in maintainer scripts (Closes: #558077)
svn path=/dists/trunk/linux-2.6/; revision=14821
2009-12-29 14:33:11 +00:00
Ben Hutchings 8bf9a24285 postinst: Fix failure paths in check for missing firmware (Closes: #560263)
svn path=/dists/trunk/linux-2.6/; revision=14768
2009-12-10 01:48:04 +00:00
Bastian Blank 833834e375 Add linux-base package.
* debian/rules.real: Build linux-base.
* debian/templates/control.main.in
* debian/tree: New directory.
* debian/tree/linux-base: Add empty tree for linux-base.

svn path=/dists/trunk/linux-2.6/; revision=14737
2009-12-05 15:33:15 +00:00
Bastian Blank b0e6ad3767 Drop linux-tree package.
* debian/changelog: Update.
* debian/bin/gencontrol.py, debian/rules.real:
  Remove support for linux-tree package.
* debian/templates/control.tree.in: Remove.

svn path=/dists/trunk/linux-2.6/; revision=14736
2009-12-04 19:16:08 +00:00
Bastian Blank fa0d5b3039 debian/templates/control.main.in:
Make linux-patch package depend against python.

svn path=/dists/trunk/linux-2.6/; revision=14699
2009-11-28 14:45:16 +00:00
Bastian Blank c6872528de debian/templates/patch.apply.in: Use new path to python files.
svn path=/dists/trunk/linux-2.6/; revision=14698
2009-11-28 14:44:30 +00:00
Bastian Blank c22fbd4990 * debian/bin/gencontrol.py: Don't use control.support template.
* debian/templates/control.main.in:
  Merge contents of debian/templates/control.support.in.

svn path=/dists/trunk/linux-2.6/; revision=14697
2009-11-28 14:43:28 +00:00
Bastian Blank d4b8d8ef32 debian/templates/control.source.in, debian/templates/control.support.in:
Remove python-central specific settings.

svn path=/dists/trunk/linux-2.6/; revision=14696
2009-11-28 14:40:51 +00:00
Bastian Blank 06610f5220 * debian/rules.real: Use python-support.
* debian/templates/control.source.in: Build-depend against python-support.

svn path=/dists/trunk/linux-2.6/; revision=14695
2009-11-28 14:37:56 +00:00
Maximilian Attems 1b6e3e1ee2 nuke variable relative_links
unused and undocumented, thus can go.

svn path=/dists/trunk/linux-2.6/; revision=14664
2009-11-23 11:52:55 +00:00
Ben Hutchings b2e6a82217 Hide WPA authentication parameters and comments when including network configuration in bug reports (bug #555680)
svn path=/dists/trunk/linux-2.6/; revision=14660
2009-11-21 18:22:26 +00:00
Maximilian Attems 8d0a1929ec prerm no need to remove modules.dep
we do it anyway on postrm

svn path=/dists/trunk/linux-2.6/; revision=14647
2009-11-17 14:52:25 +00:00
Maximilian Attems 1c6289c6bf postrm and preinst nuke more even unused variables
those templates are nowhere to be found.

svn path=/dists/trunk/linux-2.6/; revision=14646
2009-11-17 13:27:20 +00:00