- Enable it by default
- Disable it for armel/marvell since signature verification is not enabled.
- Disable it for mips and mipsel so linux-signed can be uploaded without
waiting for them to build
- Disable it for all architectures not in the main archive, as linux-signed
won't support them (at least, not initially).
We don't need a variable to control signing of the image, because
we should do that for all flavours that have CONFIG_EFI_STUB=y.
* Drop redundant gitignore.patch from linux-tools
* Rename linux-tools' debian/templates/control.main.in to
debian/templates/control.tools.in
* Combine changelogs, putting all entries for each upstream release
cycle in chronological order
* Combine rules and gencontrol.py code
The linux-grsec source package needs a way to explicitly disable these
binary packages which are already built by the linux source package.
We already do that when there are no actual kernels for the target
architecture. Rename the FOREIGN_KERNEL make variable and combine the
two conditions.
Based on work by Yves-Alexis Perez.
A parallel 'debian/rules build' will now invoke 'debian/rules.real
build' twice in parallel, which is disastrous.
- Add and use proper build-arch and build-indep targets in
debian/rules.gen and debian/rules.real
- Assign a separate temporary directory to each target in
debian/rules.real. Add the directories to .gitignore and
the clean rule.
- Pull installation of the lockdep wrapper (which is indep)
up into debian/rules.real so that we don't end up building
liblockdep twice in parallel.
Currently we don't allow versions like 3.16.7-ckt9-3~deb8u1~bpo7+1 in
*-backports, but we should! Add the security suffix as an option
before the backports suffix.
We also don't check that an upload to *-security or *-lts includes the
expected suffix and nothing else. Add a check for that.
svn path=/dists/trunk/linux/; revision=22539
Unfortunately it is not sufficient to provide virtual packages
that exactly match the ABI name. For example, 'reportbug kernel'
doesn't find the virtual package, and neither do dpkg commands
such as 'dpkg -l linux-image-$(uname -r)'.
svn path=/dists/sid/linux/; revision=22034
* 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
The filename of the kernel image to be installed, and the stem of the
installed name, varies between architectures, so we define several
different rules to install it for different sets of architectures.
However the basic fact that we need to install this file in /boot does
not.
We also duplicate this name information in gencontrol.py and in
debian/config/{armel,armhf,sh4}/defines (used by buildcheck.py).
To address this:
* Define [image]install-stem and [build]image-file for each architecture
* Copy these settings to make-flags in gencontrol.py
* Copy [image]install-stem to the image-stem template variable in
gencontrol.py
* Replace the per-architecture rules with a single rule using those
make-flags
The per-architecture rules for ARM and PowerPC also installed DTB
and DTS files, respectively. Include those commands in the single
rule with appropriate conditions around them.
svn path=/dists/trunk/linux/; revision=21253
In gencontrol.py 'abiname' now includes the upstream version whereas
the part after that is 'abiname_part'. Update the per-architecture
ABI name handling accordingly.
Also use the per-architecture ABI name in udeb package names and when
generating the maintainer scripts.
svn path=/dists/sid/linux/; revision=20762
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
- Add a suite/version sanity-check for backports
- Disable building of udebs whenever package version indicates backports
svn path=/dists/trunk/linux/; revision=20483
The kernel config files used to be uploaded to
http://kernel.alioth.debian.org/config/ or elsewhere, and people
occasionally request them, but we have no infrastructure to
automatically do that and I rarely remember to do it. These are
presumably wanted as a starting point by people building custom
packages who don't want to download the linux-image package, so
add them to the linux-source-$UPSTREAMVERSION package.
We can already generate all the config files without any
cross-toolchain using the 'setup' target in rules.gen, except that the
'make prepare' command in rules.real will fail. This command is
unnecessary as 'prepare' is a dependency of any build target we use
in our 'build-arch' rule, so remove it.
svn path=/dists/sid/linux/; revision=20400
Most of the patches added to sid are already in 3.5 and could be dropped.
Some others needed to be re-generated without the backporting changes.
Ignore the rt changes as there is no rt featureset for 3.5.
svn path=/dists/trunk/linux/; revision=19387
Extract the current usbip version from its config.h file rather than
repeating it in rules.real where we might forget to update it.
Pass VERSION_DEBIAN into rules.real from rules.gen rather than
invoking dpkg-parsechangelog again.
svn path=/dists/sid/linux-tools/; revision=19188
Change patch.apply.in to apply a single patch series without
filtering. Move series/base to series-all and series/base-extra to
series-rt and series-none (the latter empty).
Remove the redundant status file support from patch.apply.in, and
convert it into a static file rather than a template.
Remove the redundant patch series list support from patches.py.
svn path=/dists/sid/linux/; revision=19071
We have not used per-architecture patches for many years. This is a
step toward using a more standard patch system.
svn path=/dists/sid/linux/; revision=19070
The default (arch-independent) configuration was previously provided
by the kernel-wedge package, but we want to be able to update it
without changing that in future. Copy the configuration files from
kernel-wedge 2.82 (except loop-aes-modules which is now unused).
Depend on kernel-wedge 2.83, which adds this feature.
(cherry-picked from trunk)
svn path=/dists/sid/linux-2.6/; revision=18400
Look on real upstream version during extraction of revisions for patch
series.
* debian/changelog: Update.
svn path=/dists/sid/linux-2.6/; revision=18337
This is not just for 3.0 and 3.1. We will remove this after wheezy
release, whichever version that is.
svn path=/dists/trunk/linux-2.6/; revision=18246
Use kernel-wedge in gencontrol.py and during the build process to
generate the udeb packages required by debian-installer.
Add the kernel-wedge configuration files from all the current
linux-kernel-di-$arch-2.6 packages.
svn path=/dists/trunk/linux-2.6/; revision=18121
The mainline kernel now supports paravirtualisation on various
hypervisors and there will be no Xen-specific kernel images.
svn path=/dists/trunk/linux-2.6/; revision=17634
- Fix source package name as linux-kbuild-2.6
- Remove the 'major' template variable and 'MAJOR' make variable
svn path=/dists/trunk/linux-kbuild-2.6/; revision=17560
- 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
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
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
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
- 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