summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-10-19 03:12:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-10-19 03:14:53 +0000
commit6032dd8b65d0ee43fc184042f7358e8f33be3012 (patch)
tree5def19e928e9044bd2937fc0c9ba1107e2fb806e
parentAdding upstream version 1:2.0.20. (diff)
downloadkexec-tools-6032dd8b65d0ee43fc184042f7358e8f33be3012.tar.xz
kexec-tools-6032dd8b65d0ee43fc184042f7358e8f33be3012.zip
Adding debian version 1:2.0.20-1.debian/1%2.0.20-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/README.debian11
-rw-r--r--debian/changelog438
-rw-r--r--debian/compat1
-rw-r--r--debian/conffile2
-rw-r--r--debian/control22
-rw-r--r--debian/copyright36
-rw-r--r--debian/docs2
-rw-r--r--debian/kexec-load.init.d129
-rw-r--r--debian/kexec-tools.config29
-rw-r--r--debian/kexec-tools.dirs2
-rw-r--r--debian/kexec-tools.lintian-overrides5
-rw-r--r--debian/kexec-tools.maintscript6
-rw-r--r--debian/kexec-tools.postinst135
-rw-r--r--debian/kexec-tools.postrm43
-rw-r--r--debian/kexec-tools.preinst44
-rw-r--r--debian/kexec-tools.templates24
-rw-r--r--debian/kexec.init.d55
-rw-r--r--debian/patches/add_debian_readme.patch16
-rw-r--r--debian/patches/coldreboot.patch88
-rw-r--r--debian/patches/debianize.patch11
-rw-r--r--debian/patches/distclean_fix.patch11
-rw-r--r--debian/patches/linker-option.patch11
-rw-r--r--debian/patches/powerpcspe_support.patch11
-rw-r--r--debian/patches/series7
-rw-r--r--debian/patches/static_binary_warning.patch20
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/cs.po53
-rw-r--r--debian/po/da.po53
-rw-r--r--debian/po/de.po55
-rw-r--r--debian/po/es.po79
-rw-r--r--debian/po/fi.po54
-rw-r--r--debian/po/fr.po57
-rw-r--r--debian/po/gl.po56
-rw-r--r--debian/po/it.po58
-rw-r--r--debian/po/ja.po55
-rw-r--r--debian/po/nl.po55
-rw-r--r--debian/po/pt.po57
-rw-r--r--debian/po/pt_BR.po55
-rw-r--r--debian/po/ru.po65
-rw-r--r--debian/po/sk.po58
-rw-r--r--debian/po/sv.po57
-rw-r--r--debian/po/templates.pot48
-rw-r--r--debian/po/tr.po56
-rw-r--r--debian/po/vi.po58
-rwxr-xr-xdebian/rules99
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides7
-rw-r--r--debian/watch4
48 files changed, 2300 insertions, 0 deletions
diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644
index 0000000..fdc0bd5
--- /dev/null
+++ b/debian/README.debian
@@ -0,0 +1,11 @@
+This kexec-tools package was built from kexec-tools git repository at
+<git://git.kernel.org/pub/scm/linux/kernel/git/horms/kexec-tools.git>.
+
+Installing this package also installs two init scripts under /etc/init.d -
+kexec-load and kexec. kexec-load is called upon reboot to load a new kexec
+kernel if kexec is enabled in /etc/default/kexec. kexec script is called
+just before reboot script. It checks if kexec is enabled and a
+kexec'able kernel is loaded. If yes, it kexecs a new kernel instead of
+reboot. As a result, kexec is automatically enabled upon installation of
+kexec-tools package if kexec is enabled in /etc/default/kexec through debconf
+option.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..660d867
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,438 @@
+kexec-tools (1:2.0.20-1) unstable; urgency=medium
+
+ * New upstream release
+ * Dropped additional unnecessary defaults setting in postinst
+ (Closes: #921023)
+
+ -- Khalid Aziz <khalid@debian.org> Wed, 16 Oct 2019 10:49:02 -0600
+
+kexec-tools (1:2.0.18-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #905656)
+ * Removed patch arm64_build.patch since the bug is fixed in upstream now
+ * Remnoved call to db_stop in kexec-tools.postinst (Closes: #891256)
+
+ -- Khalid Aziz <khalid@debian.org> Tue, 22 Jan 2019 14:46:13 -0700
+
+kexec-tools (1:2.0.16-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #890818)
+ * Updated pointer to kexec-tools home page (Closes: #888565)
+ * Updtaed russian translation (Thanks, Lev) (Closes: #883918)
+ * Remove obsolete configuration file (Closes: #868100)
+
+ -- Khalid Aziz <khalid@debian.org> Tue, 20 Feb 2018 11:13:24 -0700
+
+kexec-tools (1:2.0.15-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #876318, Closes: #854826)
+ * Enable compressed kernel support for ARM64 - Manoj Iyer
+ (Closes: #854093)
+ * Updated Portuguese translation (Closes: #857728)
+ * Updated German translation (Closes: #857737)
+
+ -- Khalid Aziz <khalid@debian.org> Thu, 21 Sep 2017 15:07:18 -0600
+
+kexec-tools (1:2.0.14-1) unstable; urgency=medium
+
+ * New upstream release
+ * Removed the patch lp1546260-fix-purgatory-fail-gcc5.patch which
+ has been accepted into this upstream version
+ * Updated Danish translation (Closes: #830594)
+ * Updated Brazilian Portuguese translation (Closes: #852445)
+ * Enabled build for arm64 (Closes: #791943)
+ * Fix FTCBFS: Invoke configure script through dh_auto_configure
+ in debian/rules (Closes: #850875)
+ * Added patch to add -fno-PIC to purgatory/arch/arm64/Makefile to
+ enable build on arm64
+
+ -- Khalid Aziz <khalid@debian.org> Wed, 25 Jan 2017 12:36:57 -0700
+
+kexec-tools (1:2.0.12-1) unstable; urgency=medium
+
+ * New upstream release
+ * Upstream release no longer uses build date in version
+ (Closes: #783239)
+ * Fix kexec failures when compiled with gcc > v5 (Closes: #825189)
+ * Add support for scripts in /etc/defauls/kexec.d (Closes: #752790)
+ * Update japaneses translation (Closes: #819601)
+ * Update french translation (Closes: #821073)
+ * Update dutch translation (Closes: #821441)
+
+ -- Khalid Aziz <khalid@debian.org> Fri, 24 Jun 2016 14:22:01 -0600
+
+kexec-tools (1:2.0.10-2) unstable; urgency=medium
+
+ * Fix for systemd bug, many thanks to Thomas Stangner. systemd users
+ must use "systemctl kexec" for a kexec reboot (Closes: #785714)
+ * Added -f option to update-rc.d in preinstall script (Closes: #807018)
+ * Updated code for USE_GRUB_CONFIG to work with new grub.cfg format which
+ also is back to using entry number for saved_entry (Closes: #766367)
+ * Changed the location of flag file for cold reboot to a safer location
+ (Closes : #766772)
+ * Added mips64 and mips64el to supported arches (Closes: #800953,
+ Closes: #809220)
+ * Make the package build reproducibly (Closes: #783239)
+ * Add Brazilian Portuguese debconf templates translation (Closes: #811512)
+
+ -- Khalid Aziz <khalid@debian.org> Tue, 22 Mar 2016 17:27:30 -0600
+
+kexec-tools (1:2.0.10-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #791942)
+ * Updated distclean_fix.patch to account for new files that need to
+ be cleaned up
+
+ -- Khalid Aziz <khalid@debian.org> Mon, 14 Sep 2015 13:30:53 -0600
+
+kexec-tools (1:2.0.9-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Khalid Aziz <khalid@debian.org> Mon, 15 Jun 2015 10:38:00 -0600
+
+kexec-tools (1:2.0.7-5.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Don't reboot the machine while removing the package (Closes: #782033)
+ * Fix loading kdump kernel on i386 (Closes: #771671)
+
+ -- Balint Reczey <balint@balintreczey.hu> Wed, 22 Apr 2015 12:04:44 +0200
+
+kexec-tools (1:2.0.7-5) unstable; urgency=medium
+
+ * Deleted the extra "-x" from "#!/bin/sh -x" in kexec-load init
+ script (closes: Bug#770792)
+
+ -- Khalid Aziz <khalid@debian.org> Mon, 24 Nov 2014 07:35:39 -0700
+
+kexec-tools (1:2.0.7-4) unstable; urgency=medium
+
+ * Changed the way systemd presence is detected to make shutdown more
+ reliable (closes: Bug#766338, closes: Bug#767449)
+
+ -- Khalid Aziz <khalid@debian.org> Mon, 03 Nov 2014 16:37:53 -0700
+
+kexec-tools (1:2.0.7-3) unstable; urgency=medium
+
+ * Fixed kexec-load init script so it will detect systemd
+ vs initV and load kexec kernel correctly (closes: Bug#764626)
+ * Added architecture ppc64el and started using dh_autoreconf
+ (closes: Bug#762628)
+
+ -- Khalid Aziz <khalid@debian.org> Fri, 10 Oct 2014 10:14:58 -0600
+
+kexec-tools (1:2.0.7-2) unstable; urgency=medium
+
+ * Fix build failure on ppc (closes: Bug#754609)
+ * Replaced s390 arch with s390x (closes: Bug#729451)
+ * Added patch from Roland to support powerpcspe (closes: Bug#734697)
+ * Added support for systemd (closes: Bug#764360, closes: Bug#699008)
+ * Enhanced kexec init scripts to work with systemd as well and now
+ "sudo reboot" from an X11 terminal works (closes: Bug#747119)
+ * Includes upstream fix to align initrd_base address to pagesize
+ (closes: Bug#756127)
+ * Added Turkish translation (closes: Bug#757510)
+
+ -- Khalid Aziz <khalid@debian.org> Wed, 08 Oct 2014 11:01:58 -0600
+
+kexec-tools (1:2.0.7-1) unstable; urgency=low
+
+ * New upstream release. Refreshed patches to apply without offsets
+ * Stopped passing start/stop to update-rc.d
+ * Includes fix for multiboot image booting bug from upstream
+ (closes: Bug#735360)
+
+ -- Khalid Aziz <khalid@debian.org> Wed, 09 Jul 2014 10:44:35 -0600
+
+kexec-tools (1:2.0.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Removed crashdump_warning.patch since it is in upstream now
+ * Removed update_kexec_manpage.patch since it is in upstream now
+ * Updated watch file to look for more extensions that tgz and tar.gz, as
+ suggested by someone on PTS
+ * Added support for parallel make (closes: Bug#727130)
+ * Added support for grub2's saved_entry (closes: Bug#699007)
+
+ -- Khalid Aziz <khalid@debian.org> Fri, 08 Nov 2013 16:38:16 -0700
+
+kexec-tools (1:2.0.3-4) unstable; urgency=low
+
+ * Drop the dependency on grub2 which is not quite right
+ (closes: Bug#717953, closes: Bug#718260)
+
+ -- Khalid Aziz <khalid@debian.org> Mon, 29 Jul 2013 08:16:59 -0600
+
+kexec-tools (1:2.0.3-3) unstable; urgency=low
+
+ * Fixed kexec-load init script to parse newer grub.cfg files correctly
+ (closes: Bug#714016)
+ * Replaced echo in kexec init script with printf to avoid bashism
+ (closes: Bug#701551)
+ * Fixed the "kexec -p" failure with kernel versions of the form x.y
+ (closes: Bug#708034)
+ * Updated japanese translation (Thank you Victory and Japanese Debian
+ Developers) (closes: Bug#717206)
+ * Added mips and mipsel to supported architectures (closes: Bug#711274)
+
+ -- Khalid Aziz <khalid@debian.org> Thu, 25 Jul 2013 13:57:30 -0600
+
+kexec-tools (1:2.0.3-2) unstable; urgency=low
+
+ * Changed the default for kexec to not be enabled, and changed the
+ priority of debconf question for enabling kexec by default to
+ high (closes: Bug#638261)
+ * Handle the case of a separate /boot partition (closes: Bug#687956)
+ * Updated to use hardening rules
+ * Added full path to the calls to kexec in init scripts to make sure
+ it works reliably.
+ * Added code to clear screen before rebooting (closes: Bug#606955)
+
+ -- Khalid Aziz <khalid@debian.org> Sun, 13 Jan 2013 19:39:31 -0700
+
+kexec-tools (1:2.0.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Switched to dpkg-source 3.0 (quilt) format
+ * Updated kexec and coldreboot man pages (closes: Bug#653197)
+ * Added armhf architecture (closes: Bug#645652)
+
+ -- Khalid Aziz <khalid@debian.org> Tue, 31 Jan 2012 09:11:31 -0700
+
+kexec-tools (1:2.0.2-3) unstable; urgency=low
+
+ * Added check for link_in_boot in kernel-img.conf and update kexec
+ kernel and initrd locations accordingly in kexec config file
+ (closes: Bug#577064)
+ * Added a check for /boot/grub directory before asking if kexec should use
+ grub config (Closes: Bug#643306)
+ * Added to SH4 to supported arch and changed arch for udeb to list of
+ supported Linux platforms (closes: Bug#600778)
+ * Corrected the malformed patch update_kexec_manpage.dpatch
+ * Added build-arch and build-indep targets to debian/rules
+ * Debconf templates and debian/control reviewed by the debian-l10n-
+ english team as part of the Smith review project. Closes: #639226, #636780
+ * [Debconf translation updates]
+ * Slovak (Slavko). Closes: #639305
+ * Russian (Yuri Kozlov). Closes: #637753
+ * Swedish (Martin Bagge / brother). Closes: #640049
+ * French (Steve Petruzzello). Closes: #640092
+ * Czech (Miroslav Kure). Closes: #640218
+ * Danish (Joe Hansen). Closes: #640408
+ * Portuguese (Rui Branco). Closes: #640858
+ * Dutch; (Jeroen Schot). Closes: #640989
+ * Spanish; (Camaleón). Closes: #640994
+ * German (Helge Kreutzmann). Closes: #641143
+
+ -- Khalid Aziz <khalid@debian.org> Tue, 11 Oct 2011 10:56:59 -0600
+
+kexec-tools (1:2.0.2-2) unstable; urgency=low
+
+ * Fixed the problem with --no-undefined option being used for gcc.
+ Applied Matthias's patch (closes: Bug#610517, Bug#624897)
+ * Replaced copyright info in debian/copyright with list of authors
+ and ensured link to license pionts to GPLv2 (closes: Bug#485679)
+ * Updated PATH in init scripts to make sure /sbin and /bin are searched
+ before other paths (closes: Bug#581219)
+ * Corrected kexec man page to not say shutdown is called on kexec -e
+ (closes: Bug#609462)
+ * Added option to use grub configuration to load kernel (close: Bug#525356)
+
+ -- Khalid Aziz <khalid@debian.org> Sun, 31 Jul 2011 14:30:31 -0600
+
+kexec-tools (1:2.0.2-1) unstable; urgency=low
+
+ * New upstream release (closes: Bug#623814)
+ * Updated watch file (closes: Bug#623813)
+ * Updated URL in copyright file
+ * Updated linitian overrides file to match path name for new lintian
+ * Added source/lintian-overrides file to override innocuous lintian errors
+
+ -- Khalid Aziz <khalid@debian.org> Thu, 28 Apr 2011 13:06:41 -0600
+
+kexec-tools (1:2.0.1-4) unstable; urgency=low
+
+ * Fix pending l10n issues. Debconf translations:
+ - Spanish (Camaleón). Closes: #583538
+ - Danish (Joe Hansen). Closes: #599859
+ - Italian (Vincenzo Campanella). Closes: #600218
+
+ -- Khalid Aziz <khalid@debian.org> Mon, 18 Oct 2010 12:01:47 -0600
+
+kexec-tools (1:2.0.1-3) unstable; urgency=low
+
+ * Added support for building udeb (closes: Bug#591441)
+ * Updated standards version to 3.9.1
+
+ -- Khalid Aziz <khalid@debian.org> Mon, 09 Aug 2010 14:41:14 -0600
+
+kexec-tools (1:2.0.1-2) unstable; urgency=low
+
+ * Fixed kernel load failure on "armv5tel" architecture (closes: Bug#564648)
+ * Added a script, coldreboot, to force a cold reboot (closes: Bug#519950)
+ * Added dependency dependency upon local filesystem to ensure filesystem
+ containing kexec image is not unmounted before kexec-load runs
+ (closes: Bug#578126)
+
+ -- Khalid Aziz <khalid@debian.org> Thu, 22 Apr 2010 16:03:31 -0600
+
+kexecc-tools (1:2.0.1-1) unstable; urgency=low
+
+ * New upstream version
+ * Honor dpkg-preconfigure, remove /etc/default/kexec from deb package and
+ remove /etc/default/kexec on package purge (closes: Bug#551919)
+
+ -- Khalid Aziz <khalid@debian.org> Tue, 24 Nov 2009 08:55:05 -0700
+
+kexec-tools (1:2.0.0-2) unstable; urgency=low
+
+ * Fixed configure script failure (closes: Bug#543081)
+ * Added debian/README.source
+
+ -- Khalid Aziz <khalid@debian.org> Thu, 10 Sep 2009 09:34:58 -0600
+
+kexec-tools (1:2.0.0-1) unstable; urgency=low
+
+ * New upstream version
+ * Added note about call to shutdown by kexec -e. Also added a README.debian
+ to explain automatic enablement of kexec (closes: Bug#501847)
+ * Added japanese translation (closes: Bug#512870)
+ * Added swedish translation (closes: Bug#503604)
+
+ -- Khalid Aziz <khalid@debian.org> Wed, 15 Apr 2009 16:41:45 -0600
+
+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 <lool@dooz.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> 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 <acid@debian.org> 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 <khalid@debian.org> 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 <khalid@debian.org> Fri, 09 Sep 2005 14:06:19 -0600
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/conffile b/debian/conffile
new file mode 100644
index 0000000..5ad40b9
--- /dev/null
+++ b/debian/conffile
@@ -0,0 +1,2 @@
+kexec.init.d
+kexec-load.init.d
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9ccad3c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: kexec-tools
+Section: admin
+Homepage: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/
+Priority: optional
+Maintainer: Khalid Aziz <khalid@debian.org>
+Build-Depends: debhelper (>= 7.0.0), dh-autoreconf, gnu-efi (>=3.0a-4)[ia64], libz-dev[arm64 ia64], po-debconf
+Standards-Version: 4.1.0
+
+Package: kexec-tools
+Architecture: i386 amd64 ppc64el ppc64 powerpc powerpcspe ia64 s390x arm arm64 armel armhf sh4 mips mipsel mips64 mips64el
+Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, lsb-base (>=3.0-6), dpkg (>= 1.15.7.2)
+Description: tools to support fast kexec reboots
+ This package provides tools to load a kernel into memory and then
+ "reboot" directly into that kernel using the kexec system call,
+ bypassing the normal boot process.
+
+Package: kexec-tools-udeb
+Section: debian-installer
+Architecture: i386 amd64 ppc64el ppc64 powerpc powerpcspe ia64 s390x arm arm64 armel armhf sh4 mips mipsel mips64 mips64el
+XC-Package-Type: udeb
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: tools to support fast kexec reboots (udeb)
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5f200ac
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Khalid Aziz <khalid@debian.org> 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://kernel.org/pub/linux/utils/kernel/kexec/
+
+Copyright: 2003-2012 Various
+
+Upstream Authors:
+Eric Biederman <ebiederm@xmission.com>
+Albert Herranz
+Jesse Barnes <jbarnes@sgi.com>
+Khalid Aziz <khalid.aziz@hp.com>
+Hariprasad Nellitheertha <hari@in.ibm.com>
+Tim Deegan <tjd21@cl.cam.ac.uk>
+And others...
+
+Currently maintained by
+P: Simon Horman
+M: horms@verge.net.au
+L: kexec@lists.infradead.org
+
+
+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-2
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..19a9db3
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+News
+TODO
diff --git a/debian/kexec-load.init.d b/debian/kexec-load.init.d
new file mode 100644
index 0000000..dab1b67
--- /dev/null
+++ b/debian/kexec-load.init.d
@@ -0,0 +1,129 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: kexec-load
+# Required-Start: $local_fs $remote_fs kexec
+# Required-Stop: $local_fs $remote_fs kexec
+# Should-Stop: autofs
+# Default-Start: 2 3 4 5
+# Default-Stop: 6
+# Short-Description: Load kernel image with kexec
+# Description:
+### END INIT INFO
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+NOKEXECFILE=/no-kexec-reboot
+
+. /lib/lsb/init-functions
+
+test -r /etc/default/kexec && . /etc/default/kexec
+if [ -d /etc/default/kexec.d ] ; then
+ for snippet in $(run-parts --list /etc/default/kexec.d) ; do
+ . "$snippet"
+ done
+fi
+
+process_grub_entry() {
+ initrd_image=
+ while read command args; do
+ if [ "$command" = "linux" ]; then
+ echo "$args" | while read kernel append; do
+ echo KERNEL_IMAGE=\"${prefix}${kernel}\"
+ echo APPEND=\"${append}\"
+ done
+ elif [ "$command" = "initrd" ]; then
+ initrd_image=${prefix}${args}
+ fi
+ done
+ echo INITRD=\"$initrd_image\"
+}
+
+get_grub_kernel() {
+ test -f /boot/grub/grub.cfg || return
+ local prefix
+ mountpoint -q /boot && prefix=/boot || prefix=
+ data=$(cat /boot/grub/grub.cfg)
+
+ default=$(echo "$data" | awk '/set default/ {print $2}' | cut -d'"' -f2 | tail -1)
+ if [ "$default" = '${saved_entry}' ]; then
+ default=$(sed -ne 's/^saved_entry=//p' /boot/grub/grubenv)
+ fi
+ if [ -z "$default" ]; then
+ default=0
+ fi
+ start_offset=$((default + 1))
+ end_offset=$((default + 2))
+
+ # grub entries start with "menuentry" commands. Get the line
+ # numbers that surround the first entry
+ offsets=$(echo "$data" | grep -n '^[[:space:]]*menuentry[[:space:]]' | cut -d: -f1)
+ begin=$(echo "$offsets" | tail -n+$start_offset | head -n1)
+ end=$(echo "$offsets" | tail -n+$end_offset | head -n1)
+
+ # If this is the last entry, we need to read to the end of the file
+ # or to the end of boot entry section
+ if [ -z "$end" ]; then
+ numlines=$(echo "$data" | tail --lines=+$begin | grep -n "^### END" | head -1 | cut -d: -f1)
+ end=$((begin + numlines - 1))
+ fi
+
+ length=$((end - begin))
+ entry=$(echo "$data" | tail -n+$begin | head -n$length)
+ eval $(echo "$entry" | process_grub_entry)
+}
+
+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
+
+ if [ -f $NOKEXECFILE ]
+ then
+ /bin/rm -f $NOKEXECFILE
+ exit 0
+ fi
+
+ test "$USE_GRUB_CONFIG" = "true" && get_grub_kernel
+
+ 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
+ /sbin/kexec -l "$KERNEL_IMAGE" --append="$REAL_APPEND"
+ else
+ /sbin/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)
+ # If running systemd, we want kexec reboot only if current
+ # command is reboot. If not running systemd, check if
+ # runlevel has been changed to 6 which indicates we are
+ # rebooting
+ if [ -d /run/systemd/system ]; then
+ systemctl list-jobs systemd-kexec.service | grep -q systemd-kexec.service
+ if [ $? -ne 0 ]; then
+ exit 0
+ fi
+ else if [ -x /sbin/runlevel -a "$(runlevel | awk '{ print $2 }')" != "6" ]; then
+ exit 0
+ fi
+ fi
+ do_stop
+ ;;
+ *)
+ echo "Usage: $0 start|stop" >&2
+ exit 3
+ ;;
+esac
+exit 0
diff --git a/debian/kexec-tools.config b/debian/kexec-tools.config
new file mode 100644
index 0000000..a893b85
--- /dev/null
+++ b/debian/kexec-tools.config
@@ -0,0 +1,29 @@
+#!/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
+ if test "$USE_GRUB_CONFIG" != "true" ; then
+ db_set kexec-tools/use_grub_config "false"
+ else
+ db_set kexec-tools/use_grub_config "true"
+ fi
+fi
+
+# Setup and select the configuration mode
+db_input high kexec-tools/load_kexec || true
+db_input medium kexec-tools/use_grub_config || true
+db_go
diff --git a/debian/kexec-tools.dirs b/debian/kexec-tools.dirs
new file mode 100644
index 0000000..85c5d86
--- /dev/null
+++ b/debian/kexec-tools.dirs
@@ -0,0 +1,2 @@
+sbin
+etc/default/kexec.d
diff --git a/debian/kexec-tools.lintian-overrides b/debian/kexec-tools.lintian-overrides
new file mode 100644
index 0000000..6ddeb88
--- /dev/null
+++ b/debian/kexec-tools.lintian-overrides
@@ -0,0 +1,5 @@
+# kexec-tools init scripts need special handling because they alter how system
+# reboots and general rule os special handling required at startup for
+# init scripts that require special handling at shutdown, does not apply
+kexec-tools: init.d-script-possible-missing-stop etc/init.d/kexec 0 1
+kexec-tools: init.d-script-possible-missing-stop etc/init.d/kexec-load 0 1
diff --git a/debian/kexec-tools.maintscript b/debian/kexec-tools.maintscript
new file mode 100644
index 0000000..2ec634f
--- /dev/null
+++ b/debian/kexec-tools.maintscript
@@ -0,0 +1,6 @@
+#! /bin/sh
+# maintainer script for kexec-tools
+#
+# see: dh_installdeb(1)
+
+rm_conffile /etc/default/kexec 1:2.0.16-1
diff --git a/debian/kexec-tools.postinst b/debian/kexec-tools.postinst
new file mode 100644
index 0000000..c8ca747
--- /dev/null
+++ b/debian/kexec-tools.postinst
@@ -0,0 +1,135 @@
+#! /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:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# 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
+ ;;
+
+ install|upgrade)
+ ;;
+
+ 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=""
+
+# Load the default kernel from grub config (true/false)
+USE_GRUB_CONFIG=false
+EOFMAGICNUMBER1234
+}
+
+# Add USE_GRUB_CONFIG parameter to config file if it does not exist
+. ${INITCONFFILE}
+if test -z "$USE_GRUB_CONFIG" ; then
+ echo "" >> ${INITCONFFILE}
+ echo "# Load the default kernel from grub config (true/false)" >> ${INITCONFFILE}
+ echo "USE_GRUB_CONFIG=" >> ${INITCONFFILE}
+fi
+
+# Detect if system is configured to place kernel link under /boot instead of /
+# If yes, update kernel and initrd image locations in config file
+if [ -f /etc/kernel-img.conf ]; then
+ LINK_IN_BOOT=`grep link_in_boot /etc/kernel-img.conf | cut -f2 -d= | tr -d '[:blank:]'`
+ if [ "$LINK_IN_BOOT" = "yes" ]; then
+ sed -e "s/KERNEL_IMAGE=\"\/vmlinuz\"/KERNEL_IMAGE=\"\/boot\/vmlinuz\"/" < ${INITCONFFILE} > ${INITCONFFILE}.$$
+ mv -f ${INITCONFFILE}.$$ $INITCONFFILE
+ sed -e "s/INITRD=\"\/initrd.img\"/INITRD=\"\/boot\/initrd.img\"/" < ${INITCONFFILE} > ${INITCONFFILE}.$$
+ mv -f ${INITCONFFILE}.$$ $INITCONFFILE
+ else
+ sed -e "s/KERNEL_IMAGE=\"\/boot\/vmlinuz\"/KERNEL_IMAGE=\"\/vmlinuz\"/" < ${INITCONFFILE} > ${INITCONFFILE}.$$
+ mv -f ${INITCONFFILE}.$$ $INITCONFFILE
+ sed -e "s/INITRD=\"\/boot\/initrd.img\"/INITRD=\"\/initrd.img\"/" < ${INITCONFFILE} > ${INITCONFFILE}.$$
+ mv -f ${INITCONFFILE}.$$ $INITCONFFILE
+ fi
+fi
+
+# ------------------------- Debconf questions start ---------------------
+
+db_get kexec-tools/load_kexec
+new_LOAD_KEXEC="${RET}"
+update_param LOAD_KEXEC
+
+if [ -d /boot/grub ]
+then
+ db_get kexec-tools/use_grub_config
+ new_USE_GRUB_CONFIG="${RET}"
+else
+ new_USE_GRUB_CONFIG="false"
+ db_set kexec-tools/use_grub_config "false"
+fi
+update_param USE_GRUB_CONFIG
+
+# ------------------------- Debconf questions end ---------------------
+
+#DEBHELPER#
+
+exit 0
+
diff --git a/debian/kexec-tools.postrm b/debian/kexec-tools.postrm
new file mode 100644
index 0000000..54f7fb6
--- /dev/null
+++ b/debian/kexec-tools.postrm
@@ -0,0 +1,43 @@
+#! /bin/sh
+# postrm script for kexec-tools
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge)
+ if [ -f /etc/default/kexec ]
+ then
+ rm /etc/default/kexec
+ fi
+ ;;
+ 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
diff --git a/debian/kexec-tools.preinst b/debian/kexec-tools.preinst
new file mode 100644
index 0000000..ed98b27
--- /dev/null
+++ b/debian/kexec-tools.preinst
@@ -0,0 +1,44 @@
+#!/bin/sh
+# preinst script for kexec-tools
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install)
+ ;;
+
+ upgrade)
+ # kexec init script runlevels have been updated for systemd for
+ # kexec-tools 1:2.0.7-2. Remove current init scripts if upgrading
+ if dpkg --compare-versions "$2" lt "1:2.0.7-2"; then
+ update-rc.d -f kexec remove
+ update-rc.d -f kexec-load remove
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst 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
diff --git a/debian/kexec-tools.templates b/debian/kexec-tools.templates
new file mode 100644
index 0000000..f026d3f
--- /dev/null
+++ b/debian/kexec-tools.templates
@@ -0,0 +1,24 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: kexec-tools/load_kexec
+Type: boolean
+Default: true
+_Description: Should kexec-tools handle reboots (sysvinit only)?
+ 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 boot loader process.
+
+Template: kexec-tools/use_grub_config
+Type: boolean
+Default: false
+_Description: Read GRUB configuration file to load the kernel?
+ If you choose this option, kexec will read the GRUB configuration file to
+ determine which kernel and options to load for kexec reboot, as opposed
+ to what is in /etc/default/kexec.
diff --git a/debian/kexec.init.d b/debian/kexec.init.d
new file mode 100644
index 0000000..cad8b3e
--- /dev/null
+++ b/debian/kexec.init.d
@@ -0,0 +1,55 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: kexec
+# Required-Start:
+# Required-Stop: reboot
+# X-Stop-After: umountroot
+# Default-Start: 2 3 4 5
+# Default-Stop: 6
+# Short-Description: Execute the kexec -e command to reboot system
+# Description:
+### END INIT INFO
+
+PATH=/sbin:/bin
+
+. /lib/lsb/init-functions
+
+test -r /etc/default/kexec && . /etc/default/kexec
+if [ -d /etc/default/kexec.d ] ; then
+ for snippet in $(run-parts --list /etc/default/kexec.d) ; do
+ . "$snippet"
+ done
+fi
+
+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"
+ # Clear the screen if possible
+ printf "\033[;H\033[2J"
+ /sbin/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)
+ # Systemd has its own kexec service (which will call the kexec
+ # binary), so skip, if running with systemd
+ if [ ! -d /run/systemd/system ]; then
+ do_stop
+ fi
+ ;;
+ *)
+ echo "Usage: $0 start|stop" >&2
+ exit 3
+ ;;
+esac
+exit 0
diff --git a/debian/patches/add_debian_readme.patch b/debian/patches/add_debian_readme.patch
new file mode 100644
index 0000000..d2cbc9d
--- /dev/null
+++ b/debian/patches/add_debian_readme.patch
@@ -0,0 +1,16 @@
+Index: kexec-tools-2.0.3/README.debian
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ kexec-tools-2.0.3/README.debian 2012-01-31 08:51:26.379799691 -0700
+@@ -0,0 +1,11 @@
++This kexec-tools package was built from kexec-tools git repository at
++<git://git.kernel.org/pub/scm/linux/kernel/git/horms/kexec-tools.git>.
++
++Installing this package also installs two init scripts under /etc/init.d -
++kexec-load and kexec. kexec-load is called upon reboot to load a new kexec
++kernel if kexec is enabled in /etc/default/kexec. kexec script is called
++just before reboot script. It checks if kexec is enabled and a
++kexec'able kernel is loaded. If yes, it kexecs a new kernel instead of
++reboot. As a result, kexec is automatically enabled upon installation of
++kexec-tools package if kexec is enabled in /etc/default/kexec through debconf
++option.
diff --git a/debian/patches/coldreboot.patch b/debian/patches/coldreboot.patch
new file mode 100644
index 0000000..3a4f20b
--- /dev/null
+++ b/debian/patches/coldreboot.patch
@@ -0,0 +1,88 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -173,9 +173,11 @@ PSRCS:=$(foreach s, $(SRCS), $(PACKAGE_N
+ PGSRCS:=$(foreach s, $(GENERATED_SRCS), $(PACKAGE_NAME)-$(PACKAGE_VERSION)/$(s))
+
+ MAN_PAGES:=$(KEXEC_MANPAGE) $(VMCORE_DMESG_MANPAGE)
++MAN_PAGES+=$(MANDIR)/man8/coldreboot.8
+ BINARIES_i386:=$(KEXEC_TEST)
+ BINARIES_x86_64:=$(KEXEC_TEST)
+ BINARIES:=$(KEXEC) $(VMCORE_DMESG) $(BINARIES_$(ARCH))
++SCRIPTS:=$(SBINDIR)/coldreboot
+
+ UNINSTALL_KDUMP = $(sbindir)/kdump
+ UNINSTALL_KDUMP_MANPAGE = $(mandir)/man8/kdump.8
+@@ -184,7 +186,7 @@ UNINSTALL_KEXEC_MANPAGE = $(mandir)/man8
+ UNINSTALL_VMCORE_DMESG = $(sbindir)/vmcore-dmesg
+ UNINSTALL_VMCORE_DMESG_MANPAGE = $(mandir)/man8/vmcore-dmesg.8
+
+-TARGETS:=$(BINARIES) $(MAN_PAGES)
++TARGETS:=$(BINARIES) $(MAN_PAGES) $(SCRIPTS)
+ targets: $(TARGETS)
+
+ UNINSTALL_TARGETS:=$(UNINSTALL_KDUMP) $(UNINSTALL_KDUMP_MANPAGE) \
+--- a/kexec/Makefile
++++ b/kexec/Makefile
+@@ -103,6 +103,8 @@ clean += $(KEXEC_OBJS) $(KEXEC_DEPS) $(K
+
+ KEXEC = $(SBINDIR)/kexec
+ KEXEC_MANPAGE = $(MANDIR)/man8/kexec.8
++KEXEC_COLDREBOOT=$(SBINDIR)/coldreboot
++KEXEC_COLDREBOOT_MANPAGE=$(MANDIR)/man8/coldreboot.8
+
+ -include $(KEXEC_DEPS)
+
+@@ -117,6 +119,16 @@ kexec/fs2dt.o: CPPFLAGS+=$($(ARCH)_FS2DT
+ $(KEXEC_MANPAGE): kexec/kexec.8
+ @$(MKDIR) -p $(MANDIR)/man8
+ cp $^ $(KEXEC_MANPAGE)
++
++$(KEXEC_COLDREBOOT): kexec/coldreboot
++ @$(MKDIR) -p $(@D)
++ cp kexec/coldreboot $(KEXEC_COLDREBOOT)
++ /bin/chmod 755 $(KEXEC_COLDREBOOT)
++
++$(KEXEC_COLDREBOOT_MANPAGE): kexec/coldreboot.8
++ @$(MKDIR) -p $(MANDIR)/man8
++ cp kexec/coldreboot.8 $(KEXEC_COLDREBOOT_MANPAGE)
++
+ echo::
+ @echo "KEXEC_SRCS $(KEXEC_SRCS)"
+ @echo "KEXEC_DEPS $(KEXEC_DEPS)"
+--- /dev/null
++++ b/kexec/coldreboot
+@@ -0,0 +1,6 @@
++#!/bin/sh
++NOKEXECFILE=/no-kexec-reboot
++
++/bin/rm -f $NOKEXECFILE
++touch $NOKEXECFILE
++/sbin/reboot $*
+--- /dev/null
++++ b/kexec/coldreboot.8
+@@ -0,0 +1,25 @@
++.\" Process this file with
++.\" groff -man -Tascii coldreboot.8
++.\"
++.TH kexec 8 "April 2006" Linux "User Manuals"
++.SH NAME
++coldreboot \- Force a cold reboot bypassing kexec-tools default
++.SH SYNOPSIS
++.B /sbin/coldreboot
++.B [reboot options]
++
++.SH DESCRIPTION
++.B coldreboot
++is a script that forces a cold reboot regardless of whether kexec is enabled
++or not in /etc/default/kexec.
++.B coldreboot
++takes the same arguments as /sbin/reboot and passes them on to /sbin/reboot
++later.
++
++.SH NOTES
++.PP
++.B coldreboot
++prevents a kexec kernel from being loaded automatically and thus
++forces a cold reboot. If the user loads a kexec kernel by hand,
++.B coldreboot
++will still result in a kexec reboot.
diff --git a/debian/patches/debianize.patch b/debian/patches/debianize.patch
new file mode 100644
index 0000000..3bdf883
--- /dev/null
+++ b/debian/patches/debianize.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -91,7 +91,7 @@ SHAREDSTATEDIR=$(BUILD_PREFIX)/com
+ 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
diff --git a/debian/patches/distclean_fix.patch b/debian/patches/distclean_fix.patch
new file mode 100644
index 0000000..28831c9
--- /dev/null
+++ b/debian/patches/distclean_fix.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -238,7 +238,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 $(SPEC)
+ $(RM) -rf autom4te.cache
+
diff --git a/debian/patches/linker-option.patch b/debian/patches/linker-option.patch
new file mode 100644
index 0000000..5825fbb
--- /dev/null
+++ b/debian/patches/linker-option.patch
@@ -0,0 +1,11 @@
+--- a/purgatory/Makefile
++++ b/purgatory/Makefile
+@@ -66,7 +66,7 @@ $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATOR
+ $(PURGATORY): $(PURGATORY_OBJS)
+ $(MKDIR) -p $(@D)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@.sym $^
+-# $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
++# $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) -Wl,--no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
+ $(STRIP) --strip-debug -o $@ $@.sym
+
+ echo::
diff --git a/debian/patches/powerpcspe_support.patch b/debian/patches/powerpcspe_support.patch
new file mode 100644
index 0000000..89c2cb3
--- /dev/null
+++ b/debian/patches/powerpcspe_support.patch
@@ -0,0 +1,11 @@
+--- a/kexec/arch/ppc/ppc-setup-dol.S
++++ b/kexec/arch/ppc/ppc-setup-dol.S
+@@ -80,7 +80,7 @@ setup_dol_start:
+ isync
+
+ /* AFAIK, this is not strictly needed, although seems sane */
+-#if 1
++#ifndef __NO_FPRS__
+ li r9, 0
+
+ /* page table pointer */
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1029313
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,7 @@
+debianize.patch
+static_binary_warning.patch
+distclean_fix.patch
+add_debian_readme.patch
+coldreboot.patch
+linker-option.patch
+powerpcspe_support.patch
diff --git a/debian/patches/static_binary_warning.patch b/debian/patches/static_binary_warning.patch
new file mode 100644
index 0000000..cabc937
--- /dev/null
+++ b/debian/patches/static_binary_warning.patch
@@ -0,0 +1,20 @@
+Index: kexec-tools-2.0.3/kexec_test/Makefile
+===================================================================
+--- kexec-tools-2.0.3.orig/kexec_test/Makefile 2012-01-24 14:10:44.383816036 -0700
++++ kexec-tools-2.0.3/kexec_test/Makefile 2012-01-31 08:44:23.235020166 -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)
+
+@@ -36,5 +36,6 @@
+ $(KEXEC_TEST): $(KEXEC_TEST_OBJS)
+ mkdir -p $(@D)
+ $(TARGET_LD) $(LDFLAGS) -o $@ $^
++ strip $@
+
+ endif
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..f20df85
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] kexec-tools.templates
diff --git a/debian/po/cs.po b/debian/po/cs.po
new file mode 100644
index 0000000..be2a8c7
--- /dev/null
+++ b/debian/po/cs.po
@@ -0,0 +1,53 @@
+# 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 <kurem@debian.cz>, 2008, 2011
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2011-09-03 15:12+0200\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"Language: cs\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:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Mají se kexec-tools starat o restarty?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"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."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Použít pro zavedení jádra konfigurační souboru GRUBu?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Zvolíte-li tuto možnost, kexec nepoužije pro restart parametry jádra zadané "
+"v /etc/default/kexec, ale zjistí si je z konfiguračního souboru GRUBu."
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644
index 0000000..d1d1989
--- /dev/null
+++ b/debian/po/da.po
@@ -0,0 +1,53 @@
+# Danish translation kexec-tools.
+# Copyright (C) 2016 kexec-tools & nedenstående oversættere.
+# This file is distributed under the same license as the kexec-tools package.
+# Joe Hansen <joedalton2@yahoo.dk>, 2010, 2011, 2016.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2016-07-09 05:26+0100\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
+"Language: da\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:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Skal kexec-tools håndtere genstarter (kun sysvinit)?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Hvis du vælger denne indstilling, vil en systemgenstart udløse en genstart "
+"med en kerne indlæst af kexec i stedet for at gå igennem den fulde proces "
+"med systemopstart."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Læs GRUB-konfigurationsfil for at indlæse kernen?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Hvis du vælger denne indstilling, vil kexec læse GRUB-konfigurationsfilen "
+"for at bestemme hvilken kerne og hvilke indstillinger at indlæse for kexec-"
+"genstart, til forskel fra hvad der er i /etc/default/kexec."
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644
index 0000000..888c1a9
--- /dev/null
+++ b/debian/po/de.po
@@ -0,0 +1,55 @@
+# German translation of the kexec-tools debconf template
+# Copyright 2008 Kai Wasserbäch <debian@carbon-project.org>
+# Copyright 2011,2017 Helge Kreutzmann <debian@helgefjell.de>
+# This file is distributed under the same license as the kexec-tools package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 1:2.0.14-1\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2017-03-10 21:15+0100\n"
+"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"Language: de\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"
+
+#, new
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Soll »kexec-tools« Neustarts verwalten? (Nur SysvInit)"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"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."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "GRUBs Konfigurationsdatei für das Laden des Kernels auslesen?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Falls Sie diese Option wählen, wird »kexec« die Konfigurationsdatei von GRUB "
+"auslesen, um den Kernel und die Optionen für das Laden zu ermitteln, anstatt "
+"den Inhalt von /etc/default/kexec zu verwenden."
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 0000000..0561695
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,79 @@
+# kexec-tools po-debconf translation to Spanish
+# Copyright (C) 2010 Software in the Public Interest
+# This file is distributed under the same license as the kexec-tools package.
+#
+# Changes:
+# - Initial translation
+# Camaleón <noelamac@gmail.com>, 2011
+#
+# - Updates
+#
+#
+# Traductores, si no conocen el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas y normas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 2.0.2-3\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2011-08-29 12:15+0200\n"
+"Last-Translator: Camaleón <noelamac@gmail.com>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"Language: \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:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "¿Debe kexec-tools gestionar los reinicios del sistema?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Si selecciona esta opción, al reiniciar el sistema se realizará un reinicio "
+"en un núcleo cargado por kexec en lugar de iniciar el proceso completo del "
+"cargador de arranque del sistema."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "¿Leer el archivo de configuración de GRUB al cargar el kernel?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Si selecciona esta opción, kexec leerá el archivo de configuración de GRUB "
+"para determinar el kernel y las opciones que se van a cargar al reiniciar "
+"kexec, en lugar de obtener los valores desde el archivo «/etc/default/kexec»."
diff --git a/debian/po/fi.po b/debian/po/fi.po
new file mode 100644
index 0000000..396cc1a
--- /dev/null
+++ b/debian/po/fi.po
@@ -0,0 +1,54 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2008-04-26 08:30+0200\n"
+"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
+"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
+"Language: fi\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:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Tulisiko kexec-toolsin hallinnoida järjestelmän uudelleenkäynnistystä?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+#, fuzzy
+#| 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."
+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 boot loader "
+"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."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 0000000..e8841ad
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,57 @@
+# Translation of kexec-tools debconf template to French
+# Copyright (C) 2016 Debian French l10n team <debian-l10n-french@lists.debian.org>
+# This file is distributed under the same license as the kexec-tools package.
+#
+# Translator:
+# Steve Petruzzello <dlist@bluewin.ch>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools_2.0.0-2\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2016-04-05 12:18+0200\n"
+"Last-Translator: Steve Petruzzello <dlist@bluewin.ch>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"Language: fr\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:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr ""
+"Faut-il gérer les redémarrages avec kexec-tools (seulement pour sysvinit) ?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Si vous choisissez cette option, le système redémarrera avec un noyau chargé "
+"par kexec plutôt que par le programme d'amorçage habituel. "
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr ""
+"Faut-il lire le fichier de configuration de GRUB pour charger le noyau ?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Si vous choisissez cette option, kexec lira le fichier de configuration de "
+"GRUB pour déterminer le noyau et les options à charger pour un redémarrage "
+"via kexec, contrairement à ce qui se trouve dans le fichier « /etc/default/"
+"kexec »."
diff --git a/debian/po/gl.po b/debian/po/gl.po
new file mode 100644
index 0000000..3d92a86
--- /dev/null
+++ b/debian/po/gl.po
@@ -0,0 +1,56 @@
+# Galician translation of kexec-tools's debconf templates
+# This file is distributed under the same license as the kexec-tools package.
+# Jacobo Tarrio <jtarrio@debian.org>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2008-04-25 21:26+0100\n"
+"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "¿Debe kexec-tools xestionar os reinicios?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+#, fuzzy
+#| 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."
+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 boot loader "
+"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."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644
index 0000000..46d388c
--- /dev/null
+++ b/debian/po/it.po
@@ -0,0 +1,58 @@
+# ITALIAN TRANSLATION OF KEXEC-TOOLS' PO-DEBCONF FILE.
+# COPYRIGHT (C) 2010 THE KEXEC-TOOLS' COPYRIGHT HOLDER
+# This file is distributed under the same license as the kexec-tools package.
+#
+# Vincenzo Campanella <vinz65@gmail.com>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2010-10-13 06:52+0200\n"
+"Last-Translator: Vincenzo Campanella <vinz65@gmail.com>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\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:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Si desidera che kexec-tools gestisca i riavvii?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+#, fuzzy
+#| 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."
+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 boot loader "
+"process."
+msgstr ""
+"Se si risponde affermativamente, il riavvio del sistema verrà effettuato "
+"utilizzando un kernel caricato da kexec anziché passare tramite l'intero "
+"processo di caricamento del sistema."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644
index 0000000..ddf55e7
--- /dev/null
+++ b/debian/po/ja.po
@@ -0,0 +1,55 @@
+# Copyright (C) 2008 Khalid Aziz <khalid@debian.org>
+# This file is distributed under the same license as kexec-tools package.
+# Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2008.
+# Takuma Yamada <tyamada@takumayamada.com>, 2016.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 20080324-2\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2016-03-24 12:07+0900\n"
+"Last-Translator: Takuma Yamada <tyamada@takumayamada.com>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"Language: ja\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: Gtranslator 2.91.6\n"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "kexec-tools で再起動処理を行いますか (sysvinit のみ)?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"このオプションを選んだ場合、通常システムのブートローダ手順通りではなく、"
+"kexec からロードされたカーネルから再起動するようにシステムの再起動が設定され"
+"ます。"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "カーネルをロードするための GRUB 設定ファイルを読み込みますか?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"このオプションを選択すると kexec は /etc/default/kexec の内容ではなく GRUB 設"
+"定ファイルを読み込んで kexec の再起動時にどのカーネル及びオプションをロードす"
+"るか判断します。"
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644
index 0000000..da1bbf8
--- /dev/null
+++ b/debian/po/nl.po
@@ -0,0 +1,55 @@
+# Dutch translation of kexec-tools debconf templates.
+# Copyright (C) 2011 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the kexec-tools package.
+# Jeroen Schot <schot@a-eskwadraat.nl>, 2011.
+# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2016.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 1:2.0.2-3\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2016-04-01 18:25+0200\n"
+"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n"
+"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n"
+"Language: nl\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"
+"X-Generator: Gtranslator 2.91.6\n"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Moet kexec-tools het herstarten afhandelen (enkel met sysvinit)?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Als u hiervoor kiest zal een systeemherstart een kernel via kexec laden in "
+"plaats van het doorlopen van het volledige bootloader-proces."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "GRUB-configuratie uitlezen om de kernel te laden?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Als u hier voor kiest zal kexec het configuratiebestand van GRUB uitlezen om "
+"te bepalen welke kernel en opties een kexec-herstart moet gebruiken, in "
+"plaats van de inhoud van /etc/default/kexec."
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644
index 0000000..110a685
--- /dev/null
+++ b/debian/po/pt.po
@@ -0,0 +1,57 @@
+# Portuguese translation of kexec-tool's debconf messages.
+# Copyright (C) 2008, 2011
+# This file is distributed under the same license as the kexec-tools package.
+# Ricardo Silva <ardoric@gmail.com>, 2008.
+# Rui Branco <ruipb@debianpt.org>, 2011, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools_1-2.0.14-1_pt\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2017-03-14 12:08+0000\n"
+"Last-Translator: Rui Branco <ruipb@debianpt.org>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"Language: pt\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"
+"X-Generator: Gtranslator 2.91.7\n"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr ""
+"Deve o kexec-tools gerir as reiniciações do computador (apenas sysvinit)?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"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 reinicio e arranque do "
+"computador."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Ler o ficheiro de configuração do GRUB para carregar o kernel?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Se escolher esta opção, o kexec irá ler o ficheiro de configuração do GRUB "
+"de modo a determinar qual o kernel e quais as opções para o reinicio do "
+"kexec, em oposição ao que existe em /etc/default/kexec."
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644
index 0000000..8806432
--- /dev/null
+++ b/debian/po/pt_BR.po
@@ -0,0 +1,55 @@
+# Debconf translations for kexec-tools.
+# Copyright (C) 2016 THE kexec-tools'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the kexec-tools package.
+# Adriano Rafael Gomes <adrianorg@debian.org>, 2016-2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 1:2.0.12-1\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2017-01-11 15:34-0200\n"
+"Last-Translator: Adriano Rafael Gomes <adrianorg@debian.org>\n"
+"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
+"org>\n"
+"Language: pt_BR\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:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr ""
+"O kexec-tools deve controlar as reinicializações (somente para sysvinit)?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Se você escolher essa opção, uma reinicialização do sistema provocará um "
+"reinício em um kernel carregado pelo kexec, ao invés de passar por todo o "
+"processo do carregador de inicialização do sistema."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Ler o arquivo de configuração do GRUB para carregar o kernel?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Se você escolher essa opção, o kexec lerá o arquivo de configuração do GRUB "
+"para determinar qual kernel e quais opções carregar para a reinicialização "
+"via kexec, em oposição ao que estiver em /etc/default/kexec."
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644
index 0000000..1b86f99
--- /dev/null
+++ b/debian/po/ru.po
@@ -0,0 +1,65 @@
+# translation of ru.po to Russian
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the kexec-tools package.
+#
+# Yuri Kozlov <kozlov.y@gmail.com>, 2008.
+# Yuri Kozlov <yuray@komyakino.ru>, 2011.
+# Lev Lamberov <dogsleg@debian.org>, 2017.
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 1:2.0.2-3\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2017-12-09 15:28+0500\n"
+"Last-Translator: Lev Lamberov <dogsleg@debian.org>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.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:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr ""
+"Использовать kexec-tools для обработки команды на перезагрузку (только для "
+"sysvinit)?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Если вы ответите утвердительно, то при перезагрузке системы будет выполнен "
+"перезапуск в ядро, загруженное с помощью kexec, а не как обычно, с полным "
+"перезапуском системы с использованием системного загрузчика."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Использовать файл настройки GRUB для загрузки ядра?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Если вы ответите утвердительно, то при перезагрузке системы kexec будет "
+"использовать ядро и параметры из файла настройки GRUB, а не из файла /etc/"
+"default/kexec."
+
+#~ msgid "Should kexec-tools e grub2 config file to load kernel?"
+#~ msgstr ""
+#~ "Должен ли kexec-tools использовать файл настройки grub2 для выбора "
+#~ "загружаемого ядра?"
diff --git a/debian/po/sk.po b/debian/po/sk.po
new file mode 100644
index 0000000..6609355
--- /dev/null
+++ b/debian/po/sk.po
@@ -0,0 +1,58 @@
+# Slovak translations for kexec-tools package
+# Slovenské preklady pre balík kexec-tools.
+# Copyright (C) 2011 THE kexec-tools'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the kexec-tools package.
+# Automatically generated, 2011.
+# Slavko <linux@slavino.sk>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 1:2.0.2-3\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2011-08-25 21:13+0200\n"
+"Last-Translator: Slavko <linux@slavino.sk>\n"
+"Language-Team: Slovak <debian-l10n-slovak@lists.debian.org>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Majú reštarty obsluhovať nástroje kexec?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Ak zvolíte túto možnosť, reštart systému vyvolá reštart do jadra načítaného "
+"pomocou kexec, namiesto vykonania úplného procesu reštartu systému pomocou "
+"zavádzača."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Čítať na určenie jadra konfiguračný súbor GRUB?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Ak zvolíte túto možnosť, určí kexec jadro a parametre, ktoré má načítať na "
+"reštart pomocou kexec z konfiguračného súboru GRUB, namiesto údajov v /etc/"
+"default/kexec."
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644
index 0000000..813dfec
--- /dev/null
+++ b/debian/po/sv.po
@@ -0,0 +1,57 @@
+# translation of kexec-tools.po to swedish
+# Copyright (C) 2011 Martin Bagge <brother@bsnet.se>
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Martin Bagge <brother@bsnet.se>, 2008, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2011-09-01 22:40+0100\n"
+"Last-Translator: Martin Bagge / brother <brother@bsnet.se>\n"
+"Language-Team: swedish <debian-l10n-swedish@lists.debian.org>\n"
+"Language: \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"
+"X-Poedit-Language: Swedish\n"
+"X-Poedit-Country: Sweden\n"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "Ska kexec-tools hantera omstarter?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Om du väljer detta alternativ så kommer en omstart av systemet innebära att "
+"kexec laddar en kärna istället för att köra hela systemets uppstartsprocess."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Ska inställningsfilen för GRUB läsas för att ladda kärnan?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Detta val innebär att kexec kommer att läsa inställningsfilen för GRUB för "
+"att utröna vilken kärna och vilka flaggor som ska användas vid kexec-"
+"omstarten, till skillnad från vad som är angivet i /etc/default/kexec."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..c6e7b88
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,48 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the kexec-tools package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"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:2001
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
diff --git a/debian/po/tr.po b/debian/po/tr.po
new file mode 100644
index 0000000..3b1de6f
--- /dev/null
+++ b/debian/po/tr.po
@@ -0,0 +1,56 @@
+# Turkish translation of kexec-tools package
+# Copyright (C) 2014 Mert Dirik
+# This file is distributed under the same license as the kexec-tools package.
+# Mert Dirik <mertdirik@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 1%3a2.0.7-1\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2014-08-01 17:02+0200\n"
+"Last-Translator: Mert Dirik <mertdirik@gmail.com>\n"
+"Language-Team: Debian L10n Turkish <debian-l10n-turkish@lists.debian.org>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.5.4\n"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "kexec-tools yeniden başlatma işlerini idare etsin mi?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+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 boot loader "
+"process."
+msgstr ""
+"Bu seçenek etkinleştirilirse, sistemi yeniden başlatma işlemi sistem "
+"önyükleme sürecini kullanmayacak, bunun yerine kexec tarafından yüklenmiş "
+"olan çekirdek ile doğrudan yeniden başlatma yapacaktır."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr "Çekirdeği yüklemek için GRUB yapılandırma dosyası okunsun mu?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
+"Bu seçeneği seçmeniz halinde kexec, yeniden başlatma işleminde hangi "
+"çekirdeği ve hangi seçenekleri kullanacağına karar vermek için /etc/default/"
+"kexec dosyası yerine GRUB yapılandırma dosyasını okur."
diff --git a/debian/po/vi.po b/debian/po/vi.po
new file mode 100644
index 0000000..7bf63a7
--- /dev/null
+++ b/debian/po/vi.po
@@ -0,0 +1,58 @@
+# Vietnamese translation for Kexec-Tools.
+# Copyright © 2008 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: kexec-tools 20080324-1\n"
+"Report-Msgid-Bugs-To: kexec-tools@packages.debian.org\n"
+"POT-Creation-Date: 2016-03-22 17:16-0600\n"
+"PO-Revision-Date: 2008-04-28 16:06+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
+"Language: vi\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:2001
+#, fuzzy
+#| msgid "Should kexec-tools handle reboots?"
+msgid "Should kexec-tools handle reboots (sysvinit only)?"
+msgstr "kexec-tools nên quản lý việc khởi động lại không?"
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:2001
+#, fuzzy
+#| 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."
+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 boot loader "
+"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."
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid "Read GRUB configuration file to load the kernel?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../kexec-tools.templates:3001
+msgid ""
+"If you choose this option, kexec will read the GRUB configuration file to "
+"determine which kernel and options to load for kexec reboot, as opposed to "
+"what is in /etc/default/kexec."
+msgstr ""
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2321023
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# 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
+
+
+BUILD_DATE = $(shell dpkg-parsechangelog -S Date | LC_ALL=C date -u +'%d %B %Y' -f -)
+export BUILD_DATE
+
+ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+ NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
+endif
+
+CFLAGS = -Wall -g
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ dh_autoreconf
+ CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" dh_auto_configure -- --prefix=/usr --sbindir=/sbin --mandir=/usr/share/man --datadir=/usr/share
+ touch configure-stamp
+
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) $(NJOBS)
+
+ touch build-stamp
+
+clean: tidy
+
+tidy: 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_autoreconf_clean
+ dh_clean
+ debconf-updatepo
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/kexec-tools
+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
+
+ install -D -m 0755 debian/kexec-tools/sbin/kexec debian/kexec-tools-udeb/sbin/kexec
+
+# 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 -r --name=kexec
+ dh_installinit -r --name=kexec-load
+ dh_installexamples
+ dh_lintian
+ 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
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..7892b5c
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,7 @@
+# Upstream uses rather old config files. We just have to tolerate it
+# until upstream updates it
+kexec-tools source: outdated-autotools-helper-file config/config.sub 2004-06-24
+kexec-tools source: outdated-autotools-helper-file config/config.guess 2004-08-13
+# Upstream configure script updates timestamp in include/config.h which causes
+# a diff to be included in the diff file. Ignore this
+kexec-tools source: patch-system-but-direct-changes-in-diff include/config.h
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8567ba4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/-(rc\d*)$/~$1/ \
+http://kernel.org/pub/linux/utils/kernel/kexec/ \
+(?:|.*/)kexec-tools(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)