Upstream sets LC_ALL=C when building most things, and we do that in
one place to ensure consistent ordering. However the encoding of HTML
docs still differs. Choose 'C.UTF-8' instead of 'C' because it makes
the HTML docs slightly smaller.
When we introduced the find | sort | xargs tar pipeline to make the
tarball reproducible, I was concerned that there could be so many
arguments that xargs would call tar more than once. I therefore
changed the tar -c option to -r so that it would append rather
than overwriting in this case.
However, the -a option seems to have no effect when -r is used, so
the tarball is no longer compressed.
Instead of using xargs, use tar's -T option and change the -r
back to -c.
$KBUILD_BUILD_TIMESTAMP is used in two places:
1. By mkcompile_h, to generate both the utsname::version string
2. By gen_initramfs_list.sh, to set the timestamps for the built-in initramfs
As we want utsname::version to contain the package version and not an
RFC822 timestamp, the current value doesn't work for (2).
Change mkcompile_h to prefer $KBUILD_BUILD_VERSION_TIMESTAMP over
$KBUILD_BUILD_TIMESTAMP, and set both variables in debian/rules.real.
svn path=/dists/trunk/linux/; revision=22647
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
For arch-independent packages we don't need these, and the invocations
of dpkg-architecture with empty $(ARCH) result in error messages.
svn path=/dists/sid/linux/; revision=22033
* 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
Currently we set KW_CHECK_NONFATAL=y when building for experimental or
an unreleased package. In theory people would be checking for
kernel-wedge errors in the build logs. In practice this meant we
didn't see them until they appear in unstable where they are fatal.
svn path=/dists/sid/linux/; revision=21830
The bulk of the
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image rule is
actually Device Tree stuff, so rename it accordingly and move
installation of the image (now a single generic command) up to the
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain rule.
svn path=/dists/trunk/linux/; revision=21254
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
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
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
Drop most patches as they're already upstream in 3.8 or early.
Refresh some others for 3.8. In particular, remove use of __devinit from
debian/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
as this macro is no longer defined or needed.
svn path=/dists/trunk/linux/; revision=19856