platform/upstream/gummiboot.git
11 years agosetup: status - Flags: --> Status:
Kay Sievers [Thu, 28 Mar 2013 20:55:01 +0000 (21:55 +0100)]
setup: status - Flags: --> Status:

11 years agosetup: show - print missing /
Kay Sievers [Thu, 28 Mar 2013 18:09:21 +0000 (19:09 +0100)]
setup: show - print missing /

11 years agosetup: status - do not print values from current boot
Kay Sievers [Thu, 28 Mar 2013 18:05:53 +0000 (19:05 +0100)]
setup: status - do not print values from current boot

11 years agomove _GNU_SOURCE to AM_CFLAGS
Kay Sievers [Thu, 28 Mar 2013 12:56:06 +0000 (13:56 +0100)]
move _GNU_SOURCE to AM_CFLAGS

11 years agosetup: status - ESP --> Partition
Kay Sievers [Thu, 28 Mar 2013 10:38:36 +0000 (11:38 +0100)]
setup: status - ESP --> Partition

11 years agosetup: status - re-order ESP and loader files printing
Kay Sievers [Thu, 28 Mar 2013 03:42:08 +0000 (04:42 +0100)]
setup: status - re-order ESP and loader files printing

11 years agosetup: status - prefix list of loaders
Kay Sievers [Wed, 27 Mar 2013 02:47:47 +0000 (03:47 +0100)]
setup: status - prefix list of loaders

11 years agoversion 29 29
Kay Sievers [Sat, 23 Mar 2013 22:36:30 +0000 (23:36 +0100)]
version 29

11 years agocheck ReadKeyStroke() for EFI_SUCCESS
Kay Sievers [Sat, 23 Mar 2013 17:58:24 +0000 (18:58 +0100)]
check ReadKeyStroke() for EFI_SUCCESS

"If a PC using gummiboot is booted without a keyboard plugged in (i.e. such
as on a server), instead of following the options specified in loader.conf,
it brings up the gummiboot menu without a time-out (whether one is used or
not)."

https://bugs.archlinux.org/task/34431

11 years agoremember LoaderEntryOneShot value for dump
Kay Sievers [Thu, 21 Mar 2013 14:56:31 +0000 (15:56 +0100)]
remember LoaderEntryOneShot value for dump

<derRichard> kay: btw: in dump_status() you print LoaderEntryOneShot, but config_default_entry_select() is called before that and deletes the var...
<kay> derRichard: oh :)

11 years agosetup: print only boot loader entries with an actual loader binary
Kay Sievers [Wed, 20 Mar 2013 02:07:02 +0000 (03:07 +0100)]
setup: print only boot loader entries with an actual loader binary

11 years agosetup: do not stop printing options if BootOrder cannot be read
Kay Sievers [Mon, 18 Mar 2013 13:53:34 +0000 (14:53 +0100)]
setup: do not stop printing options if BootOrder cannot be read

11 years agoRevert "build-sys: check for docbook xsl-stylesheets"
Kay Sievers [Sat, 16 Mar 2013 18:22:41 +0000 (19:22 +0100)]
Revert "build-sys: check for docbook xsl-stylesheets"

Distributions seem to differ greatly where they put the needed
docbook stuff. Go back just using only xsltproc as the automatic
indicator to build man pages. Setups with xsltproc but without
the needed docbook stuff will need to disable the man page
creation manually.

This reverts commit 2423a1e43e6913bf219634576b2bfe55d5289fab.

11 years agoversion 28 28
Kay Sievers [Sat, 16 Mar 2013 17:58:43 +0000 (18:58 +0100)]
version 28

11 years agosetup: if all BootXXXX are used, find the next slot behind, don't overwrite Boot0000
Kay Sievers [Sat, 16 Mar 2013 17:41:06 +0000 (18:41 +0100)]
setup: if all BootXXXX are used, find the next slot behind, don't overwrite Boot0000

https://bbs.archlinux.org/viewtopic.php?pid=1242470#p1242470

11 years agoversion 2 27
Kay Sievers [Sat, 16 Mar 2013 16:20:07 +0000 (17:20 +0100)]
version 2

11 years agobuild-sys: check for docbook xsl-stylesheets
Karel Zak [Mon, 11 Mar 2013 09:10:54 +0000 (10:10 +0100)]
build-sys: check for docbook xsl-stylesheets

Reported-by: C Hanish Menon <hanishkvc@gmail.com>
11 years agosetup: Loader -> Binary
Kay Sievers [Sun, 10 Mar 2013 22:35:47 +0000 (23:35 +0100)]
setup: Loader -> Binary

11 years agosetup: print partition for disk entries
Kay Sievers [Sun, 10 Mar 2013 22:30:10 +0000 (23:30 +0100)]
setup: print partition for disk entries

11 years agosetup: use flag variable
Kay Sievers [Sun, 10 Mar 2013 21:37:52 +0000 (22:37 +0100)]
setup: use flag variable

11 years agosetup: make fuction static
Kay Sievers [Sun, 10 Mar 2013 21:34:04 +0000 (22:34 +0100)]
setup: make fuction static

11 years agodistinguish "setup" and "user" mode
Kay Sievers [Sun, 10 Mar 2013 19:49:02 +0000 (20:49 +0100)]
distinguish "setup" and "user" mode

11 years agoprint secure boot flags
Kay Sievers [Sun, 10 Mar 2013 19:37:19 +0000 (20:37 +0100)]
print secure boot flags

11 years agosetup: tilt slashes
Kay Sievers [Sun, 10 Mar 2013 19:23:59 +0000 (20:23 +0100)]
setup: tilt slashes

11 years agosetup: name fields in "status" output
Kay Sievers [Sun, 10 Mar 2013 18:37:13 +0000 (19:37 +0100)]
setup: name fields in "status" output

11 years agobuild-sys: move man page to man/
Kay Sievers [Sun, 10 Mar 2013 17:25:31 +0000 (18:25 +0100)]
build-sys: move man page to man/

11 years agobuild-sys make man pages optional
Kay Sievers [Sat, 9 Mar 2013 19:31:39 +0000 (20:31 +0100)]
build-sys make man pages optional

11 years agobuild-sys: only use $prefix
Kay Sievers [Sat, 9 Mar 2013 19:19:56 +0000 (20:19 +0100)]
build-sys: only use $prefix

11 years agosetup: use gummibootlibdir
Marc-Antoine Perennou [Sat, 9 Mar 2013 18:19:57 +0000 (19:19 +0100)]
setup: use gummibootlibdir

11 years agoReadKeyStroke() in dump()
Kay Sievers [Fri, 8 Mar 2013 20:45:48 +0000 (21:45 +0100)]
ReadKeyStroke() in dump()

11 years agoversion 26 26
Kay Sievers [Fri, 8 Mar 2013 19:19:12 +0000 (20:19 +0100)]
version 26

11 years agosetup: fix is_secure_boot()
Kay Sievers [Fri, 8 Mar 2013 19:04:00 +0000 (20:04 +0100)]
setup: fix is_secure_boot()

11 years agosetup: return proper error code from variable_set()
Kay Sievers [Fri, 8 Mar 2013 18:44:35 +0000 (19:44 +0100)]
setup: return proper error code from variable_set()

11 years agosetup: fix same_entry() for entries without a device path
Kay Sievers [Fri, 8 Mar 2013 18:38:51 +0000 (19:38 +0100)]
setup: fix same_entry() for entries without a device path

11 years agosetup: fix error parameter
Kay Sievers [Fri, 8 Mar 2013 17:07:45 +0000 (18:07 +0100)]
setup: fix error parameter

11 years agobuild-sys: enable common warnings
Kay Sievers [Fri, 8 Mar 2013 17:07:31 +0000 (18:07 +0100)]
build-sys: enable common warnings

11 years agoversion 25 25
Kay Sievers [Fri, 8 Mar 2013 16:29:57 +0000 (17:29 +0100)]
version 25

11 years agobuild-sys: use $XSLTPROC and enforce "unresolved symbols" check
Kay Sievers [Fri, 8 Mar 2013 16:29:08 +0000 (17:29 +0100)]
build-sys: use $XSLTPROC and enforce "unresolved symbols" check

11 years agopass 64 bit int to uefi_call_wrapper() when needed
Kay Sievers [Fri, 8 Mar 2013 15:28:10 +0000 (16:28 +0100)]
pass 64 bit int to uefi_call_wrapper() when needed

11 years agosetup: do not stop printing all boot entries, if the boot order has non-existing...
Kay Sievers [Wed, 6 Mar 2013 20:46:43 +0000 (21:46 +0100)]
setup: do not stop printing all boot entries, if the boot order has non-existing ones

11 years agoenable the menu if no boot entry config snippet was found
Kay Sievers [Wed, 6 Mar 2013 20:43:02 +0000 (21:43 +0100)]
enable the menu if no boot entry config snippet was found

11 years agoif no entries are found, select the first one not the last one of the auto-* entries
Kay Sievers [Wed, 6 Mar 2013 19:31:10 +0000 (20:31 +0100)]
if no entries are found, select the first one not the last one of the auto-* entries

11 years agosetup: install - always add entry to the boot order list
Kay Sievers [Mon, 4 Mar 2013 23:30:45 +0000 (00:30 +0100)]
setup: install - always add entry to the boot order list

11 years agodo not print NULL values in "dump"
Kay Sievers [Fri, 1 Mar 2013 12:38:33 +0000 (13:38 +0100)]
do not print NULL values in "dump"

11 years agobuild-sys: rename "test" to "qemu" to avoid clash with test/ dir
Kay Sievers [Fri, 1 Mar 2013 12:31:14 +0000 (13:31 +0100)]
build-sys: rename "test" to "qemu" to avoid clash with test/ dir

11 years agoremove stringify(), we have config.h now
Kay Sievers [Fri, 1 Mar 2013 11:22:41 +0000 (12:22 +0100)]
remove stringify(), we have config.h now

11 years agoreplace a few tabs with spaces
Kay Sievers [Fri, 1 Mar 2013 11:12:33 +0000 (12:12 +0100)]
replace a few tabs with spaces

11 years agobuild-sys: move man page to section 8
Karel Zak [Fri, 1 Mar 2013 11:04:32 +0000 (12:04 +0100)]
build-sys: move man page to section 8

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agobuild-sys: add tests to build system
Karel Zak [Thu, 28 Feb 2013 19:59:59 +0000 (20:59 +0100)]
build-sys: add tests to build system

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agobuild-sys: add automake stuff for src/efi
Karel Zak [Thu, 28 Feb 2013 18:41:32 +0000 (19:41 +0100)]
build-sys: add automake stuff for src/efi

 - implemented by on automake independent build rules
 - uses automake _DATA for make install

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agobuild-sys: initialize efi specific stuff
Karel Zak [Thu, 28 Feb 2013 18:37:44 +0000 (19:37 +0100)]
build-sys: initialize efi specific stuff

 - probe for gnu-efi headers
 - probe for gnu-efi libs and gnu-efi linker scripts
 - sets $CC for .efi compilation

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agobuild-sys: add automake stuff for src/setup
Karel Zak [Wed, 27 Feb 2013 11:58:36 +0000 (12:58 +0100)]
build-sys: add automake stuff for src/setup

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agobuild-sys: add stuff for $ARCH
Karel Zak [Wed, 27 Feb 2013 11:39:21 +0000 (12:39 +0100)]
build-sys: add stuff for $ARCH

 - add m4/arch.m4 to setup ARCH_<NAME> automake conditionals
 - use "if ARCH_<NAME>" in build system rather than make ifeq

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agobuild-sys: check for libblkid
Karel Zak [Wed, 27 Feb 2013 09:57:51 +0000 (10:57 +0100)]
build-sys: check for libblkid

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agobuild-sys: add very basic configure.am and Makefile.am
Karel Zak [Wed, 27 Feb 2013 09:41:54 +0000 (10:41 +0100)]
build-sys: add very basic configure.am and Makefile.am

Note that this commit removes the old Makefile.

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agosetup: add --version
Kay Sievers [Thu, 28 Feb 2013 22:39:06 +0000 (23:39 +0100)]
setup: add --version

11 years agoadd "Reboot Into Firmware Interface" menu entry
Kay Sievers [Thu, 28 Feb 2013 22:09:16 +0000 (23:09 +0100)]
add "Reboot Into Firmware Interface" menu entry

11 years agoinclude secure boot and os indications variables in dump
Kay Sievers [Thu, 28 Feb 2013 20:44:35 +0000 (21:44 +0100)]
include secure boot and os indications variables in dump

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()