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.
Sort the tarball contents and set their mtimes to the upstream
release time. (In case we're given a tarball and patch, the
release time is unknown and the result is not reproducible. So
don't do that.)
The version parsing was fine but we had 3.x hardcoded in the URL.
Assume that each major version gets a new directory from now on.
svn path=/dists/trunk/linux/; revision=22558
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
Don't confuse 'no' with 'not-needed'.
Don't accept values other than 'no', 'not-needed' and URLs which we
assume must begin with 'http'.
svn path=/dists/sid/linux/; revision=22043
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
- genorig: Include new directory for usbip UAPI header
- debian/control: Update Build-Depends for usbip switching from libsysfs to libudev
svn path=/dists/trunk/linux-tools/; revision=21641
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
debian/lib/python/debian_linux/debian.py,
debian/lib/python/debian_linux/patches.py,
- Support Python 3.
- Use six if necessary.
* debian/templates/control.main.in, debian/templates/control.source.in:
Depend on python-six.
svn path=/dists/trunk/linux/; revision=20946
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
Exclude RT changes and ABI fudges.
Refresh firmware-remove-redundant-log-messages-from-drivers.patch
against 3.6, but don't attempt to cover anything new yet.
svn path=/dists/trunk/linux/; revision=19603
This requires including another source file in the 'orig' tarball, so
bump to the latest stable update. I don't think it has any fixes
relevant to linux-tools.
svn path=/dists/trunk/linux-tools/; revision=19565
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
Do not build a shared library package; the API and ABI have changed
from libusbip0 but there has been no upstream soversion change.
svn path=/dists/sid/linux-tools/; revision=19177
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
We want to avoid shipping any files generated by depmod (which should
be generated in the postinst) and the 'build' and 'source' symlinks
(which should be installed by the linux-headers package). Since
depmod has generated more and more files over time, we have been
removing all unexpected files under /lib/modules/<kernel-version>,
accidentally including modules.builtin which is *not* generated by
depmod.
Try to solve the problem generally by substituting a dummy depmod
command and then just removing the 'build' and 'source' symlinks.
svn path=/dists/trunk/linux-2.6/; revision=18456
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