From ad67c71f155a078d9223ea02d6e44161f00227d8 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 19 Feb 2013 20:38:19 +0100 Subject: [PATCH] setup: man - update --- .gitignore | 1 + src/setup/gummiboot.xml | 32 ++++++++++++++++++-------------- src/setup/setup.c | 4 ++-- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 9075c11..f08fe43 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.o *.so /gummiboot +/gummiboot.1 /gummiboot.so /gummibootia32.efi /gummibootx64.efi diff --git a/src/setup/gummiboot.xml b/src/setup/gummiboot.xml index 017e567..699bff5 100644 --- a/src/setup/gummiboot.xml +++ b/src/setup/gummiboot.xml @@ -63,26 +63,30 @@ Description gummibot checks, updates, - installs or removes the boot manager from the current + installs or removes the boot loader from the current system. - gummiboot status checks and - prints the currently installed version of the boot - manager. + gummiboot status checks and prints the + currently installed versions of the boot loader binaries and the + all current EFI boot variables. gummiboot update updates all installed versions of gummiboot, if the current version is newer than the - version installed in the EFI system partition, and create a - gummiboot entry in the EFI boot variables if there is no entry - already. - - gummiboot install - installs gummiboot into the EFI system partition, and create - an active entry in the EFI boot varaibles. + version installed in the EFI system partition. This also includes + the EFI default/fallback loader at /EFI/BOOT/BOOT*.EFI. An + gummiboot entry in the EFI boot variables is created, if there + is no current entry. A created entry will be added to the end of + the boot order list. + + gummiboot install installs gummiboot into + the EFI system partition. A copy of gummiboot will be stored as + the EFI default/fallback loader at /EFI/BOOT/BOOT*.EFI. An gummiboot + entry in the EFI boot variables is created and added to the top + of the boot order list. gummiboot remove removes all installed - versions of gummiboot from the EFI system partition, and remove - all gummiboot entries from the EFI boot variables. + versions of gummiboot from the EFI system partition, and removes + gummiboot from the EFI boot variables. If no command is passed status is implied. @@ -110,7 +114,7 @@ Do not touch the EFI boot - variables in the firmware. + variables. diff --git a/src/setup/setup.c b/src/setup/setup.c index fceb685..9ba58f8 100644 --- a/src/setup/setup.c +++ b/src/setup/setup.c @@ -397,7 +397,7 @@ static int status_binaries(const char *esp_path) { r = enumerate_binaries(esp_path, "EFI/BOOT", "BOOT"); if (r == 0) - fprintf(stderr, "\tNo fallback boot loader installed in ESP.\n"); + fprintf(stderr, "\tNo default/fallback boot loader installed in ESP.\n"); else if (r < 0) return r; @@ -765,7 +765,7 @@ static int copy_one_file(const char *esp_path, const char *name, bool force) { if (strncmp(name, "gummiboot", 9) == 0) { int k; - /* Create the fallback boot loader name (specified for removable devices) */ + /* Create the EFI default boot loader name (specified for removable devices) */ if (asprintf(&v, "%s/EFI/BOOT/%s", esp_path, name + 5) < 0) { fprintf(stderr, "Out of memory.\n"); r = -ENOMEM; -- 2.7.4