platform/upstream/gummiboot.git
11 years agoversion 24 24
Kay Sievers [Tue, 26 Feb 2013 16:55:13 +0000 (17:55 +0100)]
version 24

11 years agosetup: install - write machine-id to default pattern
Kay Sievers [Tue, 26 Feb 2013 14:27:22 +0000 (15:27 +0100)]
setup: install - write machine-id to default pattern

11 years agodelete loader-postinst.sh
Kay Sievers [Tue, 26 Feb 2013 13:40:56 +0000 (14:40 +0100)]
delete loader-postinst.sh

11 years agosetup: skip EFI variable setup when secure boot is active
Kay Sievers [Thu, 21 Feb 2013 15:21:45 +0000 (16:21 +0100)]
setup: skip EFI variable setup when secure boot is active

11 years agoefi: fail build with unresolved symbols
Kay Sievers [Thu, 21 Feb 2013 01:46:54 +0000 (02:46 +0100)]
efi: fail build with unresolved symbols

11 years agochange blkid linker flag location in build string
malcolmlewis [Wed, 20 Feb 2013 03:15:02 +0000 (21:15 -0600)]
change blkid linker flag location in build string

11 years agoversion 23 23
Kay Sievers [Wed, 20 Feb 2013 00:55:44 +0000 (01:55 +0100)]
version 23

11 years agosetup: add "status" to help text
Kay Sievers [Wed, 20 Feb 2013 00:53:02 +0000 (01:53 +0100)]
setup: add "status" to help text

11 years agosetup: replace [ENABLED] by splitting output into two lists
Kay Sievers [Tue, 19 Feb 2013 21:39:13 +0000 (22:39 +0100)]
setup: replace [ENABLED] by splitting output into two lists

11 years agosetup: man - update
Kay Sievers [Tue, 19 Feb 2013 19:38:19 +0000 (20:38 +0100)]
setup: man - update

11 years agosetup: use fewer uppercase words in printed text
Kay Sievers [Tue, 19 Feb 2013 19:14:12 +0000 (20:14 +0100)]
setup: use fewer uppercase words in printed text

11 years agosetup: rename "force" to "first"
Kay Sievers [Tue, 19 Feb 2013 20:05:20 +0000 (21:05 +0100)]
setup: rename "force" to "first"

11 years agosetup: at "install", always move our boot entry to first slot in the order
Kay Sievers [Tue, 19 Feb 2013 19:41:13 +0000 (20:41 +0100)]
setup: at "install", always move our boot entry to first slot in the order

11 years agoman: fix typo
Kay Sievers [Tue, 19 Feb 2013 04:20:07 +0000 (05:20 +0100)]
man: fix typo

11 years agoupdate loader-postinst.sh
Kay Sievers [Tue, 19 Feb 2013 04:11:23 +0000 (05:11 +0100)]
update loader-postinst.sh

11 years agoversion 22 22
Kay Sievers [Tue, 19 Feb 2013 02:24:37 +0000 (03:24 +0100)]
version 22

11 years agosetup: add gummiboot(1) man page
Kay Sievers [Tue, 19 Feb 2013 01:46:02 +0000 (02:46 +0100)]
setup: add gummiboot(1) man page

11 years agosetup: remove TODO
Kay Sievers [Tue, 19 Feb 2013 00:29:25 +0000 (01:29 +0100)]
setup: remove TODO

11 years agosetup: use %m when possible, simplify a couple of strerror() uses
Kay Sievers [Mon, 18 Feb 2013 22:29:15 +0000 (23:29 +0100)]
setup: use %m when possible, simplify a couple of strerror() uses

11 years agoversion 21 21
Kay Sievers [Mon, 18 Feb 2013 22:06:39 +0000 (23:06 +0100)]
version 21

11 years agosetup: create /boot/loader/loader.conf at "install"
Kay Sievers [Mon, 18 Feb 2013 22:02:07 +0000 (23:02 +0100)]
setup: create /boot/loader/loader.conf at "install"

11 years agosetup: improve error message when "efivarfs" is not available
Kay Sievers [Mon, 18 Feb 2013 21:25:48 +0000 (22:25 +0100)]
setup: improve error message when "efivarfs" is not available

11 years agosetup: do not install variables if "update" did not install files
Kay Sievers [Mon, 18 Feb 2013 19:51:50 +0000 (20:51 +0100)]
setup: do not install variables if "update" did not install files

11 years agoversion 20 20
Kay Sievers [Mon, 18 Feb 2013 14:05:45 +0000 (15:05 +0100)]
version 20

11 years agosetup: fix "no boot entries found"
Kay Sievers [Mon, 18 Feb 2013 02:16:15 +0000 (03:16 +0100)]
setup: fix "no boot entries found"

11 years agosetup: break up lines for status output
Kay Sievers [Mon, 18 Feb 2013 01:53:13 +0000 (02:53 +0100)]
setup: break up lines for status output

11 years agosetup: show "n/a" for empty boot option labels
Kay Sievers [Mon, 18 Feb 2013 01:43:34 +0000 (02:43 +0100)]
setup: show "n/a" for empty boot option labels

11 years agoactually use minutes not seconds for EFI watchdog
Kay Sievers [Sun, 17 Feb 2013 21:04:08 +0000 (22:04 +0100)]
actually use minutes not seconds for EFI watchdog

11 years agoenable/disable EFI watchdog
Kay Sievers [Sun, 17 Feb 2013 21:02:30 +0000 (22:02 +0100)]
enable/disable EFI watchdog

11 years agofix "make test"
Kay Sievers [Sun, 17 Feb 2013 21:02:10 +0000 (22:02 +0100)]
fix "make test"

11 years agosetup: get_file_version() simplify logic
Kay Sievers [Sun, 17 Feb 2013 01:52:22 +0000 (02:52 +0100)]
setup: get_file_version() simplify logic

11 years agosetup: use mmap() and memmem() to search for LoaderInfo
Kay Sievers [Sat, 16 Feb 2013 17:38:17 +0000 (18:38 +0100)]
setup: use mmap() and memmem() to search for LoaderInfo

11 years agosetup: efivars - remove boot option variable at remove
Kay Sievers [Sat, 16 Feb 2013 16:25:19 +0000 (17:25 +0100)]
setup: efivars - remove boot option variable at remove

11 years agosetup: efivars - add boot option and boot order at install
Kay Sievers [Thu, 14 Feb 2013 17:26:30 +0000 (18:26 +0100)]
setup: efivars - add boot option and boot order at install

11 years agosetup: remove debug printf
Kay Sievers [Thu, 14 Feb 2013 14:22:54 +0000 (15:22 +0100)]
setup: remove debug printf

11 years agosetup: efivars - update BootOrder
Kay Sievers [Thu, 14 Feb 2013 14:02:27 +0000 (15:02 +0100)]
setup: efivars - update BootOrder

11 years agosetup: efivars - update or insert BootXXXX record
Kay Sievers [Thu, 14 Feb 2013 13:13:29 +0000 (14:13 +0100)]
setup: efivars - update or insert BootXXXX record

11 years agosetup: efivars - compose BootXXXX record
Kay Sievers [Thu, 14 Feb 2013 03:25:11 +0000 (04:25 +0100)]
setup: efivars - compose BootXXXX record

11 years agosetup: make sure to only read 4 uppercase hex BootXXXX options
Kay Sievers [Wed, 13 Feb 2013 16:03:22 +0000 (17:03 +0100)]
setup: make sure to only read 4 uppercase hex BootXXXX options

11 years agosetup: efi_get_boot_options() read values as hex
Kay Sievers [Wed, 13 Feb 2013 14:40:39 +0000 (15:40 +0100)]
setup: efi_get_boot_options() read values as hex

11 years agosetup: fix qsort() call
Kay Sievers [Wed, 13 Feb 2013 14:00:39 +0000 (15:00 +0100)]
setup: fix qsort() call

11 years agoadd missing closedir()
Kay Sievers [Wed, 13 Feb 2013 13:57:58 +0000 (14:57 +0100)]
add missing closedir()

11 years agofix a bunch of memory leaks
Kay Sievers [Wed, 13 Feb 2013 13:56:17 +0000 (14:56 +0100)]
fix a bunch of memory leaks

11 years agosetup: make gummiboot --help work as non-root
Kay Sievers [Wed, 13 Feb 2013 13:25:54 +0000 (14:25 +0100)]
setup: make gummiboot --help work as non-root

11 years agoMakefile: make clean
Kay Sievers [Wed, 13 Feb 2013 13:23:23 +0000 (14:23 +0100)]
Makefile: make clean

11 years agosetup: turn primary options into "verbs"
Kay Sievers [Wed, 13 Feb 2013 02:18:14 +0000 (03:18 +0100)]
setup: turn primary options into "verbs"

11 years agomove sources to subdirectories
Kay Sievers [Wed, 13 Feb 2013 01:21:22 +0000 (02:21 +0100)]
move sources to subdirectories

11 years agosetup: show EFI variable status in installer, too
Lennart Poettering [Tue, 12 Feb 2013 22:07:05 +0000 (23:07 +0100)]
setup: show EFI variable status in installer, too

11 years agosetup: print --path suggestion only if the user didn't use --path
Lennart Poettering [Tue, 12 Feb 2013 19:57:51 +0000 (20:57 +0100)]
setup: print --path suggestion only if the user didn't use --path

11 years agosetup: print a nicer warning if people didn't specify the right --path
Lennart Poettering [Tue, 12 Feb 2013 19:56:49 +0000 (20:56 +0100)]
setup: print a nicer warning if people didn't specify the right --path

11 years agosetup: suppress misleading error if we try to update gummiboot when it isn't installed
Lennart Poettering [Tue, 12 Feb 2013 19:49:06 +0000 (20:49 +0100)]
setup: suppress misleading error if we try to update gummiboot when it isn't installed

11 years agosetup: implement --remove
Lennart Poettering [Tue, 12 Feb 2013 19:43:06 +0000 (20:43 +0100)]
setup: implement --remove

11 years agosetup: rename gummiboot-setup to just gummiboot, no need to have more then one verb...
Lennart Poettering [Tue, 12 Feb 2013 18:35:51 +0000 (19:35 +0100)]
setup: rename gummiboot-setup to just gummiboot, no need to have more then one verb per command line

11 years agosetup: flush file to disk, before updating its timestamps
Lennart Poettering [Tue, 12 Feb 2013 18:04:47 +0000 (19:04 +0100)]
setup: flush file to disk, before updating its timestamps

11 years agoadd copyright header
Kay Sievers [Tue, 12 Feb 2013 15:34:39 +0000 (16:34 +0100)]
add copyright header

11 years agoMakefile: add gummiboot-setup to 'install'
Kay Sievers [Tue, 12 Feb 2013 15:28:28 +0000 (16:28 +0100)]
Makefile: add gummiboot-setup to 'install'

11 years agosetup: add basic installer/updater tool
Lennart Poettering [Tue, 12 Feb 2013 05:33:29 +0000 (06:33 +0100)]
setup: add basic installer/updater tool

11 years agoversion 19 19
Kay Sievers [Mon, 11 Feb 2013 02:38:31 +0000 (03:38 +0100)]
version 19

11 years agoexport executed image path to the running OS
Kay Sievers [Fri, 8 Feb 2013 14:37:26 +0000 (15:37 +0100)]
export executed image path to the running OS

11 years agoexport firmware environment data to show in the running OS
Kay Sievers [Fri, 8 Feb 2013 14:07:46 +0000 (15:07 +0100)]
export firmware environment data to show in the running OS

11 years agoversion 18 18
Kay Sievers [Fri, 8 Feb 2013 02:22:40 +0000 (03:22 +0100)]
version 18

11 years agofix 32-bit non-booting issue
Daniel Leung [Thu, 7 Feb 2013 23:08:33 +0000 (15:08 -0800)]
fix 32-bit non-booting issue

The GCC linker is sensitive to the order of objects specified in
its input. The resulting gummitboot binary cannot be booted on
system with 32-bit UEFI BIOS. This issue is seen on both GCC
4.6.2 and 4.7.3, with binutils 2.23.1.

This changes the libgcc.a to be specified at the end when linking.

11 years agodo not use unicode chars in console mode, some firmware has only ASCII fonts
Kay Sievers [Wed, 6 Feb 2013 20:21:04 +0000 (21:21 +0100)]
do not use unicode chars in console mode, some firmware has only ASCII fonts

11 years agoMakefile: move dependencies for test image
Kay Sievers [Wed, 6 Feb 2013 20:05:29 +0000 (21:05 +0100)]
Makefile: move dependencies for test image

11 years agocreate simple disk image for 'make test'
root [Wed, 6 Feb 2013 12:42:18 +0000 (13:42 +0100)]
create simple disk image for 'make test'

11 years agoinclude "machine type short-name" in the filename, like gummibootx64.efi, gummibootia...
Kay Sievers [Wed, 6 Feb 2013 00:18:05 +0000 (01:18 +0100)]
include "machine type short-name" in the filename, like gummibootx64.efi, gummibootia32.efi

11 years agoversion 17 17
Kay Sievers [Sun, 3 Feb 2013 18:03:33 +0000 (19:03 +0100)]
version 17

11 years agouse correct variable in str_verscmp()
Kay Sievers [Sun, 3 Feb 2013 17:51:37 +0000 (18:51 +0100)]
use correct variable in str_verscmp()

11 years agodraw menu at the center of the screen
Kay Sievers [Sun, 3 Feb 2013 17:08:40 +0000 (18:08 +0100)]
draw menu at the center of the screen

11 years agoversion 16 16
Kay Sievers [Thu, 24 Jan 2013 09:20:58 +0000 (10:20 +0100)]
version 16

11 years agouse "USec" instead of "Usec"
Kay Sievers [Thu, 24 Jan 2013 08:59:01 +0000 (09:59 +0100)]
use "USec" instead of "Usec"

11 years agoadd web link to the CPU documentation
Kay Sievers [Wed, 23 Jan 2013 02:35:37 +0000 (03:35 +0100)]
add web link to the CPU documentation

11 years agoversion 15 15
Kay Sievers [Wed, 23 Jan 2013 01:22:47 +0000 (02:22 +0100)]
version 15

11 years agoexport proper microseconds instead of "ticks"
Kay Sievers [Wed, 23 Jan 2013 00:53:24 +0000 (01:53 +0100)]
export proper microseconds instead of "ticks"

11 years agoversion 14 14
Kay Sievers [Tue, 22 Jan 2013 13:19:57 +0000 (14:19 +0100)]
version 14

11 years agoinclude magic string to find version number in the binary
Kay Sievers [Tue, 22 Jan 2013 03:22:39 +0000 (04:22 +0100)]
include magic string to find version number in the binary

11 years agodump: suppress output for unset value
Kay Sievers [Tue, 22 Jan 2013 03:22:10 +0000 (04:22 +0100)]
dump: suppress output for unset value

11 years agouse gcc's -Wextra
Kay Sievers [Tue, 22 Jan 2013 03:19:15 +0000 (04:19 +0100)]
use gcc's -Wextra

11 years agoversion 13 13
Kay Sievers [Mon, 21 Jan 2013 23:55:24 +0000 (00:55 +0100)]
version 13

11 years agouse git archive
Kay Sievers [Mon, 21 Jan 2013 23:55:00 +0000 (00:55 +0100)]
use git archive

11 years agoexport automatically added entries in an EFI variable
Kay Sievers [Mon, 21 Jan 2013 23:22:21 +0000 (00:22 +0100)]
export automatically added entries in an EFI variable

11 years agoskip check if entry->machine_id is not set
Kay Sievers [Mon, 21 Jan 2013 21:22:38 +0000 (22:22 +0100)]
skip check if entry->machine_id is not set

11 years agoversion 12 12
Kay Sievers [Mon, 21 Jan 2013 20:53:09 +0000 (21:53 +0100)]
version 12

11 years agorecognize LoaderEntryOptions{,OneShot}-$machine-id EFI variables
Kay Sievers [Mon, 21 Jan 2013 20:41:45 +0000 (21:41 +0100)]
recognize LoaderEntryOptions{,OneShot}-$machine-id EFI variables

11 years agoturn "title-machine" and "title-version" into proper "machine-id" and "version"
Kay Sievers [Mon, 21 Jan 2013 20:40:19 +0000 (21:40 +0100)]
turn "title-machine" and "title-version" into proper "machine-id" and "version"

11 years agoTODO update
Kay Sievers [Mon, 21 Jan 2013 20:39:17 +0000 (21:39 +0100)]
TODO update

11 years agoadd missing break;
Kay Sievers [Sat, 19 Jan 2013 20:31:45 +0000 (21:31 +0100)]
add missing break;

11 years agoversion 11 11
Kay Sievers [Sat, 19 Jan 2013 20:22:12 +0000 (21:22 +0100)]
version 11

11 years agoexport LoaderDevicePartUUID=
Kay Sievers [Sat, 19 Jan 2013 19:27:31 +0000 (20:27 +0100)]
export LoaderDevicePartUUID=

11 years agoversion 10 10
Kay Sievers [Thu, 17 Jan 2013 06:26:43 +0000 (07:26 +0100)]
version 10

11 years agoversion 9 9
Kay Sievers [Thu, 6 Dec 2012 14:47:24 +0000 (15:47 +0100)]
version 9

11 years agosecure boot: signal security error back to the caller
James Bottomley [Thu, 6 Dec 2012 11:37:13 +0000 (11:37 +0000)]
secure boot: signal security error back to the caller

I needed a modification to gummiboot: it has to signal back to the
calling program that it had a security error so that the original loader
can ask the user to enrol the hash of the kernel for booting.

11 years agoversion 8 8
Kay Sievers [Wed, 31 Oct 2012 11:54:13 +0000 (12:54 +0100)]
version 8

11 years agoproperly skip empty lines in config files
Kay Sievers [Wed, 31 Oct 2012 11:53:22 +0000 (12:53 +0100)]
properly skip empty lines in config files

11 years agodo not count backwards with for (;;) and unsigned, it does not stop
Kay Sievers [Tue, 30 Oct 2012 22:39:54 +0000 (23:39 +0100)]
do not count backwards with for (;;) and unsigned, it does not stop

11 years agoenable signed/unsigned warnings
Kay Sievers [Tue, 30 Oct 2012 22:39:35 +0000 (23:39 +0100)]
enable signed/unsigned warnings

11 years agoadd missing = NULL initializers
Kay Sievers [Tue, 30 Oct 2012 11:52:43 +0000 (12:52 +0100)]
add missing = NULL initializers

11 years agoversion 7 7
Kay Sievers [Fri, 12 Oct 2012 11:18:27 +0000 (13:18 +0200)]
version 7

11 years agofix memory leaks
Felipe Contreras [Thu, 11 Oct 2012 23:55:47 +0000 (01:55 +0200)]
fix memory leaks

11 years agostandardize error checks
Felipe Contreras [Thu, 11 Oct 2012 23:55:46 +0000 (01:55 +0200)]
standardize error checks