debian/0000775000000000000000000000000012265254353007177 5ustar debian/changelog0000664000000000000000000005110312265253331011044 0ustar elilo (3.14-3ubuntu1) trusty; urgency=low * Merge from Debian. LP: #1175026 Remaining changes: - Add nasty hacks for Apple systems - switch to text mode on startup, pass the framebuffer size to the system on boot, and automatically set legacy-free option on ia32 Apple systems. (needs-to-go-upstream) - Perform some Ubuntu branding, put all files in /EFI/ubuntu. (ubuntu-only) - Add a modprobe call if efivars facility is not found. -- Jackson Doak Sat, 07 Dec 2013 07:11:04 +1100 elilo (3.14-3) unstable; urgency=low * orphan this package as I no longer use it myself -- Bdale Garbee Tue, 07 May 2013 09:37:59 -0600 elilo (3.14-2) unstable; urgency=low * remove unnecessary explicit iocharset request in elilo.sh that prevents ia64 installations from succeeding, closes: #685186 -- Bdale Garbee Tue, 16 Oct 2012 21:52:16 -0600 elilo (3.14-1) unstable; urgency=low * new upstream version -- Bdale Garbee Fri, 29 Jun 2012 11:04:12 -0600 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 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 Wed, 01 Feb 2012 20:13:32 +0100 elilo (3.12-4ubuntu1) oneiric; urgency=low * Resynchronise with Debian. Remaining changes: - Add nasty hacks for Apple systems - switch to text mode on startup, pass the framebuffer size to the system on boot, and automatically set legacy-free option on ia32 Apple systems. (needs-to-go-upstream) - Perform some Ubuntu branding, put all files in /EFI/ubuntu. (ubuntu-only) - Add a modprobe call if efivars facility is not found. -- Colin Watson Mon, 22 Aug 2011 21:17:34 +0100 elilo (3.12-4) unstable; urgency=low * don't break kernel install if not configured yet, closes: #594650 -- Bdale Garbee 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 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 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 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 Sun, 01 Nov 2009 22:37:21 -0700 elilo (3.10-1ubuntu1) lucid; urgency=low * Resynchronise with Debian. Remaining changes: - Automatically set legacy-free option on ia32 Apple systems. (needs-to-go-upstream) - Add nasty hacks for Apple systems - switch to text mode on startup, and pass the framebuffer size to the system on boot. (needs-to-go-upstream) - Perform some Ubuntu branding, put all files in /EFI/ubuntu. (ubuntu-only) - Add a modprobe call if efivars facility is not found. * Drop lpia support, as lpia is being decommissioned. -- Colin Watson Tue, 08 Dec 2009 23:52:21 +0000 elilo (3.10-1) unstable; urgency=low * new upstream version * incorporate Spanish debconf template translation, closes: #512993 -- Bdale Garbee Fri, 03 Apr 2009 17:49:01 -0600 elilo (3.8-1ubuntu2) karmic; urgency=low * Pass -nostdlib to the compiler as well, so that it knows not to use stack protection. -- Colin Watson Wed, 07 Oct 2009 00:22:11 +0100 elilo (3.8-1ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Build package for architecture lpia. - Automatically set legacy-free option on ia32 Apple systems. (needs-to-go-upstream) - Add nasty hacks for Apple systems - switch to text mode on startup, and pass the framebuffer size to the system on boot. (needs-to-go-upstream) - Perform some Ubuntu branding, put all files in /EFI/ubuntu. (ubuntu-only) - Add a modprobe call if efivars facility is not found. -- Bryce Harrington Thu, 19 Jun 2008 19:06:08 -0700 elilo (3.8-1) unstable; urgency=low * new upstream version -- Bdale Garbee Tue, 08 Jan 2008 17:37:40 -0700 elilo (3.7-3ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - Build package for architecture lpia. - Automatically set legacy-free option on ia32 Apple systems. - Add nasty hacks for Apple systems - switch to text mode on startup, and pass the framebuffer size to the system on boot. - Perform some Ubuntu branding, put all files in /EFI/ubuntu. - Add a modprobe call if efivars facility is not found. -- Fabio M. Di Nitto Mon, 24 Dec 2007 05:56:06 +0100 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 Mon, 10 Dec 2007 15:59:57 -0700 elilo (3.7-2ubuntu1) hardy; urgency=low * Merge with Debian, remaining changes: - Build package for architecture lpia. - elilo.sh: Set interpreter to /bin/bash, uses bashisms. - Automatically set legacy-free option on ia32 Apple systems. - Add nasty hacks for Apple systems - switch to text mode on startup, and pass the framebuffer size to the system on boot. - Build with -march=i386 on ia32 systems - appears to be needed for Apple hardware. - Perform some Ubuntu branding, put all files in /EFI/ubuntu. - Add a modprobe call if efivars facility is not found. -- Matthias Klose Wed, 05 Dec 2007 13:35:51 +0100 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 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 Wed, 05 Sep 2007 15:12:13 +0100 elilo (3.6-3.1ubuntu2) gutsy; urgency=low * Build package for architecture lpia. * Set Ubuntu maintainer address. -- Matthias Klose Fri, 10 Aug 2007 08:13:59 +0000 elilo (3.6-3.1ubuntu1) gutsy; urgency=low * Merge with Debian; remaining changes: -- Matthias Klose Wed, 23 May 2007 13:40:13 +0200 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 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 Mon, 5 Mar 2007 16:26:32 -0700 elilo (3.6-2ubuntu2) edgy; urgency=low * elilo.sh: Set interpreter to /bin/bash, uses bashisms. -- Matthias Klose Fri, 22 Sep 2006 16:11:53 +0000 elilo (3.6-2ubuntu1) edgy; urgency=low * Resynchronise with Debian. -- Colin Watson Mon, 3 Jul 2006 14:57:32 +0100 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 Sat, 1 Apr 2006 22:28:59 -0800 elilo (3.6-1ubuntu5) dapper; urgency=low * Automatically set legacy-free option on ia32 Apple systems. -- Colin Watson Wed, 22 Mar 2006 15:36:23 +0000 elilo (3.6-1ubuntu4) dapper; urgency=low * Bump gnu-efi build-depends in order to really fix the build issues * Fix the length of the string used for fudging Apple framebuffers * First upload to be built on an Apple running Ubuntu -- Matthew Garrett Mon, 20 Mar 2006 00:19:34 +0000 elilo (3.6-1ubuntu3) dapper; urgency=low * Add nasty hacks for Apple systems - switch to text mode on startup, and pass the framebuffer size to the system on boot. -- Matthew Garrett Sat, 18 Mar 2006 16:02:03 +0000 elilo (3.6-1ubuntu2) dapper; urgency=low * Build with -march=i386 on ia32 systems - appears to be needed for Apple hardware * Build-depend on gnu-efi-3.0b-1ubuntu2 in order to avoid problems with newer toolchains -- Matthew Garrett Fri, 17 Mar 2006 20:50:30 +0000 elilo (3.6-1ubuntu1) dapper; urgency=low * Resync with Debian. -- LaMont Jones Wed, 18 Jan 2006 08:40:42 -0700 elilo (3.6-1) unstable; urgency=low * new upstream version -- Bdale Garbee 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 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 Thu, 8 Dec 2005 10:13:58 -0800 elilo (3.4-9ubuntu1) hoary; urgency=low * Perform some Ubuntu branding, put all files in /EFI/ubuntu * Add a modprobe call if efivars facility is not found -- Thibaut VARENE Sun, 16 Jan 2005 13:01:23 +0000 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 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 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 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 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 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 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 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 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 Fri, 29 Aug 2003 11:34:00 -0600 elilo (3.4-1) unstable; urgency=low * new upstream version -- Bdale Garbee 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 30 Jul 2001 10:21:52 -0600 elilo (3.0-3) unstable; urgency=low * make /sbin/elilo executable -- Bdale Garbee 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 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 Tue, 10 Jul 2001 13:20:28 -0600 Local variables: mode: debian-changelog End: debian/compat0000664000000000000000000000000212265250554010374 0ustar 5 debian/sys2ansi.pl0000664000000000000000000000313512265250554011310 0ustar #!/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" ) { # EOF last; } elsif ( $ch eq "\x0C" ) { # Clear screen print "\x1b[2J" if ( $enable && !$getting_file ); } elsif ( $ch eq "\x0F" ) { # 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" ) { # 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" ) { # Carriage return # Ignore } elsif ( $ch eq "\x0A" ) { # Line feed if ( $getting_file ) { $getting_file = 0; } else { print $ch if ( $enable ); } } elsif ( $ch eq "\x01" ) { # Prompt delimiter # Ignore } elsif ( $ch eq "\x02" ) { # Menu delimiter # Ignore } else { print $ch if ( $enable && !$getting_file ); } } debian/elilo.kernel-postinst0000664000000000000000000000021112265250554013357 0ustar #!/bin/sh if [ -e /etc/elilo.conf ]; then elilo &2 else echo >&2 "elilo: Not updating; /etc/elilo.conf not found" fi debian/elilo.initramfs-post-update0000664000000000000000000000047212265250554014466 0ustar #!/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 &2 else echo >&2 "elilo: Not updating; /etc/elilo.conf not found" fi ;; esac debian/elilo.80000664000000000000000000000623612265250554010402 0ustar .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 Ubuntu 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 Ubuntu from the main filesystem to a subdirectory /EFI/ubuntu 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 Ubuntu 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= .br boot= .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 and Bdale Garbee as additions to the .B elilo bootloader package from Stephane Eranian for the Debian GNU/Linux system (but may be used by others). debian/elilo.sh0000664000000000000000000005634212265250554010650 0ustar #! /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/ubuntu occurs with double backslashes in the script too # so change those as well as EFIROOT, if need be. EFIROOT=/EFI/ubuntu 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 ] && ! modprobe -q efivars; 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,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/ubuntu 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/ubuntu 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 "Ubuntu" for b in `efibootmgr | grep "Ubuntu" | 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 "Ubuntu" \ -l \\EFI\\ubuntu\\elilo.efi -u -- elilo -C \\EFI\\ubuntu\\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 debian/elilo.kernel-postrm0000664000000000000000000000020112265250554013017 0ustar #!/bin/sh if [ -e /etc/elilo.conf ]; then # Do not abort kernel removal in case of error elilo &2 || true fi debian/README.elilo0000664000000000000000000001163312265250554011165 0ustar /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 Ubuntu from the main filesystem to a subdirectory /EFI/ubuntu 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 Ubuntu on power up. It is important to note that elilo will recreate the /EFI/ubuntu 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 "Ubuntu". 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= # default /usr/lib/elilo/elilo.efi boot= # /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/ubuntu 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/ubuntu. 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. debian/dirs0000664000000000000000000000013512265250554010061 0ustar etc/initramfs/post-update.d etc/kernel/postinst.d etc/kernel/postrm.d usr/lib/elilo usr/sbin debian/rules0000775000000000000000000000505712265250554010265 0ustar #!/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 debian/patches/0000775000000000000000000000000012265254351010624 5ustar debian/patches/apple.diff0000664000000000000000000002170412265250554012564 0ustar Description: Add nasty hacks for Apple systems Switch to text mode on startup. . Pass the framebuffer size to the system on boot. . Automatically set legacy-free option on ia32 Apple systems. Author: Matthew Garrett Author: Colin Watson Forwarded: no Last-Update: 2011-08-22 Index: b/Make.defaults =================================================================== --- a/Make.defaults +++ b/Make.defaults @@ -69,7 +69,7 @@ OPTIMFLAGS = -O2 DEBUGFLAGS = -Wall -CFLAGS = $(ARCH3264) $(OPTIMFLAGS) -fpic -fshort-wchar $(DEBUGFLAGS) +CFLAGS = $(ARCH3264) $(OPTIMFLAGS) -nostdlib -fpic -fshort-wchar $(DEBUGFLAGS) ASFLAGS = $(ARCH3264) LDFLAGS = -nostdlib -znocombreloc INSTALL = install Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ FILES = elilo.o getopt.o strops.o loader.o \ fileops.o util.o vars.o alloc.o chooser.o \ config.o initrd.o alternate.o bootparams.o \ - gunzip.o console.o fs/fs.o \ + gunzip.o console.o apple.o fs/fs.o \ choosers/choosers.o \ devschemes/devschemes.o \ $(ARCH)/sysdeps.o \ Index: b/apple.c =================================================================== --- /dev/null +++ b/apple.c @@ -0,0 +1,131 @@ +/* + * Copyright (C) 2006 Matthew Garrett + * + * This file is part of the ELILO, the EFI Linux boot loader. + * + * ELILO 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, or (at your option) + * any later version. + * + * ELILO 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 ELILO; see the file COPYING. If not, write to the Free + * Software Foundation, 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Please check out the elilo.txt for complete documentation on how + * to use this program. + */ + +#include +#include + +#include "elilo.h" +#include "graphics.h" + +extern EFI_SYSTEM_TABLE *systab; +extern CHAR16 *apple_fudge_cmdline; + +void * +get_protocol_handler(EFI_GUID protocol) +{ + EFI_HANDLE *handle; + EFI_STATUS status; + UINTN size; + void *interface; + + status = BS->LocateHandle(ByProtocol, &protocol, NULL, &size, NULL); + + if (size==0) { + ERR_PRT((L"Could not locate a device", status)); + return NULL; + } + + if (size>=1000) + size = 1000; + + handle = (EFI_HANDLE *)alloc(size, EfiLoaderData); + + if (handle == NULL) { + ERR_PRT((L"failed to allocate handle table")); + return NULL; + } + + locate: + status = BS->LocateHandle(ByProtocol, &protocol, NULL, &size, handle); + + if (status == EFI_BUFFER_TOO_SMALL) { + handle = (EFI_HANDLE *)alloc(size, EfiLoaderData); + goto locate; + } + + if (status != EFI_SUCCESS) { + ERR_PRT((L"failed to get handles: %r", status)); + ERR_PRT((L"%d",size)); + free(handle); + return NULL; + } + + status = BS->HandleProtocol(handle[0], &protocol, (void **)&interface); + + if (EFI_ERROR(status)) { + ERR_PRT((L"Not able find the interface")); + free (handle); + return NULL; + } + + + + free (handle); + return interface; +} + + +EFI_STATUS +apple_fudge() +{ + EFI_GUID UGAProtocol = UGA_DRAW_PROTOCOL; + EFI_GUID ConsoleProtocol = CONSOLE_CONTROL_PROTOCOL; + EFI_UGA_DRAW_INTERFACE *uga_interface = 0; + EFI_CONSOLE_CONTROL_INTERFACE *console_interface = 0; + EFI_CONSOLE_CONTROL_SCREEN_MODE current_mode; + UINT32 horiz, vert, depth, refresh; + + console_interface = get_protocol_handler(ConsoleProtocol); + + if (console_interface) { + console_interface->GetMode(console_interface, ¤t_mode, NULL, NULL); + + if (current_mode == EfiConsoleControlScreenGraphics) + console_interface->SetMode(console_interface, EfiConsoleControlScreenText); + + free (console_interface); + } else + ERR_PRT((L"Unable to find console interface\n")); + + + uga_interface = get_protocol_handler(UGAProtocol); + + if (uga_interface) { + uga_interface->GetMode(uga_interface, &horiz, &vert, &depth, &refresh); + + free (uga_interface); + } else + ERR_PRT((L"Unable to find UGA interface\n")); + + apple_fudge_cmdline = alloc(76, EfiLoaderData); + + SPrint(apple_fudge_cmdline, 76, L"video=imacfb:height=%d,width=%d", vert, horiz); + +#ifdef CONFIG_ia32 + ia32_set_legacy_free_boot(1); +#endif + + return 0; +} + Index: b/elilo.c =================================================================== --- a/elilo.c +++ b/elilo.c @@ -52,6 +52,8 @@ EFI_SYSTEM_TABLE *systab; /* pointer to EFI system table */ +CHAR16 *apple_fudge_cmdline = 0; + extern INTN wait_timeout (UINTN); /* @@ -242,6 +244,9 @@ do_launch: r =subst_vars(cmdline_tmp, cmdline, CMDLINE_MAXLEN); + if (apple_fudge_cmdline) + SPrint (cmdline, CMDLINE_MAXLEN, L"%s %s", apple_fudge_cmdline, cmdline); + VERB_PRT(3, Print(L"final cmdline(%d): %s\n", r, cmdline)); /* Give user time to see the output before launch */ @@ -738,7 +743,10 @@ ret = EFI_LOAD_ERROR; + /* Is this an Apple? If so, we need to do some fixups */ + if (!StrCmp(systab->FirmwareVendor,L"Apple")) + apple_fudge(); /* set default timeout if going interactive */ if ((elilo_opt.prompt && elilo_opt.timeout == 0)) { Index: b/graphics.h =================================================================== --- /dev/null +++ b/graphics.h @@ -0,0 +1,107 @@ +#ifndef UGA_H +#define UGA_H + +#define UGA_DRAW_PROTOCOL \ +{ 0x982c298b,0xf4fa,0x41cb,{ 0xb8,0x38,0x77,0xaa,0x68,0x8f,0xb8,0x39 } } + +struct _EFI_UGA_DRAW_INTERFACE; + +typedef +EFI_STATUS +(EFIAPI *EFI_UGA_DRAW_PROTOCOL_GET_MODE) ( + IN struct _EFI_UGA_DRAW_INTERFACE *This, + OUT UINT32 *HorizontalResolution, + OUT UINT32 *VerticalResolution, + OUT UINT32 *ColorDepth, + OUT UINT32 *RefreshRate + ); + +typedef +EFI_STATUS +(EFIAPI *EFI_UGA_DRAW_PROTOCOL_SET_MODE) ( + IN struct _EFI_UGA_DRAW_INTERFACE *This, + IN UINT32 HorizontalResolution, + IN UINT32 VerticalResolution, + IN UINT32 ColorDepth, + IN UINT32 RefreshRate + ); + +typedef struct { + UINT8 Blue; + UINT8 Green; + UINT8 Red; + UINT8 Reserved; +} EFI_UGA_PIXEL; +typedef enum { + EfiUgaVideoFill, + EfiUgaVideoToBltBuffer, + EfiUgaBltBufferToVideo, + EfiUgaVideoToVideo, + EfiUgaBltMax +} EFI_UGA_BLT_OPERATION; + +typedef +EFI_STATUS +(EFIAPI *EFI_UGA_DRAW_PROTOCOL_BLT) ( + IN struct _EFI_UGA_DRAW_INTERFACE *This, + IN OUT EFI_UGA_PIXEL *BltBuffer, + IN EFI_UGA_BLT_OPERATION BltOperation, + IN UINTN SourceX, + IN UINTN SourceY, + IN UINTN DestinationX, + IN UINTN DestinationY, + IN UINTN Width, + IN UINTN Height, + IN UINTN Delta + ); + +typedef struct _EFI_UGA_DRAW_INTERFACE { + EFI_UGA_DRAW_PROTOCOL_GET_MODE GetMode; + EFI_UGA_DRAW_PROTOCOL_SET_MODE SetMode; + EFI_UGA_DRAW_PROTOCOL_BLT Blt; +} EFI_UGA_DRAW_INTERFACE; + +/* Console control */ + +#define CONSOLE_CONTROL_PROTOCOL \ + { 0xf42f7782, 0x12e, 0x4c12,{ 0x99, 0x56, 0x49, 0xf9, 0x43, 0x4, 0xf7, 0x21} } + +struct _EFI_CONSOLE_CONTROL_INTERFACE; + +typedef enum { + EfiConsoleControlScreenText, + EfiConsoleControlScreenGraphics, + EfiConsoleControlScreenMaxValue +} EFI_CONSOLE_CONTROL_SCREEN_MODE; + +typedef +EFI_STATUS +(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE) ( + IN struct _EFI_CONSOLE_CONTROL_INTERFACE *This, + OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *Mode, + OUT BOOLEAN *UgaExists, + OUT BOOLEAN *StdInLocked + ); + +typedef +EFI_STATUS +(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE) ( + IN struct _EFI_CONSOLE_CONTROL_INTERFACE *This, + OUT EFI_CONSOLE_CONTROL_SCREEN_MODE Mode + ); + +typedef +EFI_STATUS +(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN) ( + IN struct _EFI_CONSOLE_CONTROL_INTERFACE *This, + IN CHAR16 *Password + ); + +typedef struct _EFI_CONSOLE_CONTROL_INTERFACE { + EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE GetMode; + EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE SetMode; + EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN LockStdIn; +} EFI_CONSOLE_CONTROL_INTERFACE; + + +#endif /* UGA_H */ Index: b/ia32/config.c =================================================================== --- a/ia32/config.c +++ b/ia32/config.c @@ -82,6 +82,12 @@ return ia32_gconf.legacy_free_boot ? 1 : 0; } +VOID +ia32_set_legacy_free_boot(INTN legacy_free) +{ + ia32_gconf.legacy_free_boot = legacy_free; +} + INTN sysdeps_register_options(VOID) { Index: b/ia32/sysdeps.h =================================================================== --- a/ia32/sysdeps.h +++ b/ia32/sysdeps.h @@ -359,6 +359,7 @@ extern UINTN rmswitch_size; extern INTN ia32_use_legacy_free_boot(); +extern VOID ia32_set_legacy_free_boot(INTN); /* * How to jump to kernel code debian/patches/cross-build.diff0000664000000000000000000001272212265250554013711 0ustar diff --git a/Makefile b/Makefile index f0efebd..9d82cbf 100644 --- a/Makefile +++ b/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 diff --git a/choosers/Makefile b/choosers/Makefile index 9915f48..85d31c7 100644 --- a/choosers/Makefile +++ b/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= @@ -47,7 +52,8 @@ $(TARGET): $(TOPDIR)/Make.defaults $(FILES) echo "You need to define at least one chooser in Make.defaults"; \ exit 1; \ fi - $(LD) -o $@ -r $(FILES) + $(LD) $(LD3264) -o $@ -r $(FILES) + clean: $(RM) -f $(TARGET) $(FILES) diff --git a/devschemes/Makefile b/devschemes/Makefile index 6ac05af..5328cb1 100644 --- a/devschemes/Makefile +++ b/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) diff --git a/fs/Makefile b/fs/Makefile index 8e422b2..0bb303f 100644 --- a/fs/Makefile +++ b/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) @@ -59,7 +64,7 @@ $(TARGET): $(TOPDIR)/Make.defaults $(FILES) echo "You need to define at least one filesystem in Make.defaults"; \ exit 1; \ fi - $(LD) -r -o $@ $(FILES) + $(LD) $(LD3264) -r -o $@ $(FILES) clean: $(RM) -f $(TARGET) $(FILES) diff --git a/ia32/Makefile b/ia32/Makefile index 353ae67..c5f421b 100644 --- a/ia32/Makefile +++ b/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.h $(TARGET): $(FILES) - $(LD) -r -o $@ $(FILES) + $(LD) $(LD3264) -r -o $@ $(FILES) clean: $(RM) -f $(TARGET) $(FILES) diff --git a/ia64/Makefile b/ia64/Makefile index a243d0f..bee0a2b 100644 --- a/ia64/Makefile +++ b/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 diff --git a/tools/Makefile b/tools/Makefile index 8858224..97083d7 100644 --- a/tools/Makefile +++ b/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 diff --git a/x86_64/Makefile b/x86_64/Makefile index 4af4b8d..7ade312 100644 --- a/x86_64/Makefile +++ b/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.h $(TARGET): $(FILES) - $(LD) -r -o $@ $(FILES) + $(LD) $(LD3264) -r -o $@ $(FILES) clean: $(RM) -f $(TARGET) $(FILES) debian/patches/fix-paths.diff0000664000000000000000000000313312265250554013362 0ustar --- 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-stack-protector -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'.') debian/patches/series0000664000000000000000000000005312265250554012040 0ustar fix-paths.diff apple.diff cross-build.diff debian/control0000664000000000000000000000135712265250554010607 0ustar Source: elilo Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian QA Group 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. debian/docs0000664000000000000000000000007212265250554010050 0ustar README README.gnu-efi TODO docs/*.txt debian/README.elilo debian/gbp.conf0000664000000000000000000000231712265250554010620 0ustar # 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 debian/postinst0000664000000000000000000000167112265250554011011 0ustar #!/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 debian/elilo.templates0000664000000000000000000000205512265250554012224 0ustar 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. debian/po/0000775000000000000000000000000012265254353007615 5ustar debian/po/ja.po0000664000000000000000000000705012265250554010550 0ustar # 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 \n" "Language-Team: Japanese \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 パーティションの内容に手で加えた変更を保存する必要がなけれ" "ば、この更新は自動的に行ってかまいません。" debian/po/templates.pot0000664000000000000000000000404212265250554012336 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../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 "" debian/po/ta.po0000664000000000000000000001055012265250554010561 0ustar # 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 , 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 \n" "Language-Team: TAMIL \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 "" "அனேகமாக ஈஎப்ஃஐ பகிர்வில் உள்ள தரவு பாதுகாக்கப் பட தேவையில்லாவிடில் இந்த இற்றைப் படுத்தல் " "தானியங்கியாக செய்யப் படலாம்." debian/po/nl.po0000664000000000000000000000631512265250554010572 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # 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 \n" "Language-Team: debian-l10n-dutch \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." debian/po/pt_BR.po0000664000000000000000000000627312265250554011172 0ustar # 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) , 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) \n" "Language-Team: l10n portuguese \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." debian/po/pl.po0000664000000000000000000000632412265250554010574 0ustar # Copyright (C) 2007 # This file is distributed under the same license as the elilo package. # # Michał Kułach , 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 \n" "Language-Team: Polish \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." debian/po/da.po0000664000000000000000000000602512265250554010543 0ustar # 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 \n" "Language-Team: Danish \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." debian/po/cs.po0000664000000000000000000000605012265250554010562 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # 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 \n" "Language-Team: Czech \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." debian/po/ru.po0000664000000000000000000000746012265250554010611 0ustar # 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 , 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 \n" "Language-Team: Russian \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, это обновление можно выполнить автоматически." debian/po/fr.po0000664000000000000000000000644612265250554010575 0ustar # 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 , 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 \n" "Language-Team: French \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." debian/po/ro.po0000664000000000000000000000663312265250554010604 0ustar # 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 , 2007. # Eddy Petrișor , 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 \n" "Language-Team: Romanian \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." debian/po/es.po0000664000000000000000000001041712265250554010566 0ustar # 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. # # - Last revision: # Fernando González de Requena , 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 () # 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 \n" "Language-Team: Spanish , 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 \n" "Language-Team: Swedish \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." debian/po/POTFILES.in0000664000000000000000000000005212265250554011366 0ustar [type: gettext/rfc822deb] elilo.templates debian/po/pt.po0000664000000000000000000000624112265250554010602 0ustar # 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 , 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 \n" "Language-Team: Portuguese \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." debian/po/de.po0000664000000000000000000000626112265250554010551 0ustar # Translation of elilo debconf templates to German # Copyright (C) Helge Kreutzmann , 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 \n" "Language-Team: German \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 ausfhren?" #. 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 auszufhren, 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 mglicherweise 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, knnte Ihr System nicht mehr starten. Statt der automatischen " "Aktualisierung der Partition knnen Sie auch selbst /usr/sbin/elilo " "ausfhren 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 gendert. Der EFI-Bootmanager-Eintrag fr Debian " "muss aktualisiert werden, um diese nderungen zu bercksichtigen." #. 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 Fllen, falls keine manuellen nderungen am Inhalt der EFI-" "Partition erhalten bleiben mssen, kann dies von dieser Aktualisierung " "automatisch durchgefhrt werden." debian/po/it.po0000664000000000000000000000630512265250554010574 0ustar # 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 , 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 \n" "Language-Team: Italian \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." debian/po/gl.po0000664000000000000000000000610612265250554010561 0ustar # Galician translation of elilo's debconf templates # This file is distributed under the same license as the elilo package. # Jacobo Tarrio , 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 \n" "Language-Team: Galician \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." debian/copyright0000664000000000000000000000127712265250554011140 0ustar This package was debianized by Bdale Garbee using sources obtained from http://elilo.sourceforge.net/ Copyright: Copyright (C) 1999-2003 Hewlett-Packard Co. Contributed by David Mosberger . Contributed by Stephane Eranian Copyright (C) 1999-2000 VA Linux Systems Contributed by Johannes Erdfelt . Copyright (C) 2001 Silicon Graphics, Inc. Contributed by Brent Casavant 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. debian/source/0000775000000000000000000000000012265254351010475 5ustar debian/source/format0000664000000000000000000000001412265250554011704 0ustar 3.0 (quilt) debian/elilo.config0000664000000000000000000000031312265250554011466 0ustar #!/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 debian/eliloalt.80000664000000000000000000000104612265250554011075 0ustar .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 for the Debian GNU/Linux system (but may be used by others).