Merge tag 'upstream/3.14'
authorBdale Garbee <bdale@gag.com>
Fri, 29 Jun 2012 17:02:57 +0000 (11:02 -0600)
committerBdale Garbee <bdale@gag.com>
Fri, 29 Jun 2012 17:02:57 +0000 (11:02 -0600)
Upstream version 3.14

41 files changed:
debian/README.elilo [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/elilo.8 [new file with mode: 0644]
debian/elilo.config [new file with mode: 0644]
debian/elilo.initramfs-post-update [new file with mode: 0644]
debian/elilo.kernel-postinst [new file with mode: 0644]
debian/elilo.kernel-postrm [new file with mode: 0644]
debian/elilo.sh [new file with mode: 0644]
debian/elilo.templates [new file with mode: 0644]
debian/eliloalt.8 [new file with mode: 0644]
debian/gbp.conf [new file with mode: 0644]
debian/patches/cross-build.diff [new file with mode: 0644]
debian/patches/fix-paths.diff [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/po/POTFILES.in [new file with mode: 0644]
debian/po/cs.po [new file with mode: 0644]
debian/po/da.po [new file with mode: 0644]
debian/po/de.po [new file with mode: 0644]
debian/po/es.po [new file with mode: 0644]
debian/po/fr.po [new file with mode: 0644]
debian/po/gl.po [new file with mode: 0644]
debian/po/it.po [new file with mode: 0644]
debian/po/ja.po [new file with mode: 0644]
debian/po/nl.po [new file with mode: 0644]
debian/po/pl.po [new file with mode: 0644]
debian/po/pt.po [new file with mode: 0644]
debian/po/pt_BR.po [new file with mode: 0644]
debian/po/ro.po [new file with mode: 0644]
debian/po/ru.po [new file with mode: 0644]
debian/po/sv.po [new file with mode: 0644]
debian/po/ta.po [new file with mode: 0644]
debian/po/templates.pot [new file with mode: 0644]
debian/postinst [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/sys2ansi.pl [new file with mode: 0644]

diff --git a/debian/README.elilo b/debian/README.elilo
new file mode 100644 (file)
index 0000000..499bb4b
--- /dev/null
@@ -0,0 +1,106 @@
+
+                        /usr/sbin/elilo documentation
+
+There are two parts to elilo:
+
+/usr/lib/elilo/elilo.efi   The bootloader itself.
+/usr/sbin/elilo            Utility to install/update a bootload configuration.
+
+This document describes /usr/sbin/elilo; for information on elilo.efi, or
+the configuration file format, please refer to /usr/doc/elilo/elilo.txt.
+
+
+elilo option summary:
+
+  -b, --boot                 set bootstrap partition device [ -b /dev/sda1 ]
+  -i, --install              pathname to the actual bootloader binary
+                               default: /usr/{local/}lib/elilo/elilo.efi
+  -C, --config               use alternate configuration file [ -C config_file ]
+      --autoconf             auto-generate a /etc/elilo.conf
+      --efiboot              elilo auto configuration: create an efi boot
+                               manager entry for elilo
+      --timeout              elilo auto configuration: sets the time elilo
+                               will wait for user input before booting default
+                               image default: 20 (2 seconds)
+      --image                elilo auto configuration: sets the path to the
+                               kernel image. default: /vmlinuz
+      --label                elilo auto configuration: sets the image label
+                               default: Linux
+      --root                 elilo auto configuration: sets the root device
+                               default: /dev/sda3
+      --format               create a new FAT filesystem on the boot partition
+  -v, --verbose              make elilo more verbose
+      --debug                print boring junk only useful for debugging
+  -h, --help                 display this help and exit
+  -V, --version              output version information and exit
+
+
+The primary function of elilo is to copy files necessary for booting
+Debian GNU/Linux from the main filesystem to a subdirectory /EFI/debian
+on the boot partition.  In addition, elilo can create a default
+configuration file, /etc/elilo.conf, and can invoke efibootmgr to create
+an entry in the EFI Boot Manager menu such that a system will autoboot
+in to Debian GNU/Linux on power up.
+
+It is important to note that elilo will recreate the /EFI/debian
+directory on your boot partition every time it is run, so any local
+changes you might have made under that direcotry will be lost.  The
+intention of elilo is to hide the boot partition from the user; the
+partition is not normally mounted so the user is unlikely to make local
+modifications.
+
+elilo does various checks on the partition (e.g. must pass dosfsck, must
+be a partition rather than a whole disk, must not be mounted, etc.)
+before overwriting it.  Invoking it with --format will run mkdosfs on
+the partition; this is generally not advisable, if the partition may be
+shared with other operating systems.
+
+
+/etc/elilo.conf generation:
+
+This is generally only used during system installation.  Typically elilo.conf
+will already exist, and is not modified by elilo.  To generate a new config
+file, you must specify --autoconf, along with any of the other auto
+configuration options necessary to override defaults.  Defaults are given
+in the option summary above.
+
+
+Invoking efibootmgr:
+
+--efiboot will cause elilo to run efibootmgr and create a default boot entry
+in the EFI Boot Manager menu called "Debian GNU/Linux".  Any other entries
+of that name are assumed to be left over from some previous installation and
+are deleted.  If the descriptions for the first two boot mansger entries
+start with strings "floppy" and "CD" or "DVD", then the new boot entry
+is created as the third entry, so that the system will still boot
+exchangeable media first by default.
+
+
+elilo.conf extensions:
+
+elilo requires a couple of extra parameters in elilo.conf that elio.efi does
+not currently support.  They are:
+
+install=<path to elilo.efi>  # default /usr/lib/elilo/elilo.efi
+boot=<boot partition>        # /dev/sda1
+
+These are needed so that a normal run of elilo with no parameters can find 
+the elilo.efi binary and boot partition in order to rebuild it.
+
+
+Boot partition creation:
+
+Once the /EFI/debian directory has been created, elilo copies various
+files to it.  These include elilo.efi, elilo.conf, and certain kernel
+and ramdisk images referenced by elilo.conf.  elilo.conf is modified as
+it is copied, to comment out the install= and boot= lines so as not to
+confuse elilo.efi, and to prefix any file paths with /EFI/debian.  All
+kernel and initrd images that are referenced via standard UNIX paths are
+copied to the boot partition, so that elilo.efi can find them easily.
+Any paths containing a ':' are assumed to be EFI device paths, and as
+such are not copied.  Device path names depend on features of elilo.efi,
+but a typical path might be "scsi1:/vmlinux-2.4.7".  It is hoped that
+eventually a sufficiently robust device path naming scheme will be
+devised, and then devices paths will be used throughout, and it will no
+longer be necessary to copy images to the boot partition.
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..9d4d3a3
--- /dev/null
@@ -0,0 +1,411 @@
+elilo (3.12-5) unstable; urgency=low
+
+  * merge 3.12-4.1 diff from Christian Perrier
+  * add VCS entries to control file
+  * update standards version
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 29 Jun 2012 09:25:49 -0600
+
+elilo (3.12-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix pending l10n issues. Debconf translations:
+    - Danish (Joe Hansen).  Closes: #602446
+    - Polish (Michał Kułach).  Closes: #657502
+
+ -- Christian Perrier <bubulle@debian.org>  Wed, 01 Feb 2012 20:13:32 +0100
+
+elilo (3.12-4) unstable; urgency=low
+
+  * don't break kernel install if not configured yet, closes: #594650
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 08 Sep 2010 14:57:33 -0600
+
+elilo (3.12-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add kernel and initramfs hook scripts to ensure elilo is reinstalled
+    whenever the kernel or initramfs is updated. closes: #590023
+
+ -- Ben Hutchings <ben@decadent.org.uk>  Fri, 30 Jul 2010 18:32:03 +0100
+
+elilo (3.12-3) unstable; urgency=low
+
+  * fix paths and options to build both 32 and 64 bit versions on either
+    flavor of build host, closes: #574713
+  * don't generate noise when following symlink since that's now the normal
+    situation, closes: #581068
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 08 Jun 2010 13:42:05 -0600
+
+elilo (3.12-2) unstable; urgency=low
+
+  * fix paths to support cross-building in ia32/Makefile, closes: #555153
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 15 Mar 2010 16:24:32 -0600
+
+elilo (3.12-1) unstable; urgency=low
+
+  * new upstream version, closes: #376002
+  * patch for dpkg option --print-installation-architecture going obsolete 
+    from Dann Frazier, closes: #550090
+  * support building 32 and 64 bit targets on each host, closes: #483045
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 01 Nov 2009 22:37:21 -0700
+
+elilo (3.10-1) unstable; urgency=low
+
+  * new upstream version
+  * incorporate Spanish debconf template translation, closes: #512993
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 03 Apr 2009 17:49:01 -0600
+
+elilo (3.8-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 08 Jan 2008 17:37:40 -0700
+
+elilo (3.7-3) unstable; urgency=low
+
+  * update build-dep to specify gnu-efi 3.0d or later, closes: #452010
+  * updated Dutch translation, closes: #447725
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 10 Dec 2007 15:59:57 -0700
+
+elilo (3.7-2) unstable; urgency=low
+
+  * fix ugly merge problem I caused while preparing 3.7-1 
+  * apply patches from Aron Griffis accepted by upstream but not in a released
+    tarball yet
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 05 Sep 2007 16:38:41 +0100
+
+elilo (3.7-1) unstable; urgency=low
+
+  * new upstream version
+  * patch from upstream CVS via Alex Williamson to clear vmm= options, 
+    closes: #433498
+  * patch from Eric Schwartz to fix eliloalt, closes: #427512
+  * fix typo in elilo.templates, closes: #414663
+  * documentation / translation fixes coalesced by Christian Perrier
+    - Remove extra spaces in debconf templates. Closes: #413899
+    - Galician. Closes: #414116
+    - Swedish
+    - Tamil
+    - German. Closes: #413897
+    - French
+    - Czech.
+    - Portuguese. Closes: #414211
+    - Brazilian Portuguese.
+    - Japanese. Closes: #414662
+    - Italian.
+    - Romanian. Closes: #414947, #415369
+  * merge Dutch translation, closes: #418396
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 05 Sep 2007 15:12:13 +0100
+
+elilo (3.6-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for RC bugfix.
+  * The check for new installs is broken, because apt-install elilo is
+    apparently not guaranteed to complete before the fstab is configured;
+    instead, check for the existence of /etc/elilo.conf to determine 
+    whether to run elilo on install.  Closes: #414419.
+  * Also fix a missing $ in the debconf config script that caused a syntax
+    error.
+
+ -- Steve Langasek <vorlon@debian.org>  Mon, 12 Mar 2007 03:44:09 -0700
+
+elilo (3.6-3) unstable; urgency=high
+
+  * patch from Dann Frazier that adds an option to run /usr/sbin/elilo in 
+    the postinst using debconf, closes: #410362
+  * cranking the urgency since 410362 helps with a problem upgrading to etch
+    for systems that depend on elilo
+  * elilo.sh uses bash syntax, so use bash explicitly, closes: #385492
+
+ -- Bdale Garbee <bdale@gag.com>  Mon,  5 Mar 2007 16:26:32 -0700
+
+elilo (3.6-2) unstable; urgency=low
+
+  * freshen gnu-efi build dependency version, closes: #355252
+  * patch from Alex Williamson that adds support to our elilo user space 
+    script for the vmm= option needed by Xen, closes: #350185
+   
+ -- Bdale Garbee <bdale@gag.com>  Sat,  1 Apr 2006 22:28:59 -0800
+
+elilo (3.6-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  Mon,  9 Jan 2006 17:45:02 -0700
+
+elilo (3.4pre5.2-2) unstable; urgency=low
+
+  * change section from base to admin to match override
+  * accept patch to fix syntax issue in elilo script, closes: #342639
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  9 Dec 2005 10:14:30 -0800
+
+elilo (3.4pre5.2-1) unstable; urgency=low
+
+  * new upstream version 3.5-pre2, closes: #338185
+  * implement suggestion from Thibaut Varene to have elilo.so try to modprobe 
+    the efivars module before checking the environment for calling efibootmgr.
+  * update elilo.sh to always use relocatable on ia64 elilo.conf generation,
+    closes: #324067
+  * update debian/copyright to reflect upstream source move, closes: #341136
+
+ -- Bdale Garbee <bdale@gag.com>  Thu,  8 Dec 2005 10:13:58 -0800
+
+elilo (3.4-9) unstable; urgency=low
+
+  * patch from upstream to fix problems when wrong -C param is provided,
+    closes: #238434
+  * if the --autoconf option is used on an SGI Altix system, add 'relocatable' 
+    to the resulting elilo.conf as per request from Jesse Barnes
+  * make elilo.sh replace tabs with spaces when copying elilo.conf to the 
+    system partition, as tabs kill old elilo.efi versions, closes: #279646
+  * patch from upstream to enlarge max textmenu size, closes: #273745
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 29 Nov 2004 02:38:12 -0700
+
+elilo (3.4-7.sarge.1) testing; urgency=high
+
+  * build 3.4-8 in testing chroot for sarge
+  * update elilo.sh to know that efibootmgr can use /sys/firmware/efi/vars
+    as an alternative to /proc/efi/vars when used with 2.6 kernels
+  * urgency high since previous version fails to call efibootmgr with 
+    current 2.6 kernels
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 18 Aug 2004 09:09:32 -0600
+
+elilo (3.4-8) unstable; urgency=high
+
+  * update elilo.sh to know that efibootmgr can use /sys/firmware/efi/vars
+    as an alternative to /proc/efi/vars when used with 2.6 kernels
+  * urgency high since previous version fails to call efibootmgr with 
+    current 2.6 kernels
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 18 Aug 2004 09:04:39 -0600
+
+elilo (3.4-7) unstable; urgency=medium
+
+  * a patch in kernel 2.6.8-rc3 reverted in rc4 broke an NLS default we 
+    depended on.  This fix add options to the mount call in elilo.sh so we 
+    no longer care about the default, closes: #263484
+  * changes from David Weinehall to fix elilo.sh XSI:isms, closes: #256507
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 13 Aug 2004 17:16:07 -0600
+
+elilo (3.4-6) unstable; urgency=high
+
+  * patch from Jeff Bailey to ease use of devfs and non-devfs enabled kernels,
+    closes: #232259
+
+ -- Bdale Garbee <bdale@gag.com>  Sat, 14 Feb 2004 22:21:36 -0700
+
+elilo (3.4-5) unstable; urgency=high
+
+  * patch from Richard Hirst to allow elilo.sh to work with initrd kernels,
+    closes: #229016
+      - 'modprobe vfat' in case support isn't currently loaded
+      - include initrd= lines when generating a new .conf file, if
+        /etc/kernel-img.cong says do_initrd=yes
+      - when generating a new append= line, preserve only console=
+        from any existing kernel cmdline
+      - Add '-P' to 'df -k' calls, closes: #204423
+  * patch from Richard Hirst to avoid using the wrong initrd when elilo is
+    driven interactively, closes: #217595
+  * urgency set high because the d-i folk want this update in testing quickly
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 22 Jan 2004 09:34:16 -0700
+
+elilo (3.4-4) unstable; urgency=low
+
+  * add i386 to list of supported architectures, build depend on a suitably
+    new version of gnu-efi to allow that to work, and change priority from 
+    standard to optional so elilo isn't installed by default on i386
+  * stop forcing use of gcc-3.2
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 23 Oct 2003 22:19:51 -0600
+
+elilo (3.4-3) unstable; urgency=low
+
+  * minor patch from upstream to turn off a debugging output accidentally
+    left in the 3.4 release.
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 29 Aug 2003 21:35:46 -0600
+
+elilo (3.4-2) unstable; urgency=low
+
+  * force use of gcc-3.2, since latest gcc yields an elilo.efi that won't 
+    boot on at least some systems, closes: #207547
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 29 Aug 2003 11:34:00 -0600
+
+elilo (3.4-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 21 Aug 2003 15:38:26 -0600
+
+elilo (3.3a-3) unstable; urgency=low
+
+  * update the elilo shell script to handle SmartArray device naming
+
+ -- Bdale Garbee <bdale@gag.com>  Wed,  7 May 2003 21:30:53 -0600
+
+elilo (3.3a-2) unstable; urgency=low
+
+  * apply patch from Richard Hirst to have the elilo shell script pay 
+    attention to /etc/kernel-img.conf if it exists.
+
+ -- Bdale Garbee <bdale@gag.com>  Wed,  5 Mar 2003 15:29:12 -0700
+
+elilo (3.3a-1) unstable; urgency=low
+
+  * new upstream version, closes: #165957, #136862
+  * patch to elilo shell script from Dann Frazier to warn user that --force 
+    is now deprecated, closes: #141994
+  * patch to elilo shell script and rules from Dann Frazier to allow -V 
+    option to return the complete version, closes: #142027
+  * patch to elilo shell script from Richard Hirst that fixes problem with
+    whitespace matching in elilo.conf, closes: #146125
+  * add sys2ansi.pl script to the textmenu_chooser example directory since it
+    helps with developing new menu and help screens, closes: #144266
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 29 Oct 2002 20:03:27 -0700
+
+elilo (3.2-2) unstable; urgency=high
+
+  * craft a reasonably complete elilo.8 man page from Richard's README.Debian
+    content
+  * craft a minimal eliloalt.8 man page that points to /usr/share/doc/elilo
+  * upload with high priority since ia64 b-f needs 3.2 or later in woody
+  * make elilo.efi not be marked executable since it isn't under Linux!
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 18 Mar 2002 16:22:26 -0700
+
+elilo (3.2-1) unstable; urgency=low
+
+  * new upstream version, merge updates made by Richard Hirst
+  * new /usr/sbin/elilo script, general cleanup, handles GPT tables,
+    puts everything under /EFI/debian subdir, adds boot manager entry
+    after floppy and CD/DVD entries, if they exist
+  * added new tool /usr/sbin/eliloalt, see /usr/share/docs/elilo
+  * updated installed docs to match new upstream source
+  * add postinst query on upgrade from pre-3.2 version offering to rewrite
+    EFI partition and update boot manager entry to reflect structure changes.
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 14 Mar 2002 10:53:42 -0700
+
+elilo (3.1-5) unstable; urgency=low
+
+  * ensure /proc is mounted for efiboot and autoconf options
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 15 Nov 2001 14:56:11 -0700
+
+elilo (3.1-4) unstable; urgency=low
+
+  * integrate changes made by Richard Hirst:
+  * elilo can now handle '/' as a path seperator, so no need to modify
+    paths in elilo.conf
+  * record partition contents in .elilofiles, and only prompt before
+    reformatting on next run if contents have changed
+
+ -- Bdale Garbee <bdale@gag.com>  Thu,  8 Nov 2001 10:20:03 -0700
+
+elilo (3.1-3) unstable; urgency=medium
+
+  * changes to elilo user space script from Richard Hirst to improve install
+    process on systems with serial consoles
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 29 Oct 2001 12:46:30 -0700
+
+elilo (3.1-2) unstable; urgency=low
+
+  * add dependency on dosfstools since /sbin/elilo uses it to (re)generate
+    the EFI partition
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 30 Aug 2001 10:27:47 -0600
+
+elilo (3.1-1) unstable; urgency=low
+
+  * new upstream version
+  * back out all Debian-specific changes I think are no longer relevant
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 21 Aug 2001 11:43:21 -0600
+
+elilo (3.0-8) unstable; urgency=low
+
+  * add dependency on efibootmgr, since the user-space elilo script now
+    knows how to use it to configure EFI's boot manager
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 10 Aug 2001 13:38:55 -0600
+
+elilo (3.0-7) unstable; urgency=low
+
+  * make the elilo script tolerant of the 'bootable' flag being set on the
+    EFI partition
+
+ -- Bdale Garbee <bdale@gag.com>  Thu,  9 Aug 2001 17:05:47 -0600
+
+elilo (3.0-6) unstable; urgency=low
+
+  * fold in patch from Richard Hirst implementing changes as follows:
+  *   added README.elilo for /usr/sbin/elilo script
+  *   verify boot partition is type EFI
+  *   don't copy files that appear to be specified via EFI device path
+      (i.e. if image= or initrd= contains a ':')
+  *   run efibootmgr if requested (b-f does request it)
+  *   check boot partition is big enough before reformatting
+  *   include vmlinuz.old entry in elilo.conf, incase kernel-image
+      expects it
+
+ -- Bdale Garbee <bdale@gag.com>  Wed,  8 Aug 2001 13:51:10 -0600
+
+elilo (3.0-5) unstable; urgency=low
+
+  * move elilo script from /sbin to /usr/sbin at Richard's request
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  3 Aug 2001 09:48:25 -0600
+
+elilo (3.0-4) unstable; urgency=low
+
+  * fix from Stephane for problem where argument string is modified by
+    the loader.
+  * fix from Stephane for problem discovered by Richard typing return 
+    with no text at the elilo boot prompt
+  * change priority from important to standard
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 30 Jul 2001 10:21:52 -0600
+
+elilo (3.0-3) unstable; urgency=low
+
+  * make /sbin/elilo executable
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 19 Jul 2001 22:33:47 -0600
+
+elilo (3.0-2) unstable; urgency=low
+
+  * fix for interactive use from linux-ia64 mailing list
+  * changes for recognising full device paths in elilo.conf from Richard
+    Hirst that may or may not be retained in the future.
+  * includes user-space elilo script used to create and populate EFI 
+    partitions during installations and updates
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 19 Jul 2001 15:43:59 -0600
+
+elilo (3.0-1) unstable; urgency=low
+
+  * Initial release of elilo package since upstream split source away from
+    the gnu-efi package.
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 10 Jul 2001 13:20:28 -0600
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..e95f9f9
--- /dev/null
@@ -0,0 +1,15 @@
+Source: elilo
+Section: admin
+Priority: optional
+Maintainer: Bdale Garbee <bdale@gag.com>
+Build-Depends: debhelper (>> 5), binutils (>= 2.17.50.0.14), gcc-multilib [i386 amd64], gnu-efi (>=3.0d), po-debconf
+Standards-Version: 3.9.3
+Vcs-Git: git://git.gag.com/debian/elilo
+Vcs-Browser: http://git.gag.com/?p=debian/elilo
+
+Package: elilo
+Architecture: i386 ia64 amd64
+Depends: efibootmgr, dosfstools, debconf (>= 0.5), ${misc:Depends}, ${shlibs:Depends}
+Description: Bootloader for systems using EFI-based firmware
+ This is the Linux bootloader for systems using the Intel EFI firmware
+ specification.  This includes all ia64 systems, and some ia32 systems.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..c4f0a00
--- /dev/null
@@ -0,0 +1,20 @@
+This package was debianized by Bdale Garbee <bdale@gag.com> using sources
+obtained from
+
+       http://elilo.sourceforge.net/
+
+Copyright:
+
+  Copyright (C) 1999-2003 Hewlett-Packard Co.
+      Contributed by David Mosberger <davidm@hpl.hp.com>.
+      Contributed by Stephane Eranian <eranian@hpl.hp.com>
+
+  Copyright (C) 1999-2000 VA Linux Systems
+      Contributed by Johannes Erdfelt <jerdfelt@valinux.com>.
+
+  Copyright (C) 2001 Silicon Graphics, Inc.
+      Contributed by Brent Casavant <bcasavan@sgi.com>
+
+elilo is distributed under the GNU Public License.  On a Debian system,
+the license can be found in /usr/share/common-licenses/GPL.  Or you may 
+contact the Free Software Foundation to obtain a copy.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..76bd9e2
--- /dev/null
@@ -0,0 +1,5 @@
+etc/initramfs/post-update.d
+etc/kernel/postinst.d
+etc/kernel/postrm.d
+usr/lib/elilo
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..af6dfdf
--- /dev/null
@@ -0,0 +1,5 @@
+README
+README.gnu-efi
+TODO
+docs/*.txt
+debian/README.elilo
diff --git a/debian/elilo.8 b/debian/elilo.8
new file mode 100644 (file)
index 0000000..5fd5782
--- /dev/null
@@ -0,0 +1,112 @@
+.TH ELILO 8 "18 Mar 2002"
+.SH NAME
+elilo \- install EFI boot loader
+.SH SYNOPSIS
+.B elilo
+.RI [ options ]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B elilo
+command, which was written specifically for the Debian distribution to
+simplify configuring and using the elilo.efi bootloader.
+.sp
+There are two parts to elilo, the bootloader itself and this utility which
+installs or updates a bootload configuration.
+.sp
+The primary function of elilo is to copy files necessary for booting
+Debian GNU/Linux from the main filesystem to a subdirectory /EFI/debian
+on the boot partition.  These include elilo.efi, elilo.conf, and the kernel
+and ramdisk images referenced by elilo.conf.  
+.sp
+In addition, elilo can create a default
+configuration file, /etc/elilo.conf, and can invoke efibootmgr to create
+an entry in the EFI Boot Manager menu such that a system will autoboot
+in to Debian GNU/Linux on power up.
+.sp
+.B elilo 
+requires a couple of extra parameters in elilo.conf that elio.efi does
+not currently support. 
+These are needed so that a normal run of elilo with no parameters can find 
+the elilo.efi binary and boot partition in order to rebuild it.
+They are:
+.sp
+install=<path to elilo.efi>
+.br
+boot=<boot partition>
+.sp
+.SH OPTIONS
+This program follows the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+.TP
+.B \-b, \-\-boot
+set bootstrap partition device [ -b /dev/sda1 ]
+.TP
+.B \-i, \-\-install
+pathname to the actual bootloader binary,
+default: /usr/{local/}lib/elilo/elilo.efi
+.TP
+.B \-C, \-\-config
+use alternate configuration file [ -C config_file ]
+.TP
+.B \-\-autoconf
+auto-generate a /etc/elilo.conf.  Typically only used during system
+installation.  In normal use, an elilo.conf file already exists and will not
+be modified by elilo.
+.TP
+.B \-\-efiboot
+elilo auto configuration: create an efi boot manager entry for elilo.  This
+option requires that the 
+.B efibootmgr
+package also be installed.
+.TP
+.B \-\-timeout
+elilo auto configuration: sets the time elilo
+will wait for user input before booting default
+image default: 20 (2 seconds)
+.TP
+.B \-\-image
+elilo auto configuration: sets the path to the
+kernel image. default: /vmlinuz
+.TP
+.B \-\-label
+elilo auto configuration: sets the image label
+default: Linux
+.TP
+.B \-\-root
+elilo auto configuration: sets the root device default: /dev/sda3
+.TP
+.B \-\-format
+create a new FAT filesystem on the boot partition.  Use this cautiously if
+you have more than one operating system installed, and they may be sharing
+the same EFI partition!
+.TP
+.B \-v, \-\-verbose
+make elilo more verbose
+.TP
+.B \-\-debug
+print boring junk only useful for debugging
+.TP
+.B \-h, \-\-help
+display this help and exit
+.TP
+.B \-V, \-\-version
+output version information and exit
+.SH FILES
+.I /etc/elilo.conf     
+.br
+.I /usr/lib/elilo/elilo.efi 
+.SH SEE ALSO
+.BR efibootmgr (8)
+.sp
+Additional information about 
+.B elilo
+is available in the /usr/share/doc/elilo directory.
+.SH AUTHOR
+The
+.B elilo
+program and this manual page were written by 
+Richard Hirst <rhirst@linuxcare.com> and Bdale Garbee <bdale@gag.com> 
+as additions to the 
+.B elilo
+bootloader package from Stephane Eranian <eranian@hpl.hp.com>
+for the Debian GNU/Linux system (but may be used by others).  
diff --git a/debian/elilo.config b/debian/elilo.config
new file mode 100644 (file)
index 0000000..820a2a7
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ "$2" ] && dpkg --compare-versions $2 lt 3.2-1
+then
+  db_input high elilo/format || true
+else
+  db_input high elilo/runme || true
+fi
+db_go || true
diff --git a/debian/elilo.initramfs-post-update b/debian/elilo.initramfs-post-update
new file mode 100644 (file)
index 0000000..49e5673
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+case "$DPKG_MAINTSCRIPT_PACKAGE" in
+    linux-image-*)
+       # elilo will be updated later by the kernel postinst hook; no
+       # need to update it now.
+       exit 0
+       ;;
+    *)
+       if [ -e /etc/elilo.conf ]; then
+           elilo </dev/null >&2
+       else
+           echo >&2 "elilo: Not updating; /etc/elilo.conf not found"
+       fi
+       ;;
+esac
diff --git a/debian/elilo.kernel-postinst b/debian/elilo.kernel-postinst
new file mode 100644 (file)
index 0000000..d8f0866
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ -e /etc/elilo.conf ]; then
+    elilo </dev/null >&2
+else
+    echo >&2 "elilo: Not updating; /etc/elilo.conf not found"
+fi
diff --git a/debian/elilo.kernel-postrm b/debian/elilo.kernel-postrm
new file mode 100644 (file)
index 0000000..aef3fe2
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ -e /etc/elilo.conf ]; then
+    # Do not abort kernel removal in case of error
+    elilo </dev/null >&2 || true
+fi
diff --git a/debian/elilo.sh b/debian/elilo.sh
new file mode 100644 (file)
index 0000000..9857ff2
--- /dev/null
@@ -0,0 +1,844 @@
+#! /bin/bash
+
+###############################################################################
+##
+## elilo installs efi bootloader onto a bootstrap partition (based on ybin)
+## Copyright (C) 2001 Ethan Benson
+##
+## 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; either version 2
+## of the License, or (at your option) any later version.
+##
+## 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.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+##
+###############################################################################
+
+PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
+## allow to run out of /target in boot-floppies
+if [ -n "$PATH_PREFIX" ] ; then
+    PATH="${PATH}:${PATH_PREFIX}/sbin:${PATH_PREFIX}/bin:${PATH_PREFIX}/usr/sbin:${PATH_PREFIX}/usr/bin:${PATH_PREFIX}/usr/local/sbin:${PATH_PREFIX}/usr/local/bin"
+fi
+PRG="${0##*/}"
+SIGINT="$PRG: Interrupt caught ... exiting"
+VERSION=##VERSION##
+DEBUG=0
+VERBOSE=0
+TMP="${TMPDIR:-/tmp}"
+TARGET=
+# Beware, /EFI/debian occurs with double backslashes in the script too
+# so change those as well as EFIROOT, if need be.
+EFIROOT=/EFI/debian
+export LC_COLLATE=C
+
+ARCHITECTURE=$(dpkg --print-architecture)
+
+## catch signals, clean up junk in /tmp.
+trap "cleanup" 0
+trap "cleanup; exit 129" HUP
+trap "echo 1>&2 $SIGINT ; cleanup; exit 130" INT
+trap "cleanup; exit 131" QUIT
+trap "cleanup; exit 143" TERM
+
+## define default config file
+CONF=/etc/elilo.conf
+bootconf=$CONF
+ERR=" Error in $CONF:"
+
+## define default configuration
+boot=unconfigured
+
+## allow default to work on packaged and non-packaged elilo. 
+if [ -f /usr/local/lib/elilo/elilo.efi ] ; then
+    install=/usr/local/lib/elilo/elilo.efi
+elif [ -f /usr/lib/elilo/elilo.efi ] ; then
+    install=/usr/lib/elilo/elilo.efi
+fi
+
+## defaults
+efiboot=0
+autoconf=0
+fstype=vfat
+umountproc=0
+
+## elilo autoconf defaults
+label=Linux
+timeout=20
+root=/dev/sda3
+
+# image default is controlled by /etc/kernel-img.conf, if it exists
+if [ -f /etc/kernel-img.conf ] &&
+       grep -E -qi "^(image|link)_in_boot *= *yes" /etc/kernel-img.conf; then
+    image=/boot/vmlinuz
+    initrdline=initrd=/boot/initrd.img
+    initrdoldline=initrd=/boot/initrd.img.old
+else
+    image=/vmlinuz
+    initrdline=initrd=/initrd.img
+    initrdoldline=initrd=/initrd.img.old
+fi
+if [ -f /etc/kernel-img.conf ] &&
+       ! grep -qi "^do_initrd *= *yes" /etc/kernel-img.conf; then
+    initrdline=
+    initrdoldline=
+fi
+
+## make fake `id' if its missing, outputs 0 since if its missing we
+## are probably running on boot floppies and thus are root.
+if (command -v id > /dev/null 2>&1) ; then 
+    true
+else
+    id()
+    {
+    echo 0
+    }
+fi
+
+## --version output
+version()
+{
+echo \
+"$PRG $VERSION
+Written by Richard Hirst, based on work by Ethan Benson
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+}
+
+## --help output.
+usage()
+{
+echo \
+"Usage: $PRG [OPTION]...
+Update/install bootloader onto a bootstrap partition.
+
+  -b, --boot                 set bootstrap partition device [ -b /dev/sda1 ]
+  -i, --install              pathname to the actual bootloader binary
+                               default: /usr/{local/}lib/elilo/elilo.efi
+  -C, --config               use alternate configuration file [ -C config_file ]
+      --autoconf             auto-generate a /etc/elilo.conf
+      --efiboot              elilo auto configuration: create an efi boot
+                               manager entry for elilo
+      --timeout              elilo auto configuration: sets the time elilo
+                              will wait for user input before booting default
+                               image default: 20 (2 seconds)
+      --image                elilo auto configuration: sets the path to the
+                              kernel image. default: /vmlinuz
+      --label                elilo auto configuration: sets the image label
+                               default: Linux
+      --root                 elilo auto configuration: sets the root device
+                               default: /dev/sda3
+      --format               create a new FAT filesystem on the boot partition
+  -v, --verbose              make $PRG more verbose
+      --debug                print boring junk only useful for debugging
+  -h, --help                 display this help and exit
+  -V, --version              output version information and exit"
+}
+
+## we have to do some things differently with a retarded devfs name.
+ckdevfs()
+{
+    case "$1" in
+       /dev/ide/*|/dev/scsi/*|/dev/discs/*)
+       return 0
+       ;;
+    *)
+       return 1
+       ;;
+    esac
+}
+
+## the SmartArray RAID controllers use /dev/cciss/c0d0p1 kinds of names...
+ckcciss()
+{
+    case "$1" in
+       /dev/cciss/*)
+       return 0
+       ;;
+    *)
+       return 1
+       ;;
+    esac
+}
+
+
+## configuration file parsing. FIXME: need a method which can parse
+## image= sections.
+parseconf()
+{
+case "$1" in
+    str)
+       v=`grep "^$2[\ ,=]" "$CONF"` ; echo "${v#*=}"
+       ;;
+    flag)
+       grep "^$2\>" "$CONF" > /dev/null && echo 0 || echo 1
+       ;;
+    ck)
+       grep "^$2[\ ,=]" "$CONF" > /dev/null && echo 0 || echo 1
+       ;;
+esac
+}
+
+## check for existence of a configuration file, and make sure we have
+## read permission.
+confexist()
+{
+    if [ ! -e "$CONF" ] ; then
+       echo 1>&2 "$PRG: $CONF: No such file or directory"
+       return 1
+    elif [ ! -f "$CONF" ] ; then
+       echo 1>&2 "$PRG: $CONF: Not a regular file"
+       return 1
+    elif [ ! -r "$CONF" ] ; then
+       echo 1>&2 "$PRG: $CONF: Permission denied"
+       return 1
+    else
+       return 0
+    fi
+}
+
+## check to make sure the configuration file is sane and correct.
+## maybe this is an insane ammount of error checking, but I want to
+## make sure (hopefully) nothing unexpected ever happens.  and i just
+## like useful errors from programs.  every error just marks an error
+## variable so we give the user as much info as possible before we
+## abandon ship.
+checkconf()
+{
+    if [ -L "$boot" ] ; then
+       oldboot=$boot
+       boot=$(readlink -f $oldboot)
+    fi
+    if [ ! -e "$boot" ] ; then
+       echo 1>&2 "$PRG: $boot: No such file or directory"
+       CONFERR=1
+    elif [ ! -b "$boot" ] && [ ! -f "$boot" ] ; then
+       echo 1>&2 "$PRG: $boot: Not a regular file or block device"
+       CONFERR=1
+    elif [ ! -w "$boot" ] || [ ! -r "$boot" ] ; then
+       echo 1>&2 "$PRG: $boot: Permission denied"
+       CONFERR=1
+    fi
+
+    ## sanity check, make sure boot=bootstrap and not something dumb
+    ## like /dev/hda
+    case "$boot" in
+       *hda)
+           echo 1>&2 "$PRG:$ERR \`boot=$boot' would result in the destruction of all data on $boot"
+           CONFERR=1
+           ;;
+       *sda)
+           echo 1>&2 "$PRG:$ERR \`boot=$boot' would result in the destruction of all data on $boot"
+           CONFERR=1
+           ;;
+       *disc)
+           echo 1>&2 "$PRG:$ERR \`boot=$boot' would result in the destruction of all data on $boot"
+           CONFERR=1
+           ;;
+    esac
+
+    ## now make sure its not something dumb like the root partition
+    ROOT="$(v=`df / 2> /dev/null | grep ^/dev/` ; echo ${v%%[ ]*})"
+    BOOT="$(v=`df /boot 2> /dev/null | grep ^/dev/` ; echo ${v%%[ ]*})"
+    if [ "$boot" = "$ROOT" ] ; then
+       echo 1>&2 "$PRG:$ERR \`boot=$boot' would result in the destruction of the root filesystem"
+       CONFERR=1
+    elif [ "$boot" = "$BOOT" ] ; then
+       echo 1>&2 "$PRG:$ERR \`boot=$boot' would result in the destruction of the /boot filesystem"
+       CONFERR=1
+    fi
+
+    ## Make sure boot is not already mounted
+    mount | grep "^$boot " > /dev/null
+    if [ $? = 0 ] ; then
+       echo 1>&2 "$PRG: $boot appears to be mounted"
+       CONFERR=1
+    fi
+
+    if [ ! -e "$install" ] ; then
+       echo 1>&2 "$PRG: $install: No such file or directory"
+       CONFERR=1
+    elif [ ! -f "$install" ] ; then
+       echo 1>&2 "$PRG: $install: Not a regular file"
+       CONFERR=1
+    elif [ ! -r "$install" ] ; then
+       echo 1>&2 "$PRG: $install: Permission denied"
+       CONFERR=1
+    fi
+
+    if [ ! -e "$bootconf" ] ; then
+       echo 1>&2 "$PRG: $bootconf: No such file or directory"
+       CONFERR=1
+    elif [ ! -f "$bootconf" ] ; then
+       echo 1>&2 "$PRG: $bootconf: Not a regular file"
+       CONFERR=1
+    elif [ ! -r "$bootconf" ] ; then
+       echo 1>&2 "$PRG: $bootconf: Permission denied"
+       CONFERR=1
+    fi
+
+    # efibootmgr needs efivars, make sure kernel module is loaded
+    if modprobe -q efivars ; then
+        echo "Loaded efivars kernel module to enable use of efibootmgr"
+    fi
+
+    if [ ! -d /proc/efi/vars ] && [ ! -d /sys/firmware/efi/vars ] && [ "$efiboot" = 1 ] ; then
+       echo 1>&2 "$PRG: no efi/vars under /proc or /sys/firmware, boot menu not updated"
+       efiboot=0
+    fi
+
+    if [ "$efiboot" = 1 ] ; then
+       ## see if efibootmgr exists and is executable
+       if (command -v efibootmgr > /dev/null 2>&1) ; then
+           [ -x `command -v efibootmgr` ] || MISSING=1 ; else MISSING=1
+       fi
+
+       if [ "$MISSING" = 1 ] ; then
+           efiboot=0
+           echo 1>&2 "$PRG: Warning: \`efibootmgr' could not be found, boot menu not updated"
+       fi
+
+       if [ -f "$boot" ] ; then
+           echo 1>&2 "$PRG: $boot is a regular file, disabling boot menu update"
+           efiboot=0
+       fi
+    fi
+
+    if [ "$CONFERR" = 1 ] ; then
+       return 1
+    else
+       return 0
+    fi
+}
+
+
+mnt()
+{
+    ## we can even create bootstrap filesystem images directly if you
+    ## ever wanted too.
+    if [ -f "$boot" ] ; then
+       loop=",loop"
+    fi
+
+    if [ -e "$TMP/bootstrap.$$" ] ; then
+       echo 1>&2 "$PRG: $TMP/bootstrap.$$ exists, aborting."
+       return 1
+    fi
+
+    mkdir -m 700 "$TMP/bootstrap.$$"
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: Could not create mountpoint directory, aborting."
+       return 1
+    fi
+
+    mount | grep "^$boot " > /dev/null
+    if [ $? = 0 ] ; then
+       echo 1>&2 "$PRG: $boot appears to be mounted! aborting."
+       return 1
+    fi
+
+    [ "$VERBOSE" = 1 ] && echo "$PRG: Mounting $boot..."
+    mount -t "$fstype" -o codepage=437,iocharset=iso8859-1,rw,noexec,umask=077$loop "$boot" "$TMP/bootstrap.$$"
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: An error occured mounting $boot"
+       return 1
+    fi
+
+    TARGET="$TMP/bootstrap.$$"
+    return 0
+}
+
+copyfiles()
+{
+    BTFILE=elilo.efi
+    CFFILE=elilo.conf
+    imagefiles=`grep '^image[[:space:]]*=' $bootconf | \
+               sed 's/^image[[:space:]]*=[[:space:]]*//' | grep -v ':'`
+    initrdfiles=`grep '^[[:space:]]*initrd[[:space:]]*=' $bootconf | \
+               sed 's/.*=[[:space:]]*//' | grep -v ':'`
+    vmmfiles=`grep '^[[:space:]]*vmm[[:space:]]*=' $bootconf | \
+               sed 's/.*=[[:space:]]*//' | grep -v ':'`
+
+    ## Point of no return, removing the old EFI/debian tree
+    rm -rf $TARGET/$EFIROOT
+    if [ $? != 0 ]; then
+       echo 2>&1 "$PRG: Failed to delete old boot files, aborting"
+       return 1
+    fi
+    mkdir -p $TARGET/$EFIROOT
+
+    ## Add a README to warn that this tree is deleted every time elilo is run
+    echo -ne "\
+This directory tree is managed by /usr/sbin/elilo, and is deleted and\n\
+recreated every time elilo runs.  Any local changes will be lost.\n\
+" > $TARGET/$EFIROOT/README.TXT
+
+    ## this is probably insecure on modern filesystems, but i think
+    ## safe on crippled hfs/dosfs.
+    [ "$VERBOSE" = 1 ] && echo "$PRG: Installing primary bootstrap $install onto $boot..."
+    cp -f "$install" "$TARGET/$EFIROOT/$BTFILE"
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: An error occured while writing to $boot"
+       return 1
+    fi
+
+    [ "$VERBOSE" = 1 ] && echo "$PRG: Installing $bootconf on $boot..."
+    ## we comment out boot= and install=, because they are only really
+    ## needed in the /etc/elilo.conf file, and elilo.efi currently
+    ## doesn't understand them.  We also need to add /EFI/debian on to
+    ## the front of any paths that don't contain colons (device paths),
+    ## and replace tabs with spaces.
+    sed -e "s|^boot[[:space:]]*=|# &|" -e "s|^install[[:space:]]*=|# &|" \
+       -e "s|\t| |g" \
+       -e "s|\(^image[[:space:]]*=[[:space:]]*\)\([^:]*\)$|\1$EFIROOT\2|" \
+       -e "s|\(^[[:space:]]*initrd[[:space:]]*=[[:space:]]*\)\([^:]*\)$|\1$EFIROOT\2|" \
+       -e "s|\(^[[:space:]]*vmm[[:space:]]*=[[:space:]]*\)\([^:]*\)$|\1$EFIROOT\2|" \
+       < "$bootconf" > "$TARGET/$EFIROOT/$CFFILE"
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: An error occured while writing to $boot"
+       return 1
+    fi
+
+    [ "$DEBUG" = 1 ] && echo "----" && cat "$TARGET/$EFIROOT/$CFFILE" && echo "----"
+
+    for i in $imagefiles $initrdfiles $vmmfiles; do
+       [ "$VERBOSE" = 1 ] && echo "$PRG: Installing $i on $boot..."
+       if [ -f $i ]; then
+           mkdir -p `dirname "$TARGET/$EFIROOT/$i"`
+           if [ $? != 0 ] ; then
+               echo 1>&2 "$PRG: An error occured creating directory `dirname $EFIROOT/$i` on $boot"
+               return 1
+           fi
+           cp -f "$i" "$TARGET/$EFIROOT/$i"
+           if [ $? != 0 ] ; then
+               echo 1>&2 "$PRG: An error occured writing $i to $boot"
+               return 1
+           fi
+       else
+           echo "$PRG: Warning: $i not found"
+       fi
+    done
+
+    sync ; sync
+
+    ## update the boot-device variable in EFI.
+    if [ "$efiboot" = 1 ] ; then
+       [ "$VERBOSE" = 1 ] && echo "$PRG: Updating EFI boot-device variable..."
+       efiquiet="-q"
+       [ "$VERBOSE" = 1 ] && efiquiet=""
+       if ckdevfs "$boot" ; then
+           BOOTDISK="${boot%/*}/disc"
+           BOOTPART="${boot##*part}"
+       elif ckcciss "$boot" ; then
+           BOOTDISK="${boot%p[0-9]*}"
+           BOOTPART="${boot##*[a-z]}"
+       else
+           BOOTDISK="${boot%%[0-9]*}"
+           BOOTPART="${boot##*[a-z]}"
+       fi
+       if [ -z "$BOOTDISK" ] || [ -z "$BOOTPART" ] ; then
+           echo 2>&1 "$PRG: Could not determine boot disk, aborting..."
+           return 1
+       fi
+
+       [ "$DEBUG" = 1 ] && echo 1>&2 "$PRG: DEBUG: boot-disk      = $BOOTDISK"
+       [ "$DEBUG" = 1 ] && echo 1>&2 "$PRG: DEBUG: boot-partition = $BOOTPART"
+       # delete other entries with name "Debian GNU/Linux"
+       for b in `efibootmgr | grep "Debian GNU/Linux" | awk '{print substr($1,5,4) }'`; do
+           efibootmgr $efiquiet -b $b -B
+       done
+       # Add a new entry for this installation
+       efibootmgr $efiquiet -c -d $BOOTDISK -p $BOOTPART -w -L "Debian GNU/Linux" \
+               -l \\EFI\\debian\\elilo.efi -u -- elilo -C \\EFI\\debian\\elilo.conf
+       if [ $? != 0 ] ; then
+           echo 1>&2 "$PRG: An error occured while updating boot menu, we'll ignore it"
+       fi
+       # Now, if 2nd and 3rd boot entries are for floppy and CD/DVD,
+       # move them up to 1st and 2nd, making our entry the 3rd.
+       bootorder=$(efibootmgr | sed -n 's/^BootOrder: \(.*\)$/\1/p')
+       boot1st=$(echo $bootorder | sed -n "s/\(....\).*$/\1/p")
+       boot2nd=$(echo $bootorder | sed -n "s/....,\(....\).*$/\1/p")
+       boot3rd=$(echo $bootorder | sed -n "s/....,....,\(....\).*$/\1/p")
+       boot456=$(echo $bootorder | sed -n "s/....,....,....\(.*\).*$/\1/p")
+       name2nd=$(efibootmgr | sed -n "s/^Boot$boot2nd[\*] \(.*\)$/\1/p")
+       name3rd=$(efibootmgr | sed -n "s/^Boot$boot3rd[\*] \(.*\)$/\1/p")
+       name23="@$name2nd@$name3rd"
+       if ( echo $name23 | grep -qi "@floppy" ); then
+           if ( echo $name23 | grep -qi "@cd") || ( echo $name23 | grep -qi "@dvd"); then
+               efibootmgr $efiquiet -o $boot2nd,$boot3rd,$boot1st$boot456
+           fi
+       fi
+    fi
+
+    return 0
+}
+
+## mkefifs function.
+mkefifs()
+{
+    mount | grep "^$boot\>" > /dev/null
+    if [ $? = 0 ] ; then
+       echo 1>&2 "$PRG: $boot appears to be mounted! aborting."
+        return 1
+    fi
+
+    if (command -v mkdosfs > /dev/null 2>&1) ; then
+       [ -x `command -v mkdosfs` ] || FAIL=1 ; else FAIL=1 ; fi
+       if [ "$FAIL" = 1 ] ; then
+           echo 1>&2 "$PRG: mkdosfs is not installed or cannot be found"
+           return 1
+       fi
+
+    [ "$VERBOSE" = 1 ] && echo "$PRG: Creating DOS filesystem on $boot..."
+    mkdosfs -n bootstrap "$boot" > /dev/null
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: DOS filesystem creation failed!"
+       return 1
+    fi
+    return 0
+}
+
+mkconf()
+{
+## defaults for this are defined at the beginning of the script with
+## other variables.
+
+# We want to create an append= line from the current /proc/cmdline,
+# so things like console=ttyS0 get picked up automatically.
+# We also want to filter out bits of cmdline we are not interested in.
+
+if [ -f /proc/cmdline ]; then
+  cmdline=`cat /proc/cmdline`
+else
+  echo 1>&2 "$PRG: Warning: couldn't read /proc/cmdline, may need to add append=... to elilo.conf"
+  cmdline=""
+fi
+
+append=`echo $cmdline | tr ' ' '\n' | grep "^console=" | tr '\n' ' '`
+if [ ! -z "$append" ]; then append="append=\"$append\""; fi
+
+echo \
+"## elilo configuration file generated by elilo $VERSION
+
+install=$install
+boot=$boot
+delay=$timeout
+default=$label
+" > "$TMPCONF" || return 1
+
+if [ "$ARCHITECTURE" = "ia64" ]
+then
+  echo "relocatable" >> "$TMPCONF" || return 1
+fi
+
+echo \
+"$append
+
+image=$image
+       label=$label
+       root=$root
+       read-only
+       $initrdline
+
+image=${image}.old
+       label=${label}OLD
+       root=$root
+       read-only
+       $initrdoldline
+" >> "$TMPCONF" || return 1
+
+    ## Copy the new elilo.conf to /etc
+    if [ -f $CONF ]; then
+       echo 1>&2 "$PRG: backing up existing $CONF as ${CONF}-"
+       rm -f ${CONF}-
+       mv $CONF ${CONF}-
+    fi
+    cp -f "$TMPCONF" "$CONF"
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: An error occured while writing to $conf"
+       return 1
+    fi
+
+return 0
+}
+
+# check partition will be big enough for all we want to add to it
+
+chkspace()
+{
+    imagefiles=`grep '^image[[:space:]]*=' $bootconf | \
+               sed 's/^image[[:space:]]*=[[:space:]]*//' | grep -v ':'`
+    initrdfiles=`grep '^[[:space:]]*initrd[[:space:]]*=' $bootconf | \
+               sed 's/.*=[[:space:]]*//' | grep -v ':'`
+    vmmfiles=`grep '^[[:space:]]*vmm[[:space:]]*=' $bootconf | \
+               sed 's/.*=[[:space:]]*//' | grep -v ':'`
+    bytesneeded=`cat $imagefiles $initrdfiles $vmmfiles $install $bootconf 2>/dev/null | wc -c`
+    # convert to KB, allowing 5% overhead
+    kbneeded=$(( bytesneeded / 1024 + bytesneeded / 20480 ))
+    kbavailable=$(df -P -k $TARGET | sed -n "s|^$boot[[:space:]]\+[0-9]\+[[:space:]]\+[0-9]\+[[:space:]]\+\([0-9]\+\).*$|\1|p")
+    if [ -z $kbavailable ]; then
+       echo 2>&1 "$PRG: unable to determine space on $boot, aborting"
+       return 1
+    fi
+    if [ -d $TARGET/$EFIROOT ]; then
+       kbused=$(du -ks $TARGET/$EFIROOT | sed -n "s/[  ].*$//p")
+    else
+        kbused=0
+    fi
+    [ "$VERBOSE" = 1 ] && echo "$PRG: ${kbneeded}KB needed, ${kbavailable}KB free, ${kbused}KB to reuse"
+    kbavailable=$(( kbavailable + kbused ))
+    if [ "$kbavailable" -lt "$kbneeded" ] ; then
+        echo 1>&2 "$PRG: Insufficient space on $boot, need ${kbneeded}KB, only ${kbavailable}KB available"
+        return 1
+    fi
+return 0
+}
+
+
+## take out the trash.
+cleanup()
+{
+    if [ -n "$TARGET" ]; then
+       TARGET=
+        [ "$VERBOSE" = 1 ] && echo "$PRG: Unmounting $boot"
+       umount "$boot"
+       [ $? != 0 ] && echo 2>&1 "$PRG: Warning, failed to unmount $TARGET"
+    fi
+    if [ -n "$TMPCONF" ] ; then rm -f "$TMPCONF" ; fi
+    if [ -d "$TMP/bootstrap.$$" ] ; then rmdir "$TMP/bootstrap.$$" ; fi
+    if [ "$umountproc" = 1 ] ; then umount /proc ; fi
+    return 0
+}
+
+##########
+## Main ##
+##########
+
+## absurdly bloated case statement to parse command line options.
+if [ $# != 0 ] ; then
+    while true ; do
+       case "$1" in 
+           -V|--version)
+               version
+               exit 0
+               ;;
+           -h|--help)
+               usage
+               exit 0
+               ;;
+           --debug)
+               DEBUG=1
+               shift
+               ;;
+           -v|--verbose)
+               VERBOSE=1
+               shift
+               ;;
+           --force)
+               # allow --force for now, boot-floppies 3.0.20 and
+               # systemconfigurator use that instead of --format
+               echo 1>&2 "$PRG: Warning: --force is now deprecated.  Use --for\mat."
+               echo 1>&2 "Try \`$PRG --help' for more information."
+               FORMAT=yes
+               shift
+               ;;
+           --format)
+               FORMAT=yes
+               shift
+               ;;
+           --autoconf)
+               autoconf=1
+               shift
+               ;;
+           -b|--boot)
+               if [ -n "$2" ] ; then
+                   boot="$2"
+                   ARGBT=1
+                   shift 2
+               else
+                   echo 1>&2 "$PRG: option requires an argument $1"
+                   echo 1>&2 "Try \`$PRG --help' for more information."
+                   exit 1
+               fi
+               ;;
+           -i|--install)
+               if [ -n "$2" ] ; then
+                   install="$2"
+                   ARGBF=1
+                   shift 2
+               else
+                   echo 1>&2 "$PRG: option requires an argument $1"
+                   echo 1>&2 "Try \`$PRG --help' for more information."
+                   exit 1
+               fi
+               ;;
+           -C|--config)
+               if [ -n "$2" ] ; then
+                   CONF="$2"
+                   bootconf="$2"
+                   ERR=" Error in $CONF:"
+                   shift 2
+               else
+                   echo 1>&2 "$PRG: option requires an argument $1"
+                   echo 1>&2 "Try \`$PRG --help' for more information."
+                   exit 1
+               fi
+               ;;
+           --efiboot)
+               efiboot=1
+               ARGNV=1
+               shift
+               ;;
+           --timeout)
+               if [ -n "$2" ] ; then
+                   timeout="$2"
+                   bootconf=auto
+                   shift 2
+               else
+                   echo 1>&2 "$PRG: option requires an argument $1"
+                   echo 1>&2 "Try \`$PRG --help' for more information."
+                   exit 1
+               fi
+               ;;
+           --image)
+               if [ -n "$2" ] ; then
+                   image="$2"
+                   bootconf=auto
+                   shift 2
+               else
+                   echo 1>&2 "$PRG: option requires an argument $1"
+                   echo 1>&2 "Try \`$PRG --help' for more information."
+                   exit 1
+               fi
+               ;;
+           --label)
+               if [ -n "$2" ] ; then
+                   label="$2"
+                   bootconf=auto
+                   shift 2
+               else
+                   echo 1>&2 "$PRG: option requires an argument $1"
+                   echo 1>&2 "Try \`$PRG --help' for more information."
+                   exit 1
+               fi
+               ;;
+           --root)
+               if [ -n "$2" ] ; then
+                   root="$2"
+                   bootconf=auto
+                   shift 2
+               else
+                   echo 1>&2 "$PRG: option requires an argument $1"
+                   echo 1>&2 "Try \`$PRG --help' for more information."
+                   exit 1
+               fi
+               ;;
+           "")
+               break
+               ;;
+           *)
+               echo 1>&2 "$PRG: unrecognized option \`$1'"
+               echo 1>&2 "Try \`$PRG --help' for more information."
+               exit 1
+               ;;
+       esac
+    done
+fi
+
+## check that are root
+if [ `id -u` != 0 ] ; then
+    echo 1>&2 "$PRG: requires root privileges, go away."
+    exit 1
+fi
+
+## check that autoconf options are only specified with --autoconf
+if [ "$bootconf" = "auto" ] && [ "$autoconf" = "0" ] ; then
+    echo 1>&2 "$PRG: Auto-config options specified without --autoconf."
+    exit 1;
+fi
+
+## check that specified config file exists, unless we are to generate it,
+## which case we assume all options are done on the command line.
+if [ "$autoconf" = "0" ] ; then
+    confexist || exit 1
+fi
+
+## /proc is needed to parse /proc/partitions, etc.
+if [ ! -f /proc/uptime ]; then
+    [ "$VERBOSE" = 1 ] && echo "$PRG: Mounting /proc..."
+    mount -t proc proc /proc 2> /dev/null
+    if [ $? != 0 ]; then
+       echo 1>&2 "$PRG: Failed to mount /proc, aborting."
+       exit 1
+    fi
+    umountproc=1
+fi
+
+# We need vfat support, so make sure it is loaded
+modprobe vfat >/dev/null 2>&1
+
+## elilo.conf autogeneration. MUST have secure mktemp to
+## avoid race conditions. Debian's mktemp qualifies.
+if [ "$autoconf" = "1" ] ; then
+    TMPCONF=`mktemp -q "$TMP/$PRG.XXXXXX"`
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: Could not create temporary file, aborting."
+       exit 1
+    fi
+    mkconf
+    if [ $? != 0 ] ; then
+       echo 1>&2 "$PRG: An error occured generating elilo.conf, aborting."
+       exit 1
+    fi
+
+    bootconf="$TMPCONF"
+fi
+
+## Checks if each option was defined on the command line, and if so
+## don't read it from the configuration file. this avoids
+## configuration options from being set null, as well as command line
+## options from being clobbered.
+[ "$ARGBT" != 1 ] && [ $(parseconf ck boot) = 0 ] && boot=`parseconf str boot`
+
+## ffs!! rtfm! foad!
+if [ "$boot" = unconfigured ] ; then
+    echo 1>&2 "$PRG: You must specify the device for the bootstrap partition. (ie: -b /dev/hdaX)"
+    echo 1>&2 "$PRG: Try \`$PRG --help' for more information."
+    exit 1
+fi
+
+## validate configuration for sanity.
+checkconf || exit 1
+
+if [ "$FORMAT" = "yes" ]; then
+    mkefifs || exit 1
+fi
+
+[ "$VERBOSE" = 1 ] && echo "$PRG: Checking filesystem on $boot..."
+dosfsck $boot > /dev/null
+if [ $? != 0 ]; then
+    echo 1>&2 "$PRG: Filesystem on $boot is corrupt, please fix that and rerun $PRG."
+    exit 1
+fi
+
+mnt || exit 1
+chkspace || exit 1
+copyfiles || exit 1
+
+umount $TARGET
+if [ $? != 0 ]; then
+    echo 1>&2 "$PRG: Failed to unmount $boot"
+    exit 1
+fi
+TARGET=
+
+[ "$VERBOSE" = 1 ] && echo "$PRG: Installation complete."
+
+exit 0
diff --git a/debian/elilo.templates b/debian/elilo.templates
new file mode 100644 (file)
index 0000000..0ad431a
--- /dev/null
@@ -0,0 +1,25 @@
+Template: elilo/runme
+Type: boolean
+Default: true
+_Description: Automatically run elilo?
+ It is necessary to run /usr/sbin/elilo to install the new elilo binary into
+ the EFI partition.
+ .
+ WARNING: This procedure will write data into the debian directory of the
+ EFI disk partition, possibly overwriting files installed there by hand.
+ .
+ Not installing the new elilo binary on the EFI disk partition may leave the
+ system in an unbootable state.  Alternatives to automatic updating of the
+ partition include running /usr/sbin/elilo by hand, or installing the new
+ /usr/lib/elilo/elilo.efi executable into the EFI disk partition manually.
+
+Template: elilo/format
+Type: boolean
+Default: true
+_Description: Reformat and reload EFI partition?
+ The structure of files in the EFI disk partition has changed since pre-3.2
+ versions of the elilo package.  The EFI boot manager entry for Debian needs
+ to be updated to reflect these changes.
+ .
+ In most cases, if no manual changes to the EFI partition content need to
+ be preserved, this update can be handled automatically.
diff --git a/debian/eliloalt.8 b/debian/eliloalt.8
new file mode 100644 (file)
index 0000000..81bcdf6
--- /dev/null
@@ -0,0 +1,20 @@
+.TH ELILOALT 8 "18 Mar 2002"
+.SH NAME
+eliloalt \- manipulate elilo alternate
+.SH SYNOPSIS
+.B eliloalt
+.RI [ options ]
+.SH DESCRIPTION
+The
+.B eliloalt 
+command makes it possible to coerce elilo to boot an alternate
+kernel configuration one time only, as when engaging in kernel development or
+debugging.
+.sp
+.SH SEE ALSO
+Additional information about 
+.B eliloalt
+is available in the /usr/share/doc/elilo directory.
+.SH AUTHOR
+This manual page was written by Bdale Garbee <bdale@gag.com> 
+for the Debian GNU/Linux system (but may be used by others).  
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644 (file)
index 0000000..4aecdf8
--- /dev/null
@@ -0,0 +1,46 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+# the default build command:
+#builder = debuild -i\.git/ -I.git
+# the default clean command:
+#cleaner = debuild clean
+# the default branch for upstream sources:
+upstream-branch = upstream
+# the default branch for the debian patch:
+debian-branch = master
+# the default tag formats used:
+#upstream-tag = upstream/%(version)s
+#debian-tag = debian/%(version)s
+# use pristine-tar:
+pristine-tar = True
+
+# Options only affecting git-buildpackage
+[git-buildpackage]
+#upstream-branch = dfsgclean
+# uncomment this to automatically GPG sign tags
+#sign-tags = True
+# keyid to GPG sign tags with
+#keyid = 0xdeadbeef
+# push to a remote repository after a successful tag: 
+#posttag = git-push git.example.com
+# use this for more svn-buildpackage like behaviour:
+export-dir = ../build-area/elilo/
+#tarball-dir = ../tarballs/
+
+# Options only affecting git-import-orig
+[git-import-orig]
+#upstream-branch = newupstream
+#debian-branch = dfsgclean
+#filter = .svn
+
+# Options only affecting git-import-dsc
+[git-import-dsc]
+#upstream-branch = svn-upstream
+#filter = [ 'CVS', '.cvsignore' ]
+
+# Options only affecting git-dch
+[git-dch]
+#git-log = --no-merges
+#snapshot-number = snapshot + 1
+
diff --git a/debian/patches/cross-build.diff b/debian/patches/cross-build.diff
new file mode 100644 (file)
index 0000000..f632a23
--- /dev/null
@@ -0,0 +1,284 @@
+Description: Upstream changes introduced in version 3.12-3
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ elilo (3.12-3) unstable; urgency=low
+ .
+   * fix paths and options to build both 32 and 64 bit versions on either
+     flavor of build host, closes: #574713
+   * don't generate noise when following symlink since that's now the normal
+     situation, closes: #581068
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Bdale Garbee <bdale@gag.com>
+Bug-Debian: http://bugs.debian.org/574713
+Bug-Debian: http://bugs.debian.org/581068
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- elilo-3.12.orig/Makefile
++++ elilo-3.12/Makefile
+@@ -25,15 +25,19 @@
+ # to use this program.
+ #
+-include Make.defaults
+-TOPDIR=.
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/Make.defaults
++TOPDIR = $(SRCDIR)
+ CRTOBJS       = $(EFICRT0)/crt0-efi-$(ARCH).o
+ LDSCRIPT      = $(EFICRT0)/elf_$(ARCH)_efi.lds
+ LDFLAGS            += -T $(LDSCRIPT) -shared -Bsymbolic -L$(EFILIB) -L$(GNUEFILIB) $(CRTOBJS)
+-LOADLIBES     = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)
++LOADLIBES     = -lefi -lgnuefi $(shell $(CC) $(ARCH3264) -print-libgcc-file-name)
+ FORMAT        = efi-app-$(ARCH)
+ FILESYSTEM    =
+@@ -87,7 +91,8 @@ fileops.o : Make.defaults
+ chooser.o : Make.defaults
+ $(SUBDIRS): dummy
+-      $(MAKE) -C $@
++      mkdir -p $@
++      $(MAKE) -C $@ -f $(SRCDIR)/../$@/Makefile SRCDIR=$(SRCDIR)/../$@ ARCH=$(ARCH)
+ dummy:
+@@ -106,4 +111,4 @@ ifeq ($(GCC_VERSION),2)
+       @exit 1
+ endif
+-include Make.rules
++include $(SRCDIR)/Make.rules
+--- elilo-3.12.orig/devschemes/Makefile
++++ elilo-3.12/devschemes/Makefile
+@@ -23,10 +23,15 @@
+ # to use this program.
+ #
+-include ../Make.defaults
+-include ../Make.rules
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/../Make.defaults
++include $(SRCDIR)/../Make.rules
++
++TOPDIR=$(SRCDIR)/..
+-TOPDIR=$(CDIR)/..
+ FILES=simple.o
+@@ -40,7 +45,7 @@ all: $(TARGET)
+ #      without doing make clean.
+ #
+ $(TARGET): $(FILES)
+-      $(LD) -r -o $@ $(FILES)
++      $(LD) $(LD3264) -r -o $@ $(FILES)
+ clean:
+       $(RM) -f $(TARGET) $(FILES)
+--- elilo-3.12.orig/ia64/Makefile
++++ elilo-3.12/ia64/Makefile
+@@ -23,10 +23,15 @@
+ # to use this program.
+ #
+-include ../Make.defaults
+-include ../Make.rules
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/../Make.defaults
++include $(SRCDIR)/../Make.rules
++
++TOPDIR=$(SRCDIR)/..
+-TOPDIR=$(CDIR)/..
+ FILES=system.o config.o fpswa.o plain_loader.o gzip_loader.o \
+       gzip.o memset.o memcpy.o setjmp.o longjmp.o
+--- elilo-3.12.orig/choosers/Makefile
++++ elilo-3.12/choosers/Makefile
+@@ -23,10 +23,15 @@
+ # to use this program.
+ #
+-include ../Make.defaults
+-include ../Make.rules
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/../Make.defaults
++include $(SRCDIR)/../Make.rules
++
++TOPDIR=$(SRCDIR)/..
+-TOPDIR=$(CDIR)/..
+ FILES=
+@@ -43,11 +48,11 @@ TARGET=choosers.o
+ all: $(TARGET)
+ $(TARGET): check-choosers $(TOPDIR)/Make.defaults $(FILES)
+-      $(LD) -o $@ -r $(FILES)
++      $(LD) $(LD3264) -o $@ -r $(FILES)
+ clean:
+       $(RM) -f $(TARGET) $(FILES)
+-      
++
+ check-choosers:
+       @if [ -n "$(FILES)" ]; then \
+               exit 0; \
+--- elilo-3.12.orig/ia32/Makefile
++++ elilo-3.12/ia32/Makefile
+@@ -23,10 +23,15 @@
+ # to use this program.
+ #
+-include ../Make.defaults
+-include ../Make.rules
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/../Make.defaults
++include $(SRCDIR)/../Make.rules
++
++TOPDIR=$(SRCDIR)/..
+-TOPDIR=$(CDIR)/..
+ FILES=system.o config.o bzimage.o plain_loader.o gzip_loader.o gzip.o
+@@ -37,13 +42,13 @@ all: $(TARGET)
+ system.o: rmswitch.h
+ rmswitch.h: bin_to_h.c rmswitch.S
+-      $(CC) -o bin_to_h bin_to_h.c
+-      $(AS) -o rmswitch.o rmswitch.S
++      $(CC) -o bin_to_h $(SRCDIR)/bin_to_h.c
++      $(AS) -o rmswitch.o $(SRCDIR)/rmswitch.S
+       $(LD) -Ttext 0x0 -s --oformat binary -o rmswitch rmswitch.o
+       ./bin_to_h <rmswitch >rmswitch.h
+ $(TARGET): $(FILES)
+-      $(LD) -r -o $@ $(FILES)
++      $(LD) $(LD3264) -r -o $@ $(FILES)
+ clean:
+       $(RM) -f $(TARGET) $(FILES)
+--- elilo-3.12.orig/x86_64/Makefile
++++ elilo-3.12/x86_64/Makefile
+@@ -23,10 +23,15 @@
+ # to use this program.
+ #
+-include ../Make.defaults
+-include ../Make.rules
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/../Make.defaults
++include $(SRCDIR)/../Make.rules
++
++TOPDIR=$(SRCDIR)/..
+-TOPDIR=$(CDIR)/..
+ FILES=system.o config.o bzimage.o plain_loader.o gzip_loader.o gzip.o
+ #FILES=system.o config.o plain_loader.o
+@@ -38,13 +43,13 @@ all: $(TARGET)
+ system.o: rmswitch.h
+ rmswitch.h: bin_to_h.c rmswitch.S
+-      $(CC) -o bin_to_h bin_to_h.c
+-      $(AS) -o rmswitch.o rmswitch.S
++      $(CC) -o bin_to_h $(SRCDIR)/bin_to_h.c
++      $(AS) -o rmswitch.o $(SRCDIR)/rmswitch.S
+       $(LD) -Ttext 0x0 -s --oformat binary -o rmswitch rmswitch.o
+       ./bin_to_h <rmswitch >rmswitch.h
+ $(TARGET): $(FILES)
+-      $(LD) -r -o $@ $(FILES)
++      $(LD) $(LD3264) -r -o $@ $(FILES)
+ clean:
+       $(RM) -f $(TARGET) $(FILES)
+--- elilo-3.12.orig/tools/Makefile
++++ elilo-3.12/tools/Makefile
+@@ -23,10 +23,15 @@
+ # to use this program.
+ #
+-include ../Make.defaults
+-include ../Make.rules
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/../Make.defaults
++include $(SRCDIR)/../Make.rules
++
++TOPDIR=$(SRCDIR)/..
+-TOPDIR=$(CDIR)/..
+ FILES=eliloalt.o
+ TARGET=eliloalt
+--- elilo-3.12.orig/fs/Makefile
++++ elilo-3.12/fs/Makefile
+@@ -23,10 +23,15 @@
+ # to use this program.
+ #
+-include ../Make.defaults
+-include ../Make.rules
++SRCDIR = .
++
++VPATH = $(SRCDIR)
++
++include $(SRCDIR)/../Make.defaults
++include $(SRCDIR)/../Make.rules
++
++TOPDIR=$(SRCDIR)/..
+-TOPDIR=$(CDIR)/..
+ FILES=
+ ifeq ($(CONFIG_localfs),y)
+@@ -55,7 +60,7 @@ all: $(TARGET)
+ #      without doing make clean.
+ #
+ $(TARGET): check-filesystems $(TOPDIR)/Make.defaults $(FILES)
+-      $(LD) -r -o $@ $(FILES)
++      $(LD) $(LD3264) -r -o $@ $(FILES)
+ clean:
+       $(RM) -f $(TARGET) $(FILES)
diff --git a/debian/patches/fix-paths.diff b/debian/patches/fix-paths.diff
new file mode 100644 (file)
index 0000000..6cd2712
--- /dev/null
@@ -0,0 +1,51 @@
+--- elilo/Make.defaults        2010-06-08 13:26:54.651037891 -0600
++++ /tmp/elilo-3.12/Make.defaults      2010-06-08 13:15:19.905132316 -0600
+@@ -62,13 +62,15 @@
+ CDIR    := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
+ TOPDIR  =
+-ARCH     = $(shell uname -m | sed s,i[3456789]86,ia32,)
++HOSTARCH   = $(shell dpkg-architecture -qDEB_BUILD_ARCH | sed s,i[3456789]86,ia32, | sed s,amd64,x86_64, )
++ARCH     := $(shell dpkg-architecture -qDEB_BUILD_ARCH | sed s,i[3456789]86,ia32, | sed s,amd64,x86_64, )
+ INCDIR           = -I. -I$(TOPDIR) -I$(EFIINC) -I$(EFIINC)/$(ARCH) -I$(EFIINC)/protocol -I$(TOPDIR)/efi110
+ CPPFLAGS   = -DCONFIG_$(ARCH) 
+ OPTIMFLAGS = -O2 
+ DEBUGFLAGS = -Wall
+-CFLAGS     = $(OPTIMFLAGS) -fno-strict-aliasing -fpic -fshort-wchar $(DEBUGFLAGS)
++CFLAGS     = $(ARCH3264) $(OPTIMFLAGS) -fpic -fshort-wchar $(DEBUGFLAGS)
++ASFLAGS    = $(ARCH3264)
+ LDFLAGS          = -nostdlib -znocombreloc
+ INSTALL          = install
+@@ -108,10 +110,30 @@
+ # Use Modified binutils that supports x86_64 using UEFI ABI
+ ifeq ($(ARCH), x86_64)
++  ifeq ($(HOSTARCH), ia32)
++      ARCH3264 = -m64
++      LD3264 = -melf_x86_64
++
++      GNUEFILIB := $(GNUEFILIB)64
++      EFILIB    := $(EFILIB)64
++      EFICRT0   := $(EFICRT0)64
++  endif
++
+         CFLAGS   += -DEFI_FUNCTION_WRAPPER
+       OBJCOPY   = /usr/bin/objcopy
+ endif
++ifeq ($(ARCH), ia32)
++  ifeq ($(HOSTARCH), x86_64)
++      ARCH3264 = -m32
++      LD3264 = -melf_i386
++
++      GNUEFILIB := /usr/lib32
++      EFILIB    := /usr/lib32
++      EFICRT0   := /usr/lib32
++  endif
++endif
++
+ ifeq ($(ARCH),ia64)
+  GCC_VERSION=$(shell $(CROSS_COMPILE)$(CC) -v 2>&1 | fgrep 'gcc version' | cut -f3 -d' ' | cut -f1 -d'.')
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..ce90360
--- /dev/null
@@ -0,0 +1,2 @@
+fix-paths.diff
+cross-build.diff
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644 (file)
index 0000000..4ef1d3d
--- /dev/null
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] elilo.templates
diff --git a/debian/po/cs.po b/debian/po/cs.po
new file mode 100644 (file)
index 0000000..29e67b6
--- /dev/null
@@ -0,0 +1,85 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-09 21:49+0100\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
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Automaticky spustit elilo?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Pro instalaci binárky elilo do EFI oblasti je nutné spustit /usr/sbin/elilo."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"VAROVÁNÍ: Tímto se zapíší data do debianího adresáře v diskové oblasti EFI, "
+"což může přepsat soubory, které jste tam nakopírovali ručně."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Pokud byste novou binárku elilo nenainstalovali do diskové oblasti EFI, může "
+"to zanechat systém ve stavu, kdy se jej nepodaří zavést. Alternativou k "
+"automatické aktualizaci oblasti je ruční spuštění /usr/sbin/elilo, nebo "
+"ruční instalace spustitelného souboru /usr/lib/elilo/elilo.efi do diskové "
+"oblasti EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Přeformátovat a naplnit EFI oblast?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"Struktura souborů na diskové oblasti EFI se liší od struktury souborů ve "
+"verzích elila před 3.2. Debianí záznam v zavaděči EFI musí být aktualizován, "
+"aby odpovídal těmto změnám."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"Ve většině případů, pokud nemusí být zachovány ručně provedené změny v "
+"obsahu EFI oblasti, se tato aktualizace může provést automaticky."
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644 (file)
index 0000000..5334732
--- /dev/null
@@ -0,0 +1,86 @@
+# Danish translation elilo.
+# Copyright (C) 2010 elilo & nedenstående oversættere.
+# This file is distributed under the same license as the elilo package.
+# Joe Hansen (joedalton2@yahoo.dk), 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2010-11-04 12:42+0000\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\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
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Kør automatisk elilo?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Det er nødvendigt at køre /usr/sbin/elilo for at installere den nye binære "
+"elilo til EFI-partitionen."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"ADVARSEL: Denne procedure vil skrive data til debianmappen på EFI-"
+"diskpartitionen, og muligvis overskrive filer installeret der manuelt."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Undladelse af at installere den nye binære elilo på EFI-diskpartionen kan "
+"efterlade systemet i en tilstand, hvor det ikke kan startes op. Alternativer "
+"til automatisk opdatering af partitionen inkluderer at køre /usr/sbin/elilo "
+"manuelt, eller installere den nye kørbare /usr/lib/elilo/elilo.efi i EFI-"
+"diskpartitionen manuelt."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Genformater og genindlæs EFI-partition?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"Strukturen på filer i EFI-diskpartitionen har ændret sig siden pre-3.2-"
+"versionerne af elilopakken. Debians punkt i EFI-opstartshåndteringen skal "
+"opdateres for at afspejle disse ændringer."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"I de fleste tilfælde, hvor der ikke er behov for at bevare manuelle "
+"ændringer, kan denne opdatering håndteres automatisk."
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644 (file)
index 0000000..f9bf05b
--- /dev/null
@@ -0,0 +1,87 @@
+# Translation of elilo debconf templates to German
+# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2007.
+# This file is distributed under the same license as the elilo package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo 4.7.6-1\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-07 19:21+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=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Elilo automatisch ausführen?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Es ist notwendig, /usr/sbin/elilo auszuführen, um das neue Elilo-Programm in "
+"die EFI-Partition zu installieren."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"WARNUNG: Diese Prozedur wird Daten in das Debian-Verzeichnis der EFI-Platten-"
+"Partition schreiben und dabei möglicherweise Dateien überschreiben, die dort "
+"manuell installiert wurden."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Wird das neue Elilo-Programm nicht auf die EFI-Platten-Partition "
+"installiert, könnte Ihr System nicht mehr starten. Statt der automatischen "
+"Aktualisierung der Partition können Sie auch selbst /usr/sbin/elilo "
+"ausführen oder manuell das neue /usr/lib/elilo/elilo.efi-Programm auf die "
+"EFI-Platten-Partition installieren."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "EFI-Partition neu formatieren und neu laden?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"Die Struktur der Dateien in der EFI-Platten-Partition hat sich seit pre-3.2-"
+"Versionen des Elilo-Pakets geändert. Der EFI-Bootmanager-Eintrag für Debian "
+"muss aktualisiert werden, um diese Änderungen zu berücksichtigen."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"In den meisten Fällen, falls keine manuellen Änderungen am Inhalt der EFI-"
+"Partition erhalten bleiben müssen, kann dies von dieser Aktualisierung "
+"automatisch durchgeführt werden."
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644 (file)
index 0000000..63eb484
--- /dev/null
@@ -0,0 +1,118 @@
+# elilo po-debconf translation to Spanish.
+# Copyright (C) 2007.
+# This file is distributed under the same license as the elilo package.
+#
+#  Changes:
+# - Initial translation
+#       Elías A.M. <rumbo_4000@yahoo.es>
+#
+# - Last revision:
+#       Fernando González de Requena <fgrequena@gmail.com>, 2009.
+#
+#
+#  Traductores, si no conoce 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
+#
+# Si tiene dudas o consultas sobre esta traducción consulte con el último
+# traductor (campo Last-Translator) y ponga en copia a la lista de
+# traducción de Debian al español (<debian-l10n-spanish@lists.debian.org>)
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo 3.8-1\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2009-01-10 17:28+0200\n"
+"Last-Translator: Fernando González de Requena <fgrequena@gmail.com>\n"
+"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "¿Desea ejecutar automáticamente elilo?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Es necesario ejecutar «/usr/sbin/elilo» para instalar el nuevo archivo "
+"binario de elilo en la partición EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"AVISO: Este procedimiento escribirá datos en el directorio «debian» de la "
+"partición EFI, y puede sobreescribir los archivos que se hayan instalado "
+"allí manualmente."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Si no instala el nuevo archivo binario de elilo en la partición EFI es "
+"posible que el sistema no pueda ser arrancado. Las alternativas a la "
+"actualización automática de la partición son ejecutar manualmente «/usr/sbin/"
+"elilo», o bien colocar manualmente el nuevo archivo ejecutable «/usr/lib/"
+"elilo/elilo.efi» en la partición EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "¿Desea reformatear y volver a cargar la partición EFI?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"La estructura de archivos en la partición EFI ha cambiado desde las "
+"versiones anteriores a la versión 3.2 del paquete elilo. Es necesario "
+"actualizar la entrada para Debian en el gestor de arranque de EFI para "
+"reflejar estos cambios."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"En la mayoría de los casos esta actualización se puede realizar "
+"automáticamente, si no se han hecho cambios a mano en el contenido de la "
+"partición EFI que sea necesario conservar. "
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644 (file)
index 0000000..418c7ef
--- /dev/null
@@ -0,0 +1,89 @@
+# translation of fr.po to French
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Christian Perrier <bubulle@debian.org>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: fr\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-07 19:36+0100\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\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"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Faut-il lancer elilo automatiquement ?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Il est indispensable d'exécuter la commande « /usr/sbin/elilo » pour "
+"installer la nouvelle version d'elilo sur la partition EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"Attention, cette procédure copiera des données dans le répertoire « debian » "
+"de la partition EFI, ce qui est susceptible d'écraser des fichiers qui y "
+"auraient été installés manuellement."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Si la nouvelle version d'elilo n'est pas installée sur la partition EFI, le "
+"système pourrait ne plus démarrer. Plutôt que mettre à jour automatiquement "
+"le programme, il est possible de le lancer ou de le copier le fichier "
+"exécutable « /usr/lib/elilo/elilo.efi » dans la partition EFI vous-même."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Faut-il reformater et recharger la partition EFI ?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"La structure des fichiers dans la partition EFI a été modifiée depuis les "
+"versions antérieures à la version 3.2 du paquet d'elilo. L'entrée créée pour "
+"Debian dans le gestionnaire d'amorçage EFI doit être mise à jour pour "
+"prendre en compte ces modifications."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"Dans la plupart des cas, si aucune modification manuelle à la partition EFI "
+"n'a besoin d'être conservée, cette mise à jour peut être effectuée "
+"automatiquement."
diff --git a/debian/po/gl.po b/debian/po/gl.po
new file mode 100644 (file)
index 0000000..901fb99
--- /dev/null
@@ -0,0 +1,87 @@
+# Galician translation of elilo's debconf templates
+# This file is distributed under the same license as the elilo package.
+# Jacobo Tarrio <jtarrio@debian.org>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-09 09:49+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
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "¿Executar elilo automaticamente?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"É necesario executar /usr/sbin/elilo para instalar o novo binario de elilo "
+"na partición EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"AVISO: Este procedemento ha gravar os datos no directorio debian da "
+"partición de disco EFI, posiblemente sobrescribindo os ficheiros que teña "
+"instalados alí á man."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Se non instala o novo binario de elilo na partición de disco EFI pode deixar "
+"o sistema nun estado no que non se pode iniciar. As alternativas á "
+"actualización automática da partición inclúen executar /usr/sbin/elilo á "
+"man, ou instalar o novo executable /usr/lib/elilo/elilo.efi na partición de "
+"disco EFI á man."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "¿Reformatar e recargar a partición EFI?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"A estructura dos ficheiros na partición de disco EFI cambiou desde as "
+"versións anteriores á 3.2 do paquete elilo. É necesario actualiar a entrada "
+"para Debian do xestor de inicio EFI para reflectir os cambios."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"Na maioría dos casos, se non hai que conservar ningún cambio manual no "
+"contido da partición EFI, pódese xestionar automaticamente esta "
+"actualización."
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644 (file)
index 0000000..c6bc7a1
--- /dev/null
@@ -0,0 +1,88 @@
+# Italian (it) translation of debconf templates for elilo
+# Copyright (C) 2007 Software in the Public Interest
+# This file is distributed under the same license as the elilo package.
+# Luca Monducci <luca.mo@tiscali.it>, 2007
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo italian debconf templates\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-11 21:27+0100\n"
+"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Eseguire automaticamente elilo?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"È necessario eseguire /usr/sbin/elilo per installare il nuovo binario elilo "
+"nella partizione EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"ATTENZIONE: Questa procedura esegue la scrittura di dati all'interno della "
+"directory debian nella partizione EFI del disco e potrebbe sovrascrivere i "
+"file installati manualmente."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Se il nuovo binario elilo non viene installato nella partizione EFI del "
+"disco, il sistema potrebbe diventare non avviabile. Le alternative a un "
+"aggiornamento automatico consistono nell'eseguire a mano /usr/sbin/elilo "
+"oppure nell'installare il nuovo eseguibile /usr/lib/elilo/elilo.efi nella "
+"partizione EFI del disco manualmente."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Formattare e ricaricare la partizione EFI?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"La struttura dei file nella partizione EFI del disco è cambiata rispetto "
+"alle versioni precedenti la 3.2. La voce nel boot manager EFI per Debian "
+"deve essere aggiornata in modo da riflettere queste modifiche."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"Nella maggior parte dei casi, a meno che non debbano essere preservate delle "
+"modifiche al contenuto della partizione EFI, l'aggiornamento può essere "
+"effettuato automaticamente."
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644 (file)
index 0000000..099a566
--- /dev/null
@@ -0,0 +1,87 @@
+# Japanese debconf templates translation for elilo.
+# Copyright (C) 2007 Noritada Kobayashi
+# This file is distributed under the same license as the elilo package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo (debconf) 3.6-3.1\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-13 14:38+0900\n"
+"Last-Translator: Noritada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>\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"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "elilo を自動的に実行しますか?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"新しい elilo バイナリを EFI パーティションにインストールするには /usr/sbin/"
+"elilo を実行する必要があります。"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"警告: この手続きでは EFI ディスクパーティションの debian ディレクトリにデータ"
+"を書き込みます。その際に、手動でインストールされたファイルが書き込み先に存在"
+"する場合はそれを上書きします。"
+
+# FIXME: "runnning" should be "running"
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"新しい elilo バイナリを EFI ディスクパーティションにインストールしないと、シ"
+"ステムは起動不能な状態のままになります。パーティションの自動更新の代替手段に"
+"は、「/usr/sbin/elilo を手で実行する」、「新しい /usr/lib/elilo/elilo.efi 実"
+"行可能ファイルを EFI ディスクパーティションに手でインストールする」などがあり"
+"ます。"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "EFI を再フォーマットしてリロードしますか?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"EFI ディスクパーティション内のファイルの構造は、elilo パッケージのバージョン "
+"3.2 以前のものから変更されました。これらの変更を反映させるために、Debian 用"
+"の EFI 起動マネージャのエントリを更新する必要があります。"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"大抵の場合、EFI パーティションの内容に手で加えた変更を保存する必要がなけれ"
+"ば、この更新は自動的に行ってかまいません。"
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644 (file)
index 0000000..af09b4a
--- /dev/null
@@ -0,0 +1,89 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-10-23 13:58+0100\n"
+"Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n"
+"Language-Team: debian-l10n-dutch <debian-l10n-dutch@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-Poedit-Language: Dutch\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Wilt u elilo automatisch uitvoeren?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Het is nodig om /usr/bin/elilo uit te voeren; dit installeert het nieuwe "
+"elilo binair bestand op de EFI-partitie."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"WAARSCHUWING: Deze procedure schrijft data naar de debian-map van de EFI-"
+"partitie, dit kan handmatige geïnstalleerde bestanden overschrijven."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Als u nalaat om het nieuwe binair bestand van elilo te installeren op de EFI-"
+"schijfpartitie kan dit uw systeem in een niet-opstartbare staat laten. "
+"Alternatieven voor het automatisch bijwerken van de partitie zijn het "
+"handmatig uitvoeren van /usr/bin/elilo, en het handmatig installeren van het "
+"nieuwe uitvoerbaar bestand /usr/lib/elilo/elilo.efi naar de EFI-partitie."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Wilt u de EFI-partitie herformatteren en herladen?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"De pre-3.2 versies van het pakket 'elilo' hadden een andere "
+"bestandsstructuur op de EFI-partitie. De ingang voor Debian in de EFI-"
+"opstartbeheerder dient aangepast te worden om deze veranderingen te "
+"reflecteren."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"In de meeste gevallen (als er geen handmatige veranderingen gemaakt zijn aan "
+"de inhoud van de EFI-partitie) kan deze opwaardering automatisch afgehandeld "
+"worden."
diff --git a/debian/po/pl.po b/debian/po/pl.po
new file mode 100644 (file)
index 0000000..1b2836e
--- /dev/null
@@ -0,0 +1,90 @@
+# Copyright (C) 2007
+# This file is distributed under the same license as the elilo package.
+#
+# Michał Kułach <michal.kulach@gmail.com>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2012-01-26 13:57+0100\n"
+"Last-Translator: Michał Kułach <michal.kulach@gmail.com>\n"
+"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.2\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Uruchomić elilo automatycznie?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Konieczne jest uruchomienie /usr/sbin/elilo, aby zainstalować nowy plik "
+"binarny elilo na partycji EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"OSTRZEŻENIE: Ta procedura zapisze dane do katalogu debian na partycji "
+"dyskowej EFI, potencjalnie nadpisując pliki, które zostały tam zainstalowane "
+"ręcznie."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Niezainstalowanie nowego pliku binarnego elilo na partycji dyskowej EFI może "
+"uniemożliwić ponowny rozruch systemu. Alternatywami dla automatycznego "
+"uaktualnienia partycji są: ręczne uruchomienie /usr/sbin/elilo lub ręczne "
+"zainstalowanie nowego pliku wykonywalnego /usr/lib/elilo/elilo.efi na "
+"partycji dyskowej EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Sformatować i załadować partycję EFI ponownie?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"Struktura plików na partycji dyskowej EFI zmieniła się od czasu wersji "
+"pre-3.2 pakietu elilo. Wpis dla Debiana w menedżerze rozruchu EFI musi "
+"zostać uaktualniony, aby uwzględnić te zmiany."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"W większości przypadków, jeśli nie ma potrzeby zachowania, dokonanych "
+"ręcznie, zmian w zawartości partycji EFI, uaktualnienie może zostać wykonane "
+"automatycznie."
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644 (file)
index 0000000..4ca3a32
--- /dev/null
@@ -0,0 +1,88 @@
+# Portuguese translation for elilo's debconf messages
+# Copyright (C) 2007 Miguel Figueiredo
+# This file is distributed under the same license as the elilo package.
+# Miguel Figueiredo <elmig2debianpt.org>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-09 21:05+0000\n"
+"Last-Translator: Miguel Figueiredo <elmig@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"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Executar automaticamente o elilo?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Isto é necessário correr o /usr/sbin/elilo para instalar o novo binário "
+"elilo na partição EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"AVISO: Este procedimento irá escrever dados no directório debian da partição "
+"do disco EFI, possivelmente sobrescrevendo nesse local ficheiros instalados "
+"manualmente."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Não instalar o novo binário elilo na partição do disco EFI pode deixar o "
+"sistema num estado em que não arranca.  As alternativas à actualização "
+"automática da partição incluem correr manualmente o /usr/sbin/elilo, ou "
+"instalar manualmente o novo executável /usr/lib/elilo/elilo.efi na partição "
+"do disco EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Reformatar e carregar novamente a partição EFI?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"A estrutura de ficheiros na partição do disco EFI foi alterada a partir das "
+"versões pre-3.2 do pacote elilo.  A entrada para o gestor de arranque EFI "
+"para Debian necessita de ser actualizada para reflectir essas alterações."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"Na maioria dos casos, se não tiverem de ser preservadas alterações manuais "
+"ao conteúdo da partição EFI, esta actualização pode ser lidada "
+"automaticamente."
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644 (file)
index 0000000..53e91d6
--- /dev/null
@@ -0,0 +1,88 @@
+# Brazilian Portuguese translation (elilo)
+# Copyright (C) 2007 THE elilo'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the elilo package.
+#
+# Felipe Augusto van de Wiel (faw) <faw@debian.org>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pt_BR: 20070311\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-11 21:09-0300\n"
+"Last-Translator: Felipe Augusto van de Wiel (faw) <faw@cathedrallabs.org>\n"
+"Language-Team: l10n portuguese <debian-l10n-portuguese@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"pt_BR utf-8\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Executar elilo automaticamente?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"É necessário executar /usr/sbin/elilo para instalar o novo binário elilo na "
+"partição EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"AVISO: Este procedimento escreverá dados no diretório debian da partição de "
+"disco EFI, possivelmente sobrescrevendo arquivos instalados lá manualmente."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Não instalar o novo binário elilo na partição de disco EFI pode deixar o "
+"sistema num estado não-inicializável. Alternativas para a atualização "
+"automática da partição incluem executar /usr/sbin/elilo manualmente, ou "
+"instalar o novo executável /usr/lib/elilo/elilo.efi na partição de disco EFI "
+"manualmente."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Reformatar e recarregar a partição EFI?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"A estrutura dos arquivos na partição de disco EFI mudou desde as versões "
+"pré-3.2 do pacote elilo.  A entrada para o Debian do gereciador de "
+"inicialização EFI precisa ser atualizada para refletir estas mudanças."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"Na maioria dos casos, se nenhuma mudança manual no conteúdo da partição EFI "
+"precisa ser preservada, esta atualização pode ser feita automaticamente."
diff --git a/debian/po/ro.po b/debian/po/ro.po
new file mode 100644 (file)
index 0000000..d83d9ee
--- /dev/null
@@ -0,0 +1,93 @@
+# translation of ro.po to Romanian
+# Romanian translations for PACKAGE package
+# Traducerea în limba română pentru pachetul PACKAGE.
+# Copyright (C) 2007 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Eddy Petrisor <eddy.petrisor@gmail.com>, 2007.
+# Eddy Petrișor <eddy.petrisor@gmail.com>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: ro\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-16 13:30+0200\n"
+"Last-Translator: Eddy Petrișor <eddy.petrisor@gmail.com>\n"
+"Language-Team: Romanian <debian-l10n-romanian@lists.debian.org>\n"
+"Language: ro\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==0 || (n%100 > 0 && n%100 < "
+"20)) ? 1 : 2;\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Se execută automat elilo?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Este necesar să se execute /usr/sbin/elilo pentru a instala noul binar elilo "
+"în partiţia EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"AVERTISMENT: Această operaţie va scrie date în directorul debian al "
+"partiţiei EFI, şi este posibil să suprascrie fişierele instalate manual în "
+"acel loc."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Dacă noul binar elilo nu este instalat în partiţia EFI, este posibil ca "
+"sistemul să nu mai poată porni. Ca o alternativă la actualizarea automată, "
+"este posibil ca /usr/sbin/elilo să fie executat manual, sau să instalaţi "
+"manual noul executabil /usr/lib/elilo/elilo.efi în partiţia EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Se reformatează şi se reîncarcă partiţia EFI?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"Structura fişierelor din partiţia EFI s-a schimbat faţă de versiunile mai "
+"vechi de 3.2 ale pachetului elilo. Înregistrarea pentru Debian din managerul "
+"de pornire EFI trebuie să fie actualizată pentru a reflecta aceste schimbări."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"De cele mai multe ori, dacă nu este nevoie să se păstreze nici un fel de "
+"modificare manuală a partiţiei EFI, această actualizare se poate face "
+"automat."
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644 (file)
index 0000000..907dee9
--- /dev/null
@@ -0,0 +1,88 @@
+# translation of elilo_debconf_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 <kozlov.y@gmail.com>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: 3.6-3\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-10 13:47+0300\n"
+"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\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: 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
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Запустить elilo автоматически?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Для установки новой версии файла elilo в EFI-раздел нужно запустить /usr/"
+"sbin/elilo."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"ПРЕДУПРЕЖДЕНИЕ: будет произведена запись данных в каталог debian на дисковом "
+"разделе EFI, возможно изменение имеющихся файлов, установленных вручную."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Если не установить новую версию файла elilo на дисковый раздел EFI, то это "
+"может сделать систему незагружаемой. Вместо автоматического обновления "
+"раздела можно выполнить запуск /usr/sbin/elilo вручную, или установить новый "
+"исполняемый файл /usr/lib/elilo/elilo.efi на дисковый раздел EFI."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Переформатировать и перегрузить раздел EFI?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"Начиная с версии pre-3.2 пакета elilo была изменена структура файлов на "
+"дисковом разделе EFI. Для вступления изменений в силу нужно обновить запись "
+"менеджера загрузки EFI для Debian."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"В большинстве случаев, если не нужно сохранять ручные изменения в разделе "
+"EFI, это обновление можно выполнить автоматически."
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644 (file)
index 0000000..aeef75f
--- /dev/null
@@ -0,0 +1,87 @@
+# Swedish translation of elilo debconf template.
+# Copyright (C) 2007 Free Software Foundation, Inc.
+# This file is distributed under the same license as the elilo package.
+# Daniel Nylander <po@danielnylander.se>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-09 11:49+0100\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "Kör automatiskt elilo?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+"Det är nödvändigt att köra /usr/sbin/elilo för att installera den nya elilo-"
+"binären till EFI-partitionen."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"VARNING: Den här proceduren kommer att skriva data till debian-katalogen på "
+"EFI-diskpartitionen och möjligen skriva över filer som manuellt har "
+"installerats där."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"Att inte installera den nya elilo-binären på EFI-diskpartitionen kan göra "
+"att systemet inte kan starta upp.  Alternativen till automatisk uppdatering "
+"av partitionen inkluderar att man kör /usr/sbin/elilo för hand eller att man "
+"manuellt installerar den nya /usr/lib/elilo/elilo.efi till EFI-"
+"diskpartitionen."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "Formatera om och läs om EFI-partitionen?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"Strukturen för filerna på EFI-diskpartitionen har ändrats sedan versionerna "
+"innan 3.2 av paketet elilo. Posten för EFI-starthanteraren för Debian "
+"behöver uppdateras för att reflektera dessa ändringar."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"I de flesta fall, om inga manuella ändringar i EFI-partitionens innehåller "
+"behöver behållas, kan denna uppdatering hanteras automatiskt."
diff --git a/debian/po/ta.po b/debian/po/ta.po
new file mode 100644 (file)
index 0000000..cb94296
--- /dev/null
@@ -0,0 +1,84 @@
+# translation of elilo.po to TAMIL
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Dr.T.Vasudevan <agnihot3@gmail.com>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: elilo\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\n"
+"PO-Revision-Date: 2007-03-09 17:24+0530\n"
+"Last-Translator: Dr.T.Vasudevan <agnihot3@gmail.com>\n"
+"Language-Team: TAMIL <ubuntu-l10n-tam@lists.ubuntu.com>\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"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr "ஈலிலோவை தனியங்கியாக இயக்கவா?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr "ஈஎப்ஃஐ பகிர்வில் புதிய ஈலிலோ இருமத்தை நிறுவ /usr/sbin/elilo ஐ இயக்க வேண்டும்."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+"ஈஎப்ஃஐ பகிர்வில் உள்ள டெபியன் அடைவில் தரவு எழுதப் படும், அனேகமாக கைமுறையாக அங்கு "
+"நிறுவப்பட்ட கோப்புகளை அழித்துவிடும் என அறிக."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+"ஈஎப்ஃஐ பகிர்வில் புதிய ஈலிலோ இருமத்தை நிறுவாமல் இருத்தல் உங்கள் கணினியை துவக்க "
+"முடியாமல் செய்யக் கூடும். தானியங்கி இற்றைப் படுத்தலுக்கு மாற்று கைமுறையாக /usr/sbin/"
+"elilo ஐ இயக்குவது அல்லது புதிய /usr/lib/elilo/elilo.efi செயலியை கைமுறையாக "
+"ஈஎப்ஃஐ பகிர்வில் நிறுவுதல்."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr "ஈஎப்ஃஐ பகிர்வை துடைத்து ஒழுங்கு செய்து மீளேற்றம் செய்யவா?"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+"ஈஎப்ஃஐ பகிர்வில் கோப்பு அடுக்கு முறை ஈலிலோ 3.2 பதிப்பிற்கு முன் இருந்ததை விட "
+"மாறிவிட்டது. டெபியனுக்கான ஈஎப்ஃஐ பகிர்வு துவக்க மேலாளர் உள்ளீடு இந்த மாறுதல்களை "
+"பிரதிபலிக்க இற்றைப் படுத்தப் பட வேண்டும்."
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
+"அனேகமாக ஈஎப்ஃஐ பகிர்வில் உள்ள தரவு பாதுகாக்கப் பட தேவையில்லாவிடில் இந்த இற்றைப் படுத்தல் "
+"தானியங்கியாக செய்யப் படலாம்."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644 (file)
index 0000000..dc09793
--- /dev/null
@@ -0,0 +1,72 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bdale@gag.com\n"
+"POT-Creation-Date: 2007-03-13 08:22+0100\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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid "Automatically run elilo?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"It is necessary to run /usr/sbin/elilo to install the new elilo binary into "
+"the EFI partition."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"WARNING: This procedure will write data into the debian directory of the EFI "
+"disk partition, possibly overwriting files installed there by hand."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:1001
+msgid ""
+"Not installing the new elilo binary on the EFI disk partition may leave the "
+"system in an unbootable state.  Alternatives to automatic updating of the "
+"partition include running /usr/sbin/elilo by hand, or installing the new /"
+"usr/lib/elilo/elilo.efi executable into the EFI disk partition manually."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid "Reformat and reload EFI partition?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"The structure of files in the EFI disk partition has changed since pre-3.2 "
+"versions of the elilo package.  The EFI boot manager entry for Debian needs "
+"to be updated to reflect these changes."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../elilo.templates:2001
+msgid ""
+"In most cases, if no manual changes to the EFI partition content need to be "
+"preserved, this update can be handled automatically."
+msgstr ""
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..1487eae
--- /dev/null
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+set -e
+
+if [ -f /usr/share/debconf/confmodule ]; then
+  . /usr/share/debconf/confmodule
+fi
+
+
+case "$1" in
+    configure|reconfigure)
+       # On new installs, do nothing - elilo-installer will handle it for d-i
+       if [ -e /etc/elilo.conf ]; then
+            if [ "$2" ] && dpkg --compare-versions "$2" lt 3.2-1
+            then
+                db_get elilo/format || true;
+                if [ x"$RET" = x"true" ]; then
+                    echo "Running elilo..."
+                    elilo --format --efiboot
+                fi
+            else
+                db_get elilo/runme || true;
+                if [ x"$RET" = x"true" ]; then
+                    echo "Running elilo..."
+                    elilo
+                fi
+            fi
+        fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+        exit 0
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b7d8afb
--- /dev/null
@@ -0,0 +1,106 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+buildarch := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp:
+       dh_testdir
+
+ifeq ($(buildarch), i386)
+       mkdir debian/build64
+       $(MAKE) -C debian/build64 -f ../../Makefile SRCDIR=../.. ARCH=x86_64
+endif
+
+ifeq ($(buildarch), amd64)
+       mkdir debian/build32
+       $(MAKE) -C debian/build32 -f ../../Makefile SRCDIR=../.. ARCH=ia32 
+endif
+
+       $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       [ ! -f Makefile ] || $(MAKE) clean
+
+       rm -rf debian/build32 debian/build64
+
+       debconf-updatepo
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+ifeq ($(buildarch), i386)
+       mkdir -p debian/elilo/usr/lib64/elilo
+       cp debian/build64/elilo.efi debian/elilo/usr/lib64/elilo/elilo.efi
+       chmod 0644 debian/elilo/usr/lib64/elilo/elilo.efi
+endif
+
+ifeq ($(buildarch), amd64)
+       mkdir -p debian/elilo/usr/lib32/elilo
+       cp debian/build32/elilo.efi debian/elilo/usr/lib32/elilo/elilo.efi
+       chmod 0644 debian/elilo/usr/lib32/elilo/elilo.efi
+endif
+
+       cp elilo.efi debian/elilo/usr/lib/elilo/elilo.efi
+       chmod 0644 debian/elilo/usr/lib/elilo/elilo.efi
+
+       # dynamically determine version string from changelog
+       sed s/'##VERSION##'/"`IFS=\"()\" read pkg ver other < \
+               debian/changelog && echo $$ver`"/ < debian/elilo.sh > \
+               debian/elilo/usr/sbin/elilo
+
+       chmod 0755 debian/elilo/usr/sbin/elilo
+       cp tools/eliloalt debian/elilo/usr/sbin/eliloalt
+       chmod 0755 debian/elilo/usr/sbin/eliloalt
+
+       cp debian/elilo.initramfs-post-update \
+               debian/elilo/etc/initramfs/post-update.d/elilo
+       cp debian/elilo.kernel-postinst \
+               debian/elilo/etc/kernel/postinst.d/zz-elilo
+       cp debian/elilo.kernel-postrm \
+               debian/elilo/etc/kernel/postrm.d/zz-elilo
+       chmod 755 debian/elilo/etc/initramfs/*.d/* debian/elilo/etc/kernel/*.d/*
+
+binary-indep: build install
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installdocs
+       dh_installdebconf
+       dh_installexamples examples/netboot examples/textmenu_chooser
+       cp debian/sys2ansi.pl \
+               debian/elilo/usr/share/doc/elilo/examples/textmenu_chooser/
+       dh_installmenu
+       dh_installcron
+       dh_installman debian/elilo.8 debian/eliloalt.8
+       dh_installinfo
+       dh_installchangelogs ChangeLog
+       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-indep build-arch build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/sys2ansi.pl b/debian/sys2ansi.pl
new file mode 100644 (file)
index 0000000..d8c3f51
--- /dev/null
@@ -0,0 +1,57 @@
+#!/usr/bin/perl
+# $Id: sys2ansi.pl,v 1.1 2002-10-29 22:35:52 bdale Exp $
+#
+# Perl script to convert a Syslinux-format screen to PC-ANSI
+# to display in a color xterm or on the Linux console
+#
+@ansicol = (0,4,2,6,1,5,3,7);
+
+$getting_file = 0;
+$enable = 1;
+
+while ( read(STDIN, $ch, 1) > 0 ) {
+    if ( $ch eq "\x1A" ) {     # <SUB> <Ctrl-Z> EOF
+       last;
+    } elsif ( $ch eq "\x0C" ) {        # <FF>  <Ctrl-L> Clear screen
+       print "\x1b[2J" if ( $enable && !$getting_file );
+    } elsif ( $ch eq "\x0F" ) {        # <SI>  <Ctrl-O> Attribute change
+       if ( !$getting_file ) {
+           if ( read(STDIN, $attr, 2) == 2 ) {
+               $attr = hex $attr;
+               if ( $enable ) {
+                   print "\x1b[0;";
+                   if ( $attr & 0x80 ) {
+                       print "5;";
+                       $attr &= ~0x80;
+                   }
+                   if ( $attr & 0x08 ) {
+                       print "1;";
+                       $attr &= ~0x08;
+                   }
+                   printf "%d;%dm",
+                   $ansicol[$attr >> 4] + 40, $ansicol[$attr & 7] + 30;
+               }
+           }
+       }
+    } elsif ( $ch eq "\x18" ) {        # <CAN> <Ctrl-X> Display image
+       # We can't display an image; pretend to be a text screen
+       # Ignore all input until end of line
+       $getting_file = 1;
+    } elsif ( (ord($ch) & ~07) == 0x10 ) { # Mode controls
+       $enable = (ord($ch) & 0x01); # Emulate the text screen
+    } elsif ( $ch eq "\x0D" ) {        # <CR>  <Ctrl-M> Carriage return
+       # Ignore
+    } elsif ( $ch eq "\x0A" ) { # <LF>  <Ctrl-J> Line feed
+       if ( $getting_file ) {
+           $getting_file = 0;
+       } else {
+           print $ch if ( $enable );
+       }
+    } elsif ( $ch eq "\x01" ) {        # <SOH>  <Ctrl-A> Prompt delimiter
+       # Ignore
+    } elsif ( $ch eq "\x02" ) {        # <STX>  <Ctrl-B> Menu delimiter
+       # Ignore
+    } else {
+       print $ch if ( $enable && !$getting_file );
+    }
+}