- Use system_failure_message() to generate the error message
- Exit using "die", not passing up the exit code (which will be 0 in case the
process was terminated by signal!)
- Remove redundant path lookup since system() already does that
depmod has been stable for a very long time so there's no reason to
have a configuration variable and debconf question to handle failure.
While we're at it, fix the decoding of $? to handle the exec failure
case ($? == -1).
use source package name in templates so it's easier for derivatives like
src:linux-grsec to not conflict with binaries from src:linux.
Original patch by Ben Hutchings.
Currently we have xz-utils in build-depends-indep as we explicitly
use xz to compress files in linux-source. We also have a build-
dependency on lzma (now a virtual package provided by xz-utils),
but only on armel which was the first architecture for which we
set CONFIG_KERNEL_XZ=y.
However, since 3.7 we've set CONFIG_KERNEL_XZ for all architectures so
xz-utils is needed everywhere. Currently we get away with this
because dpkg-dev depends on xz-utils, but this could change in future.
Build-depend on xz-utils without qualification.
liblockdep is in fairly bad shape - one patch needed to make it build
at all, another to make it build in a separate directory successfully,
and a third to fix the soname. And the install rule doesn't install
its public headers. But maybe it will be useful.
linux-tools-4.1 already exists in experimental. As linux-perf-4.1
installs the same files, it needs to conflict and replace it.
This won't be needed for 4.2 onward.
svn path=/dists/trunk/linux-tools/; revision=22900
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 template file has been moved, but POTFILES.in hasn't been updated
following that move. This way the po files can be updated using:
debconf-updatepo --podir=debian/templates/po
svn path=/dists/sid/linux/; revision=21518
Replace 'powerpc/powernv: Add calls to support little endian host'
with the version committed upstream.
Drop the ABI-preserving changes.
svn path=/dists/trunk/linux/; revision=21452
- Remove versions for debhelper, python, kernel-wedge that are satisfied by stable
- Remove module-init-tools as alternative to kmod, which is in stable
svn path=/dists/sid/linux/; revision=21117
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
The transition from libunwind soversion 7 to 8 is blocked and will
likely remain blocked for some time because libunwind7 is linked into
all ia64 binaries.
For amd64 and i386, downgrade the build-dependency to libunwind7-dev.
For architectures that are supported by libunwind8-dev, remove the
build-dependency and ensure we don't accidentally link with libunwind8
by setting NO_LIBUNWIND=1 when building perf.
svn path=/dists/sid/linux-tools/; revision=20755
libunwind8-dev is available but practically uninstallable on ia64, as
the default compiler version is still gcc-4.6 which depends on
libunwind7-dev and thus conflicts with it.
We could use libunwind7-dev instead, but then we only want it for perf
which we can't build for ia64 anyway!
svn path=/dists/sid/linux-tools/; revision=20741
At this point, Debian users should know that they may need to install
firmware from non-free. People using e.g. the r8169 driver may quite
reasonably choose not to install the associated firmware, either
because the driver doesn't actually request it for their chip or
because the driver can still work without it.
One thing we lose by doing this is a reminder that a firmware package
might also need to be upgraded, as a driver requires a newer version
of the firmware that has a different name. As an alternative, we
could compare the firmware file lists for old and new modules and only
warn about newly listed files that are missing. However, that would
also result in incorrect warnings for e.g. r8169 users, as that driver
may request a different file for each of the many chips it supports.
svn path=/dists/trunk/linux/; revision=20511
We warned about removal of the 'ramdisk' configuration variable
on upgrade to wheezy, and don't need to warn about it again - at
least not this prominently.
svn path=/dists/trunk/linux/; revision=20510
Refresh with: debconf-updatepo --podir=debian/templates/po
This resulted in some fuzzy matches between "Boot loader configuration
must be updated" and "Ramdisk configuration must be updated". These
obviously should not use the same translation so I removed the fuzzy
translations.
svn path=/dists/trunk/linux/; revision=20509
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
Maintainer scripts generated by kernel-package pass an environment
variable $KERNEL_ARCH to hook scripts. This is undocumented but seems
to be the architecture string that the kernel will report
(e.g. through 'uname -m').
However, for the past few years our maintainer scripts have set it to
the source architecture name instead. Since no-one reported this bug,
I don't think anyone depends on it. codesearch didn't find any users
either. So remove it.
svn path=/dists/trunk/linux/; revision=20507
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
Users of out-of-tree modules need linux-kbuild even when not doing any
real development. Moving it to section "kernel" should make it easier
to find.
svn path=/dists/trunk/linux-tools/; revision=19654
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
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
Build-Depend on bison and flex, now required to build perf.
Update tools-perf-version.patch for changes in man page output paths.
svn path=/dists/trunk/linux-tools/; revision=19106
This allows us to list modules as required even if they are built-in
in some configurations. (Which I already did by mistake with 'hid' in
3.2.19-1.)
svn path=/dists/sid/linux/; revision=19088
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
Update Vcs-Browser URL for the switch to ViewVC
Point Vcs-{Svn,Browser} at trunk branch, since the sid branch does not always exist
svn path=/dists/trunk/linux-2.6/; revision=18596
Since the module taint string includes parentheses if is non-empty, I
originally set cut to use an empty output delimiter so that this
string would immediately follow the module name. But currently this
results in a null byte between them, which unsurprisingly has led to
some slightly mangled bug reports. For now, use sed to delete the
space.
svn path=/dists/trunk/linux-2.6/; revision=18512
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
perf is now built from the linux-tools source package. Remove
libelf-dev, libdw-dev, binutils-dev, asciidoc, libperl-dev,
python-dev, libnewt-dev which were only used for that. Move
xmlto to Build-Depends-Indep since all documentation is now in
arch:all packages again.
(cherry-picked from trunk)
svn path=/dists/sid/linux-2.6/; revision=18399
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
perf is now built from the linux-tools source package. Remove
libelf-dev, libdw-dev, binutils-dev, asciidoc, libperl-dev,
python-dev, libnewt-dev which were only used for that. Move
xmlto to Build-Depends-Indep since all documentation is now in
arch:all packages again.
svn path=/dists/trunk/linux-2.6/; revision=18289
In earlier versions of linux-base, the perf wrapper will call the
wrong command e.g. perf_3.1.0 instead of perf_3.1.
svn path=/dists/trunk/linux-tools/; revision=18279
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
- 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