--- kexec-tools-2.0.1.orig/debian/rules +++ kexec-tools-2.0.1/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: patch configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + if [ ! -f ./configure ] ; then aclocal -I config; autoheader; autoconf; fi; \ + ./configure --prefix=/usr --sbindir=/sbin --mandir=/usr/share/man --datadir=/usr/share + + touch configure-stamp + + +build: patch build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: tidy unpatch + +tidy: patch configure-stamp + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -fr tmp-source + + # Add here commands to clean up after the build process. + $(MAKE) dist-clean + + dh_clean + debconf-updatepo + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=$(CURDIR)/debian/kexec-tools + install -D -m755 debian/kdump.initramfs \ + debian/kexec-tools/usr/share/initramfs-tools/scripts/init-bottom/0_kdump +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + [ ! -f $(CURDIR)/debian/kexec-tools/usr/lib/kexec-tools-testing/kexec_test.static ] || strip $(CURDIR)/debian/kexec-tools/usr/lib/kexec-tools-testing/kexec_test.static +endif + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installdebconf + dh_installinit --no-start -r --name=kexec -- start 85 6 . + dh_installinit --no-start -r --name=kexec-load -- stop 18 6 . + dh_installinit --no-start -r --name=kdump -- start 00 2 . + dh_installexamples + dh_install + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- kexec-tools-2.0.1.orig/debian/kexec-tools.templates +++ kexec-tools-2.0.1/debian/kexec-tools.templates @@ -0,0 +1,7 @@ +Template: kexec-tools/load_kexec +Type: boolean +Default: false +_Description: Should kexec-tools handle reboots? + If you choose this option, a system reboot will trigger a restart + into a kernel loaded by kexec instead of going through the full + system bootloader process. --- kexec-tools-2.0.1.orig/debian/conffile +++ kexec-tools-2.0.1/debian/conffile @@ -0,0 +1,3 @@ +kexec.init.d +kexec-load.init.d +kexec.default --- kexec-tools-2.0.1.orig/debian/kexec.init.d +++ kexec-tools-2.0.1/debian/kexec.init.d @@ -0,0 +1,44 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: kexec +# Required-Start: +# Required-Stop: reboot +# X-Stop-After: umountroot +# Default-Start: +# Default-Stop: 6 +# Short-Description: Execute the kexec -e command to reboot system +# Description: +### END INIT INFO + +PATH=/usr/sbin:/usr/bin:/sbin:/bin + +. /lib/lsb/init-functions + +test -r /etc/default/kexec && . /etc/default/kexec + +do_stop () { + test "x`cat /sys/kernel/kexec_loaded`y" = "x1y" || exit 0 + test -x /sbin/kexec || exit 0 + + log_action_msg "Will now restart with kexec" + kexec -e + log_failure_msg "kexec failed" +} + +case "$1" in + start) + # No-op + ;; + restart|reload|force-reload) + echo "Error: argument '$1' not supported" >&2 + exit 3 + ;; + stop) + do_stop + ;; + *) + echo "Usage: $0 start|stop" >&2 + exit 3 + ;; +esac +exit 0 --- kexec-tools-2.0.1.orig/debian/kdump.initramfs +++ kexec-tools-2.0.1/debian/kdump.initramfs @@ -0,0 +1,47 @@ +#!/bin/sh + +PREREQ="" +prereqs() +{ + echo "$PREREQ" +} +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +KVER="`uname -r`" +INFO="$rootmnt/boot/vmcoreinfo-$KVER" +CRASHFILE="$rootmnt/var/crash/vmcore" +MAKEDUMPFILE="$rootmnt/usr/bin/makedumpfile" +LOG="$rootmnt/var/crash/vmcore.log" +VMCORE="/proc/vmcore" + +# Check that this is a kexec kernel. +grep -q kdump_needed /proc/cmdline || exit 0 + +# Make sure makedumpfile assumptions are satisfied. +test -e $INFO || exit 0 +test -x $MAKEDUMPFILE || exit 0 + +. ./scripts/functions + +log_begin_msg "Saving vmcore from kernel crash" + +mount $rootmnt -o remount,rw + +# Delete it if the copy fails, mainly to keep from filling up filesystems +# by accident. +# +$MAKEDUMPFILE -E -d 31 -i $INFO $VMCORE $CRASHFILE > $LOG 2>&1 || \ + rm -f $CRASHFILE + +chmod 400 $CRASHFILE + +mount $rootmnt -o remount,ro +reboot + +log_end_msg --- kexec-tools-2.0.1.orig/debian/docs +++ kexec-tools-2.0.1/debian/docs @@ -0,0 +1,2 @@ +News +TODO --- kexec-tools-2.0.1.orig/debian/kdump.init.d +++ kexec-tools-2.0.1/debian/kdump.init.d @@ -0,0 +1,84 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: kdump +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Should-Start: +# Should-Stop: +# Default-Start: 0 1 2 3 4 5 +# Default-Stop: 6 +# Short-Description: Load crashkernel image with kexec +# Description: +### END INIT INFO + +PATH=/usr/sbin:/usr/bin:/sbin:/bin + +. /lib/lsb/init-functions + +KVER="`uname -r`" +KERNEL_IMAGE="/boot/vmlinuz-$KVER" +INITRD="/boot/initrd.img-$KVER" +VMCORE="/boot/vmcoreinfo-$KVER" + +# Without makedumpfile, there will be no vmcore on crash, so no point +test -x /usr/bin/makedumpfile || exit 0 +if [ ! -e "$VMCORE" -o ! -e "$KERNEL_IMAGE" -o ! -e "$INITRD" ]; then + exit 0; +fi + + +do_start () { + test -x /sbin/kexec || exit 0 + + # We have to be booted with crashkernel= to work. See + # /boot/grub/menu.lst + grep -q crashkernel= /proc/cmdline || exit 0 + + # Remove crashkernel, vga, video and splash options + APPEND="" + for x in `cat /proc/cmdline`; do + case $x in + splash*|vga*|video*|crashkernel*|quiet) + ;; + *) + APPEND="$APPEND $x" + ;; + esac + done + + # Append kdump_needed for initramfs to know what to do, and add + # maxcpus=1 to keep things sane. + APPEND="$APPEND kdump_needed maxcpus=1 irqpoll reset_devices" + + # --elf32-core-headers is needed for 32-bit systems (ok + # for 64-bit ones too). + log_action_begin_msg "Loading crashkernel" + kexec -p "$KERNEL_IMAGE" --initrd="$INITRD" --append="$APPEND" + log_action_end_msg $? +} + +run_apport_on_vmcore() +{ + if [ -e /var/crash/vmcore -a -x /usr/share/apport/kernel_crashdump ]; then + /usr/share/apport/kernel_crashdump || true + fi +} + +case "$1" in + start) + run_apport_on_vmcore + do_start + ;; + restart|reload|force-reload) + echo "Error: argument '$1' not supported" >&2 + exit 3 + ;; + stop) + # No-op + ;; + *) + echo "Usage: $0 start|stop" >&2 + exit 3 + ;; +esac +exit 0 --- kexec-tools-2.0.1.orig/debian/kexec-tools.config +++ kexec-tools-2.0.1/debian/kexec-tools.config @@ -0,0 +1,31 @@ +#!/bin/sh -e +CONFFILE=/etc/default/kexec + +# Source debconf library. +. /usr/share/debconf/confmodule + +CONFIG_MODE="" + +if test -e "$CONFFILE"; then + . "$CONFFILE" + + # Guard against admin writing silly things into the + # config file... + if test "$LOAD_KEXEC" != "1" -a "$LOAD_KEXEC" != "true" ; then + db_set kexec-tools/load_kexec "false" + else + db_set kexec-tools/load_kexec "true" + fi + + # Up to version below we have been setting kexec reboot as enabled + # which is not an appropriate default. When upgrading from older + # versions it is appropriate to force this element off as most + # users will have been opted in without their knowledge. LP: #251242 + if dpkg --compare-versions "$2" lt 20090000-2.0.0ubuntu3.1; then + db_set kexec-tools/load_kexec false + fi +fi + +# Setup and select the configuration mode +db_input medium kexec-tools/load_kexec || true +db_go --- kexec-tools-2.0.1.orig/debian/copyright +++ kexec-tools-2.0.1/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Khalid Aziz on +Wed, 27 Jul 2005 10:55:17 -0600. + +It was originally downloaded from: http://www.xmission.com/~ebiederm/files/kexec/ +Versions 20070330 and newer were downloaded from: http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/ + +Copyright: 2003-2005 Eric Biederman (ebiederm@xmission.com) + +Upstream Author: Eric Biederman (ebiederm@xmission.com), Albert Herranz, Jesse Barnes (jbarnes@sgi.com), Khalid Aziz (khalid.aziz@hp.com), Hariprasad Nelliteertha (hari@in.ibm.com), Tim Deegan (tjd21@cl.cam.ac.uk) + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation (version 2 of the License). + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Full text of the license can be found under /usr/share/common-licenses/GPL + --- kexec-tools-2.0.1.orig/debian/watch +++ kexec-tools-2.0.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools-testing-(.*)\.tar\.gz --- kexec-tools-2.0.1.orig/debian/kexec-tools.postinst +++ kexec-tools-2.0.1/debian/kexec-tools.postinst @@ -0,0 +1,105 @@ +#! /bin/sh +# postinst script for kexec-tools +# +# see: dh_installdeb(1) + +set -e + +update_param() { + eval old=\"'$'$1\" + eval new=\"'$'new_$1\" + + if test "$old" = "$new"; then + return + fi + + if test -z "$old"; then + grep -Eq "^ *$1=" "$INITCONFFILE" || echo "$1=" \ + >> "$INITCONFFILE" + fi + + sed -e "s/^ *$1=.*/$1=$new/" < $INITCONFFILE > $INITCONFFILE.$$ + mv -f $INITCONFFILE.$$ $INITCONFFILE +} + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + if [ -L /etc/rc6.d/K39kexec-load ]; then + # remove this old entry, we'll add correct one below + update-rc.d -f kexec-load remove > /dev/null || exit 0 + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# Handle debconf +. /usr/share/debconf/confmodule + +INITCONFFILE=/etc/default/kexec + +# We generate several files during the postinst, and we don't want +# them to be readable only by root. +umask 022 + +# Generate configuration file if it does not exist, using default values. +[ -r "${INITCONFFILE}" ] || { + echo Generating ${INITCONFFILE}... >&2 + cat >${INITCONFFILE} <<'EOFMAGICNUMBER1234' +# Defaults for kexec initscript +# sourced by /etc/init.d/kexec and /etc/init.d/kexec-load + +# Load a kexec kernel (true/false) +LOAD_KEXEC=false + +# Kernel and initrd image +KERNEL_IMAGE="/vmlinuz" +INITRD="/initrd.img" + +# If empty, use current /proc/cmdline +APPEND="" +EOFMAGICNUMBER1234 +} + +. ${INITCONFFILE} +# ------------------------- Debconf questions start --------------------- + +db_get kexec-tools/load_kexec || RET=false +new_LOAD_KEXEC="${RET}" +update_param LOAD_KEXEC + +# ------------------------- Debconf questions end --------------------- + +dpkg-trigger update-initramfs + +# no triggers in grub2, +# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481542 +if [ -x /usr/sbin/update-grub ]; then + update-grub +fi + + +#DEBHELPER# + +exit 0 + + --- kexec-tools-2.0.1.orig/debian/control +++ kexec-tools-2.0.1/debian/control @@ -0,0 +1,14 @@ +Source: kexec-tools +Section: admin +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Khalid Aziz +Build-Depends: debhelper (>= 4.0.0), dpatch, gnu-efi (>=3.0a-4)[ia64], libz-dev[ia64], po-debconf, automake1.9 +Standards-Version: 3.7.3 + +Package: kexec-tools +Architecture: i386 amd64 ppc64 powerpc ia64 s390 arm armel +Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, initramfs-tools +Description: kexec tool for kexec reboots + This tool is used to load a kernel in memory and reboot into the kernel + loaded in memory using the kexec system call. --- kexec-tools-2.0.1.orig/debian/kexec-tools.dirs +++ kexec-tools-2.0.1/debian/kexec-tools.dirs @@ -0,0 +1 @@ +sbin --- kexec-tools-2.0.1.orig/debian/changelog +++ kexec-tools-2.0.1/debian/changelog @@ -0,0 +1,293 @@ +kexec-tools (1:2.0.1-0ubuntu3) lucid; urgency=low + + * New dpatch, arm-fix-architecture-detection, cherry-pick second hunk of + upstream commit "arm: fix architecture detection" + 5545216da4360d6494cc7ba574e04620a826a332. Fixes support for arm* utsnames + in particular armv7l. + + -- Loïc Minier Sun, 07 Feb 2010 21:52:30 +0100 + +kexec-tools (1:2.0.1-0ubuntu2) lucid; urgency=low + + * Re-add automake1.9 build-dep since we still patch configure.ac and this + triggers an autoreconf. (Upstream doesn't use AM_MAINTAINER_MODE.) + + -- Loïc Minier Sun, 07 Feb 2010 21:25:19 +0100 + +kexec-tools (1:2.0.1-0ubuntu1) lucid; urgency=low + + * New upstream release. + - Switch to non-native packaging and upstream tarball; drop automake1.9 + build-dep. NB: This is the Debian tarball which has been repacked by + the Debian maintainer, but the contents are identical to the upstream + tarball. Picking the Debian tarball should make it easier to resync + with Debian if we stick with 2.0.1 for a while. + - Drop arm_build dpatch, fixed differently upstream. + + -- Loïc Minier Sun, 07 Feb 2010 20:39:48 +0100 + +kexec-tools (20090000-2.0.0ubuntu12) karmic; urgency=low + + * debian/patches/configure_syntax.dpatch: Put semicolons before 'fi', or + else configure breaks. + + -- Colin Watson Wed, 07 Oct 2009 00:15:18 +0100 + +kexec-tools (20090000-2.0.0ubuntu11) karmic; urgency=low + + * Don't call db_stop in postinst as update-grub calls into debconf; thanks + Colin Watson; LP: #400397. + + -- Loïc Minier Thu, 16 Jul 2009 23:05:51 +0200 + +kexec-tools (20090000-2.0.0ubuntu10) karmic; urgency=low + + * debian/kexec-tools.postinst: + - run update-grub explicitely instead of using the trigger, + grub2 does not have one (see debian #481542) + + -- Michael Vogt Thu, 16 Jul 2009 10:42:03 +0200 + +kexec-tools (20090000-2.0.0ubuntu9) karmic; urgency=low + + * debian/kdump.init.d: + - generate crash file from vmcore on first boot automatically + + -- Michael Vogt Tue, 23 Jun 2009 10:59:14 +0200 + +kexec-tools (20090000-2.0.0ubuntu8) karmic; urgency=low + + * debian/kdump.initramfs: + - use ELF format for the vmcore file. "crash" did not produce + a backtrace with the kdump-compressed format + + -- Michael Vogt Mon, 22 Jun 2009 17:23:45 +0200 + +kexec-tools (20090000-2.0.0ubuntu7) karmic; urgency=low + + * debian/kdump.initramfs: + - dump the kernel crash info to /var/crash/vmcore-$KVER + + -- Michael Vogt Mon, 22 Jun 2009 15:42:24 +0200 + +kexec-tools (20090000-2.0.0ubuntu6) karmic; urgency=low + + * debian/kexec-tools.template + - set "kexec-tools/load_kexec" to "false" by default + * debian/kexec-tools.postinst: + - trigger update-grub and update-initramfstools to ensure + the kdump functionality is availabe on next reboot + + -- Michael Vogt Mon, 22 Jun 2009 14:40:18 +0200 + +kexec-tools (20090000-2.0.0ubuntu5) karmic; urgency=low + + * debian policy forbids dpkg conffile handling and maintainer script + configuration in the same package as this leads to inconsistant behaviour + between apt-get install and dpkg -i installs of the same package. Switch + wholy to the maintainer script. LP: #368745 + * kexec reboot has been enabled by default whereas it should have been + opt-in, it is therefore appropriate to force this off for upgrades from + older versions. LP: #251242 + + -- Andy Whitcroft Tue, 28 Apr 2009 19:21:30 +0100 + +kexec-tools (20090000-2.0.0ubuntu4) karmic; urgency=low + + * kexec based reboot triggers a number of semantic changes which + are visible to the user, it should be opt-in by default. Adjust + kexec.default to disable kexec by default. LP: #251242 + + -- Andy Whitcroft Mon, 27 Apr 2009 10:32:46 +0100 + +kexec-tools (20090000-2.0.0ubuntu3) jaunty; urgency=low + + * Somehow lost the installation of /etc/init.d/kdump, without + which nothing really works + + -- Tim Gardner Wed, 25 Mar 2009 19:59:28 +0000 + +kexec-tools (20090000-2.0.0ubuntu2) jaunty; urgency=low + + * Install 0_kdump into initramfs scripts + * Depend on initramfs-tools + + -- Tim Gardner Wed, 04 Mar 2009 19:08:15 +0000 + +kexec-tools (20090000-2.0.0ubuntu1) jaunty; urgency=low + + [ Tim Gardner ] + + * Updated to kexec-tools v2.0.0 from kexec-20080324-2.1 at + git://git.kernel.org/pub/scm/linux/kernel/git/horms/kexec-tools.git. + + Update steps: + Removed debian/patches/update_kexec_manpage.dpatch + Updated debian/patches/distclean_fix.dpatch + Removed obsolete debian/patches/powerpc_fix.dpatch + debian/rules: Run aclocal, autoheader, and autoconf if configure does not exist. + + Try to forget 20080226-2.0.0-ubuntu1 ever existed. This version was updated directly + from 20080324-2.1 and completely obsoletes 20080226-2.0.0-ubuntu1. + + [ Jim Lieb ] + + * Fix rules to handle updated package makefile+autotools + package build now depends on autotools1.9 + + -- Tim Gardner Tue, 03 Mar 2009 20:22:14 +0000 + +kexec-tools (20080226-2.0.0-ubuntu1) jaunty; urgency=low + + [ Jim Lieb ] + + * Update to 2.0.0 official release to include later kernels and fixes + for x86_64 etc. Drop all patches except debianize which is reworked to + contain all of the debian packaging specifics. + * Fix rules to handle updated package makefile+autotools + package build now depends on autotools1.9 + * Update copyright and other bits that lintian complains about + + [ Tim Gardner ] + + * Messed with debian/rules to make it a bit more sane in its use of dpatch. + * Add rsync as a build dependency. + * Fixed some path issues in debian/kdump.initramfs. makedumpfile seems to have + changed locations. + + -- Tim Gardner Thu, 19 Feb 2009 10:56:59 -0800 + +kexec-tools (20080324-2.1) unstable; urgency=low + + * Porter NMU. + * New dpatch, arm_build, fixes build on armel; thanks Cyril Hrubis; + closes: #489175. + * List arm and armel in control. + + -- Loic Minier Sat, 31 Jan 2009 18:31:42 +0000 + +kexec-tools (20080324-2) unstable; urgency=low + + * Updated init script to check for new boolean value of LOAD_KEXEC (closes: + Bug#479961) + * Added french translation for debconf (closes: Bug#470921,Bug#479688) + * Added czech translation for debconf (closes: Bug#480301) + + -- Khalid Aziz Fri, 09 May 2008 12:03:29 -0600 + +kexec-tools (20080324-1) unstable; urgency=low + + * New upstream version + * Fixed a typo in x86-64 makefile that causes kexec load to fail on + amd64 (closes: Bug#473547) + * Added a patch from upstream to enable compilation on powerpc (closes: + Bug#477260) + * Added portugese translation for debconf (closes: Bug#469960,Bug#478358) + * Added german translation for debconf (closes: Bug#470499) + * Added galician translation (closes: Bug#477940) + * Added russian translation (closes: Bug#477983) + * Added finnish translation (closes: Bug#477984) + * Added vietnamese translation (closes: Bug#478221) + * Changed debconf variable type to boolean (closes: Bug#469256) + * Added debian/watch file (closes: Bug#474752) + + -- Khalid Aziz Tue, 01 Apr 2008 09:53:50 -0600 + +kexec-tools (20080227-2) unstable; urgency=low + + * Fixed a bad dependency in kexec-load init script + * Changed the priority of debconf question to medium. + + -- Khalid Aziz Mon, 03 Mar 2008 09:08:09 -0700 + +kexec-tools (20080227-1) unstable; urgency=low + + * New upstream version + * Updated init scripts to remove bash'ism (closes: Bug#465000, Bug#462554) + * Updated init scripts to add reverse dependency on umountroot + (closes: Bug#458983) + * Added autofs to Required-Stop for kexec-load init script to ensure + a kexec load of a kernel on an automounted filesystem is successful + (closes: Bug#440979) + * Changed the kexec-load init script execution order to run before autofs + (closes: Bug#440979) + * Added debconf options to ask user whether to enable kexec by default + or not + * Updated package description in control file + * Updated kexec man page to remove the note about lack of support for + compressed kernels (closes: Bug#464813) + + -- Khalid Aziz Thu, 28 Feb 2008 14:19:40 -0700 + +kexec-tools (20070330-4) unstable; urgency=low + + * Added another condition around strip command to address build failure on + architectures that do not generate kexec_test.static image. + + -- Khalid Aziz Thu, 01 Nov 2007 14:19:13 -0600 + +kexec-tools (20070330-3) unstable; urgency=low + + * Made command to strip kexec_test binary conditional (closes: Bug#437251) + * Removed mv command that caused build failure on a few architectures + (closes: Bug#441128) + * Dropped powerpc and alpha architectures from supported arch list (closes: + Bug#338846) + + -- Khalid Aziz Wed, 31 Oct 2007 15:12:11 -0600 + +kexec-tools (20070330-2) unstable; urgency=low + + * Changed /etc/default/kexec to enable kexec reboots by default + (closes: Bug#426506) + * Cleaned up unnecessary files + * Updated LSB header in init scripts (closes: Bug#429633) + * closes: Bug#392231 (upstream has removed the offending code) + + -- Khalid Aziz Mon, 11 Jun 2007 16:03:25 -0600 + +kexec-tools (20070330-1) experimental; urgency=low + + * New upstream version from Simon Horman's kexec-tools-testing tree. + + -- Khalid Aziz Fri, 30 Mar 2007 09:32:27 -0600 + +kexec-tools (1.101-kdump10-2) unstable; urgency=low + + * Moved the install location for kexec_test to /usr/lib (closes: Bug#392395) + + -- Khalid Aziz Fri, 13 Oct 2006 08:31:16 -0600 + +kexec-tools (1.101-kdump10-1) unstable; urgency=low + + * Applied -kdump10 patch from http://lse.sf.net/kdump + * man page updated from -kdump10 patch (closes: Bug#344486) + * Better error reporting for when kexec_load fails on x86_64 (closes: + Bug#385611) + * Fixed a typo in x86_64 code (closes: Bug#385611) + * Improved init scripts + * Update architecture list in control file with the supported architectures + only (closes: Bug#338846) + + -- Khalid Aziz Mon, 09 Oct 2006 14:58:48 -0600 + +kexec-tools (1.101-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add support for init scripts (Closes: #387599, #378880, #344489) + * Bumped Standards Version + + -- Julien Danjou Mon, 2 Oct 2006 14:42:42 +0200 + +kexec-tools (1.101-2) unstable; urgency=low + + * Fixed build failures (closes: Bug#327639, Bug#327715) + + -- Khalid Aziz Thu, 15 Sep 2005 08:57:43 -0600 + +kexec-tools (1.101-1) unstable; urgency=low + + * Initial release (closes: Bug#320202, Bug#318881) + + -- Khalid Aziz Fri, 09 Sep 2005 14:06:19 -0600 + --- kexec-tools-2.0.1.orig/debian/kexec-tools.postrm +++ kexec-tools-2.0.1/debian/kexec-tools.postrm @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for kexec-tools +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- kexec-tools-2.0.1.orig/debian/compat +++ kexec-tools-2.0.1/debian/compat @@ -0,0 +1 @@ +4 --- kexec-tools-2.0.1.orig/debian/kexec-load.init.d +++ kexec-tools-2.0.1/debian/kexec-load.init.d @@ -0,0 +1,53 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: kexec-load +# Required-Start: +# Required-Stop: $remote_fs kexec +# Should-Stop: autofs +# Default-Start: +# Default-Stop: 6 +# Short-Description: Load kernel image with kexec +# Description: +### END INIT INFO + +PATH=/usr/sbin:/usr/bin:/sbin:/bin + +. /lib/lsb/init-functions + +test -r /etc/default/kexec && . /etc/default/kexec + +do_stop () { + test "$LOAD_KEXEC" = "true" || exit 0 + test -x /sbin/kexec || exit 0 + test "x`cat /sys/kernel/kexec_loaded`y" = "x1y" && exit 0 + + REAL_APPEND="$APPEND" + + test -z "$REAL_APPEND" && REAL_APPEND="`cat /proc/cmdline`" + log_action_begin_msg "Loading new kernel image into memory" + if [ -z "$INITRD" ] + then + kexec -l "$KERNEL_IMAGE" --append="$REAL_APPEND" + else + kexec -l "$KERNEL_IMAGE" --initrd="$INITRD" --append="$REAL_APPEND" + fi + log_action_end_msg $? +} + +case "$1" in + start) + # No-op + ;; + restart|reload|force-reload) + echo "Error: argument '$1' not supported" >&2 + exit 3 + ;; + stop) + do_stop + ;; + *) + echo "Usage: $0 start|stop" >&2 + exit 3 + ;; +esac +exit 0 --- kexec-tools-2.0.1.orig/debian/patches/00list +++ kexec-tools-2.0.1/debian/patches/00list @@ -0,0 +1,6 @@ +debianize.dpatch +crashdump_warning.dpatch +static_binary_warning.dpatch +distclean_fix.dpatch +configure_syntax.dpatch +arm-fix-architecture-detection.dpatch --- kexec-tools-2.0.1.orig/debian/patches/debianize.dpatch +++ kexec-tools-2.0.1/debian/patches/debianize.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## debianize.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch adds fixes to keep lintian happy + +@DPATCH@ +diff -urN --exclude=debian kexec-tools-testing-20080227/Makefile.in kexec-tools-20080227.debian/Makefile.in +--- kexec-tools-testing-20080227/Makefile.in 2008-02-26 18:07:12.000000000 -0700 ++++ kexec-tools-20080227.debian/Makefile.in 2008-02-27 10:09:12.000000000 -0700 +@@ -86,7 +86,7 @@ + LOCALSTATEDIR=$(BUILD_PREFIX)/var + LIBDIR=$(BUILD_PREFIX)/lib + INFODIR=$(BUILD_PREFIX)/info +-MANDIR=$(BUILD_PREFIX)/man ++MANDIR=$(BUILD_PREFIX)/share/man + MAN1DIR=$(MANDIR)/man1 + MAN2DIR=$(MANDIR)/man2 + MAN3DIR=$(MANDIR)/man3 +@@ -101,8 +101,8 @@ + PKGLIBDIR=$(LIBDIR)/$(PACKAGE_NAME) + PKGINCLUDEIR=$(INCLUDEDIR)/$(PACKAGE_NAME) + +-MAN_PAGES:= kexec/kexec.8 +-MAN_PAGES+= kdump/kdump.8 ++MAN_PAGES:= $(MANDIR)/man8/kexec.8 ++MAN_PAGES+= $(MANDIR)/man8/kdump.8 + BINARIES_i386:= $(SBINDIR)/kexec $(PKGLIBDIR)/kexec_test + BINARIES_x86_64:=$(SBINDIR)/kexec $(PKGLIBDIR)/kexec_test + BINARIES:=$(SBINDIR)/kexec $(SBINDIR)/kdump $(BINARIES_$(ARCH)) --- kexec-tools-2.0.1.orig/debian/patches/crashdump_warning.dpatch +++ kexec-tools-2.0.1/debian/patches/crashdump_warning.dpatch @@ -0,0 +1,95 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## crashdump_warning.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adds warnings if crashdump kernel fails to load + +@DPATCH@ +diff -urNp --exclude=debian kexec-tools-0.20070319.rc/kexec/arch/x86_64/crashdump-x86_64.c kexec-tools-testing-20070319-rc/kexec/arch/x86_64/crashdump-x86_64.c +--- kexec-tools-0.20070319.rc/kexec/arch/x86_64/crashdump-x86_64.c 2007-03-07 01:52:54.000000000 -0700 ++++ kexec-tools-testing-20070319-rc/kexec/arch/x86_64/crashdump-x86_64.c 2007-03-29 17:30:45.000000000 -0600 +@@ -593,7 +593,9 @@ int load_crashdump_segments(struct kexec + memset(memmap_p, 0, sz); + add_memmap(memmap_p, BACKUP_SRC_START, BACKUP_SRC_SIZE); + sz = crash_reserved_mem.end - crash_reserved_mem.start +1; +- add_memmap(memmap_p, crash_reserved_mem.start, sz); ++ if (add_memmap(memmap_p, crash_reserved_mem.start, sz) < 0) { ++ return ENOCRASHKERNEL; ++ } + + /* Create a backup region segment to store backup data*/ + sz = (BACKUP_SRC_SIZE + align - 1) & ~(align - 1); +@@ -602,14 +604,14 @@ int load_crashdump_segments(struct kexec + info->backup_start = add_buffer(info, tmp, sz, sz, align, + 0, max_addr, 1); + if (delete_memmap(memmap_p, info->backup_start, sz) < 0) +- return -1; ++ return EFAILED; + + /* Create elf header segment and store crash image data. */ + if (crash_create_elf64_headers(info, &elf_info, + crash_memory_range, nr_ranges, + &tmp, &sz, + ELF_CORE_HEADER_ALIGN) < 0) +- return -1; ++ return EFAILED; + + /* Hack: With some ld versions (GNU ld version 2.14.90.0.4 20030523), + * vmlinux program headers show a gap of two pages between bss segment +diff -urNp --exclude=debian kexec-tools-0.20070319.rc/kexec/arch/x86_64/kexec-elf-x86_64.c kexec-tools-testing-20070319-rc/kexec/arch/x86_64/kexec-elf-x86_64.c +--- kexec-tools-0.20070319.rc/kexec/arch/x86_64/kexec-elf-x86_64.c 2007-03-07 01:52:54.000000000 -0700 ++++ kexec-tools-testing-20070319-rc/kexec/arch/x86_64/kexec-elf-x86_64.c 2007-03-29 17:31:42.000000000 -0600 +@@ -241,7 +241,7 @@ int elf_x86_64_load(int argc, char **arg + rc = load_crashdump_segments(info, modified_cmdline, + max_addr, 0); + if (rc < 0) +- return -1; ++ return rc; + /* Use new command line. */ + command_line = modified_cmdline; + command_line_len = strlen(modified_cmdline) + 1; +diff -urNp --exclude=debian kexec-tools-0.20070319.rc/kexec/kexec.c kexec-tools-testing-20070319-rc/kexec/kexec.c +--- kexec-tools-0.20070319.rc/kexec/kexec.c 2007-03-18 22:38:50.000000000 -0600 ++++ kexec-tools-testing-20070319-rc/kexec/kexec.c 2007-03-29 17:36:06.000000000 -0600 +@@ -625,10 +625,20 @@ static int my_load(const char *type, int + } + } + } +- if (file_type[i].load(argc, argv, kernel_buf, +- kernel_size, &info) < 0) { +- fprintf(stderr, "Cannot load %s\n", kernel); +- return -1; ++ result = file_type[i].load(argc, argv, kernel_buf, kernel_size, &info); ++ if (result < 0) { ++ switch (result) { ++ case ENOCRASHKERNEL: ++ fprintf(stderr, ++ "No crash kernel segment found in /proc/iomem\n" ++ "Please check the crashkernel= boot parameter.\n"); ++ break; ++ case EFAILED: ++ default: ++ fprintf(stderr, "Cannot load %s\n", kernel); ++ break; ++ } ++ return result; + } + /* If we are not in native mode setup an appropriate trampoline */ + if (arch_compat_trampoline(&info) < 0) { +diff -urNp --exclude=debian kexec-tools-0.20070319.rc/kexec/kexec.h kexec-tools-testing-20070319-rc/kexec/kexec.h +--- kexec-tools-0.20070319.rc/kexec/kexec.h 2007-03-18 22:38:50.000000000 -0600 ++++ kexec-tools-testing-20070319-rc/kexec/kexec.h 2007-03-29 17:38:13.000000000 -0600 +@@ -52,6 +52,13 @@ + #error unknwon BYTE_ORDER + #endif + ++/* ++ * Document some of the reasons why crashdump may fail, so we can give ++ * better error messaging ++ */ ++ ++#define EFAILED -1 /* default error code */ ++#define ENOCRASHKERNEL -2 /* no memory reserved for crashkernel */ + + #if 0 + /* --- kexec-tools-2.0.1.orig/debian/patches/distclean_fix.dpatch +++ kexec-tools-2.0.1/debian/patches/distclean_fix.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## distclean_fix.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch updates distclean to clean up stamp files upstream fails to + +@DPATCH@ +diff --git a/Makefile.in b/Makefile.in +index 341e170..30ea9a0 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -232,7 +232,7 @@ clean: + distclean: dist-clean + + dist-clean: clean +- $(RM) -f config.log config.status config.cache Makefile include/config.h ++ $(RM) -f config.log config.status config.cache Makefile include/config.h include/stamp-h* + $(RM) -f include/config.h.in configure + $(RM) -rf autom4te.cache + --- kexec-tools-2.0.1.orig/debian/patches/configure_syntax.dpatch +++ kexec-tools-2.0.1/debian/patches/configure_syntax.dpatch @@ -0,0 +1,50 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## configure_syntax.dpatch by Colin Watson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put semicolons before 'fi', or else configure breaks. + +@DPATCH@ +diff -urNad kexec-tools-20090000~/configure.ac kexec-tools-20090000/configure.ac +--- kexec-tools-20090000~/configure.ac 2009-03-03 20:16:41.000000000 +0000 ++++ kexec-tools-20090000/configure.ac 2009-10-07 00:12:11.000000000 +0100 +@@ -133,23 +133,23 @@ + fi + + dnl ---Sanity checks +-if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]) fi +-if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]) fi +-if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]) fi +-if test "$AS" = "no"; then AC_MSG_ERROR([as not found]) fi +-if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]) fi +-if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]) fi ++if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]); fi ++if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]); fi ++if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]); fi ++if test "$AS" = "no"; then AC_MSG_ERROR([as not found]); fi ++if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]); fi ++if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]); fi + +-if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]) fi +-if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]) fi +-if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]) fi +-if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]) fi +-if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]) fi +-if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]) fi +-if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]) fi +-if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]) fi +-if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]) fi +-if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]) fi ++if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]); fi ++if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]); fi ++if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]); fi ++if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]); fi ++if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]); fi ++if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]); fi ++if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]); fi ++if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]); fi ++if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]); fi ++if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]); fi + + dnl ---Output variables... + AC_SUBST([BUILD_CC]) --- kexec-tools-2.0.1.orig/debian/patches/static_binary_warning.dpatch +++ kexec-tools-2.0.1/debian/patches/static_binary_warning.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## static_binary_warning.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch adds fixes to keep lintian happy + +@DPATCH@ +diff -urN --exclude=debian kexec-tools-testing-20080227/kexec_test/Makefile kexec-tools-20080227.debian/kexec_test/Makefile +--- kexec-tools-testing-20080227/kexec_test/Makefile 2008-02-21 01:09:02.000000000 -0700 ++++ kexec-tools-20080227.debian/kexec_test/Makefile 2008-02-27 10:12:20.000000000 -0700 +@@ -20,7 +20,7 @@ + KEXEC_TEST_OBJS = $(call objify, $(KEXEC_TEST_SRCS)) + KEXEC_TEST_DEPS = $(call depify, $(KEXEC_TEST_OBJS)) + +-KEXEC_TEST = $(PKGLIBDIR)/kexec_test ++KEXEC_TEST = $(PKGLIBDIR)/kexec_test.static + + clean += $(KEXEC_TEST_OBJS) $(KEXEC_TEST_DEPS) $(KEXEC_TEST) + +diff -urN --exclude=debian kexec-tools-testing-20080227/Makefile.in kexec-tools-20080227.debian/Makefile.in +--- kexec-tools-testing-20080227/Makefile.in 2008-02-27 10:12:52.000000000 -0700 ++++ kexec-tools-20080227.debian/Makefile.in 2008-02-27 10:12:08.000000000 -0700 +@@ -103,8 +103,8 @@ + + MAN_PAGES:= $(MANDIR)/man8/kexec.8 + MAN_PAGES+= $(MANDIR)/man8/kdump.8 +-BINARIES_i386:= $(SBINDIR)/kexec $(PKGLIBDIR)/kexec_test +-BINARIES_x86_64:=$(SBINDIR)/kexec $(PKGLIBDIR)/kexec_test ++BINARIES_i386:= $(SBINDIR)/kexec $(PKGLIBDIR)/kexec_test.static ++BINARIES_x86_64:=$(SBINDIR)/kexec $(PKGLIBDIR)/kexec_test.static + BINARIES:=$(SBINDIR)/kexec $(SBINDIR)/kdump $(BINARIES_$(ARCH)) + + TARGETS:=$(BINARIES) $(MAN_PAGES) --- kexec-tools-2.0.1.orig/debian/patches/arm-fix-architecture-detection.dpatch +++ kexec-tools-2.0.1/debian/patches/arm-fix-architecture-detection.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## arm-fix-architecture-detection.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: First hunk of upstream 5545216da4360d6494cc7ba574e04620a826a332 + +@DPATCH@ +diff -urNad kexec-tools-2.0.1~/kexec/phys_arch.c kexec-tools-2.0.1/kexec/phys_arch.c +--- kexec-tools-2.0.1~/kexec/phys_arch.c 2008-07-15 02:46:43.000000000 +0200 ++++ kexec-tools-2.0.1/kexec/phys_arch.c 2010-02-07 21:52:02.237479311 +0100 +@@ -13,9 +13,14 @@ + return -1; + } + +- for (i = 0; arches[i].machine; ++i) ++ for (i = 0; arches[i].machine; ++i) { + if (strcmp(utsname.machine, arches[i].machine) == 0) + return arches[i].arch; ++ if ((strcmp(arches[i].machine, "arm") == 0) && ++ (strncmp(utsname.machine, arches[i].machine, ++ strlen(arches[i].machine)) == 0)) ++ return arches[i].arch; ++ } + + fprintf(stderr, "Unsupported machine type: %s\n", + utsname.machine); --- kexec-tools-2.0.1.orig/debian/commit-templates/patch +++ kexec-tools-2.0.1/debian/commit-templates/patch @@ -0,0 +1,28 @@ +# Ubuntu commit template. +# +# NOTE: This gets reformatted for debian/changelog +# +# The initial UBUNTU is a flag that this is an Ubuntu commit. It will be +# referenced to the Author in the debian/changelog entry. +# +# The text following is the short message that will be placed in the +# changelog. Extra text on the following lines will be ignored, but left +# in the git commit. Lines with # will be ignored in the commit. +# +# OriginalAuthor allows for alternate attribution. +# +# OriginalLocation allows for a URL or description of where the patch came +# from. +# +# Bug is a reference to a Malone bug number. Be sure to include the '#' as +# part of the bug number, e.g., 'Bug: #1'. +# +# Ignore: yes will keep this commit from showing up in the changelog. +# +UBUNTU: + +# OriginalAuthor: +# OriginalLocation: +# Bug: # +# Ignore: yes +# Other text below here. --- kexec-tools-2.0.1.orig/debian/po/cs.po +++ kexec-tools-2.0.1/debian/po/cs.po @@ -0,0 +1,33 @@ +# Czech translation of kexec-tools debconf messages. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the kexec-tools package. +# Miroslav Kure , 2008 +# +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-05-09 14:04+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "Mají se kexec-tools starat o restarty?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr "" +"Zvolíte-li tuto možnost, nebude se při restartu systému provádět celá " +"zaváděcí sekvence, ale restartuje se do jádra zavedeného přes kexec." --- kexec-tools-2.0.1.orig/debian/po/gl.po +++ kexec-tools-2.0.1/debian/po/gl.po @@ -0,0 +1,33 @@ +# Galician translation of kexec-tools's debconf templates +# This file is distributed under the same license as the kexec-tools package. +# Jacobo Tarrio , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-04-25 21:26+0100\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "¿Debe kexec-tools xestionar os reinicios?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr "" +"Se escolle esta opción, o reinicio do sistema ha facer que se cargue un " +"núcleo cargado mediante kexec no canto de pasar por todo o proceso de inicio " +"do sistema." --- kexec-tools-2.0.1.orig/debian/po/POTFILES.in +++ kexec-tools-2.0.1/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] kexec-tools.templates --- kexec-tools-2.0.1.orig/debian/po/pt.po +++ kexec-tools-2.0.1/debian/po/pt.po @@ -0,0 +1,33 @@ +# Portuguese translation of kexec-tool's debconf messages. +# Copyright (C) 2008 +# This file is distributed under the same license as the kexec-tools package. +# Ricardo Silva , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools \n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-04-28 22:48+0100\n" +"Last-Translator: Ricardo Silva \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "Usar o kexec-tools para reiniciar o computador?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr "" +"Se escolher esta opção, reiniciar o sistema irá carregar um kernel usando " +"o kexec em vez de passar por todo o processo de reiniciar o computador." --- kexec-tools-2.0.1.orig/debian/po/de.po +++ kexec-tools-2.0.1/debian/po/de.po @@ -0,0 +1,34 @@ +# German translation of the kexec-tools debconf template +# Copyright 2008 Kai Wasserbäch +# This file is distributed under the same license as the kexec-tools package. +# +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools 20080324-1\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-04-28 19:31+0200\n" +"Last-Translator: Kai Wasserbäch \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "Soll »kexec-tools« Neustarts verwalten?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr "" +"Falls Sie diese Option wählen, führt ein Systemneustart zum Start eines von " +"»kexec« geladenen Kernels, anstatt den gesamten Bootloader-Prozess " +"zu durchlaufen." --- kexec-tools-2.0.1.orig/debian/po/fi.po +++ kexec-tools-2.0.1/debian/po/fi.po @@ -0,0 +1,26 @@ +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-04-26 08:30+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "Tulisiko kexec-toolsin hallinnoida järjestelmän uudelleenkäynnistystä?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "If you choose this option, a system reboot will trigger a restart into a kernel loaded by kexec instead of going through the full system bootloader process." +msgstr "Jos valitset tämän vaihtoehdon, järjestelmä käynnistetään uudelleen käyttäen kexecin lataamaa ydintä täyden alkulatausohjelman avulla tehtävän prosessin sijaan." + --- kexec-tools-2.0.1.orig/debian/po/ru.po +++ kexec-tools-2.0.1/debian/po/ru.po @@ -0,0 +1,38 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2008. +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools 20080324-1\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-04-26 09:17+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "Использовать kexec-tools для обработки команд на перезагрузку?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr "" +"Если вы ответите утвердительно, при перезагрузке системы " +"будет выполнен перезапуск в ядро, загруженное с помощью " +"kexec, а не как обычно, с полным перезапуском системы с использованием " +"загрузчика." + --- kexec-tools-2.0.1.orig/debian/po/fr.po +++ kexec-tools-2.0.1/debian/po/fr.po @@ -0,0 +1,33 @@ +# kexec-tools debconf . +# Copyright (C) 2008 Steve Petruzzello +# This file is distributed under the same license as the kexec-tools package. +# Khalid Aziz +# +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools 20080227-2\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-04-28 21:34+2\n" +"Last-Translator: Steve Petruzzello \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "Faut-il gérer les redémarrages avec kexec-tools ?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr "" +"Si vous choisissez cette option, le système redémarrera avec un noyau chargé " +"par kexec plutôt que par le programme de démarrage habituel. " --- kexec-tools-2.0.1.orig/debian/po/vi.po +++ kexec-tools-2.0.1/debian/po/vi.po @@ -0,0 +1,33 @@ +# Vietnamese translation for Kexec-Tools. +# Copyright © 2008 Free Software Foundation, Inc. +# Clytie Siddall , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: kexec-tools 20080324-1\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: 2008-04-28 16:06+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.7b3\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "kexec-tools nên quản lý việc khởi động lại không?" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr "" +"Bật tùy chọn này thì việc khởi động hệ thống sẽ gây ra tiến trình khởi chạy lại vào một hạt nhân được kexec nạp, thay vào chạy tiến trình nạp và thực hiện hệ thống hoàn toàn." --- kexec-tools-2.0.1.orig/debian/po/templates.pot +++ kexec-tools-2.0.1/debian/po/templates.pot @@ -0,0 +1,32 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n" +"POT-Creation-Date: 2008-04-25 10:38-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "Should kexec-tools handle reboots?" +msgstr "" + +#. Type: boolean +#. Description +#: ../kexec-tools.templates:1001 +msgid "" +"If you choose this option, a system reboot will trigger a restart into a " +"kernel loaded by kexec instead of going through the full system bootloader " +"process." +msgstr ""