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
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
There is not enough space for both timestamp and package version, so
replace the timestamp by setting KBUILD_BUILD_TIMESTAMP.
We now need to get the distribution name in debian/rules.real, but
we already have DISTRIBUTION as the suite name so use DISTRIBUTOR for
the distribution name (!).
The utsname version string also appears in /proc/version and the init
banner, so don't bother including it again explicitly. This means we
no longer need to patch init/version.c and scripts/mkcompile_h at all.
Instead, split maintainer at the '@' and set KBUILD_BUILD_USER and
KBUILD_BUILD_HOST accordingly.
Carry on generating <generated/package.h>, but drop the parentheses
from LINUX_PACKAGE_ID now that it's not used in init/version.c.
Drop support for version.$DISTRIBUTION files. Any derived
distribution can set KBUILD_BUILD_* in the same way we are doing.
svn path=/dists/sid/linux/; revision=19289
Derived packages (e.g. for extra featuresets) may be maintained using
yet another patch series (touching the debian directory). This will
require an additional status directory, specified by setting QUILT_PC.
Override this when we invoke quilt to apply the main and featureset
patch series. (Thanks to Yves-Alexis Perez.)
svn path=/dists/sid/linux/; revision=19243
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
Remove the generic version now that these architectures have there own spcific
version. Fixes:
debian/rules.real:384: warning: overriding commands for target `install-image_armel_none_kirkwood_plain_image'
debian/rules.real:379: warning: ignoring old commands for target `install-image_armel_none_kirkwood_plain_image'
svn path=/dists/sid/linux/; revision=19171
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
I already changed the 'real' module installation step to avoid
creating and then removing an unknown set of module index files, using
a script as a replacement for depmod. However, we use modules_install
a second time when building debug packages. Change that similarly, and
remove the build-dependency.
svn path=/dists/trunk/linux-2.6/; revision=18871
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.
svn path=/dists/trunk/linux-2.6/; revision=18347
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
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
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
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
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
Add verbose option (KBUILD_VERBOSE=1/V=1) to listnewconfig, rather than
adding yet more targets. Change rules.real accordingly.
svn path=/dists/trunk/linux-2.6/; revision=16619
From: Ritesh Raj Sarraf
Add .gnu_debuglink information into kernel modules to point to the
correct DWARF enabled kernel module. This is needed by SystemTap to
instrument a kernel module.
svn path=/dists/trunk/linux-2.6/; revision=16153
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
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
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
debhelper automatically includes debconf translations so we won't have
to worry about the details. It also sets permissions correctly for
the control files.
svn path=/dists/sid/linux-2.6/; revision=15491
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