From: srs5694 Date: Sun, 13 Sep 2015 21:32:34 +0000 (-0400) Subject: Version 0.9.1 release X-Git-Url: https://code.delx.au/refind/commitdiff_plain/970af7382223d2dd18a6d29db512eb7009a6ff6f Version 0.9.1 release --- diff --git a/NEWS.txt b/NEWS.txt index 69a5d8d..1ffbed4 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,4 +1,4 @@ -0.9.1 (?/??/2015): +0.9.1 (9/13/2015): ------------------ - When rEFInd identifies the root (/) partition via the Freedesktop.org diff --git a/debian/changelog b/debian/changelog index 9ed8ea3..57137e7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +refind (0.9.1-0ppa1) trusty; urgency=medium + + * Version bump + + -- Roderick Smith Sun, 13 Sep 2015 17:14:29 -0400 + refind (0.9.0-0ppa1) trusty; urgency=medium * Version bump diff --git a/docs/refind/bootmode.html b/docs/refind/bootmode.html index 1ab0647..d3c8ce5 100644 --- a/docs/refind/bootmode.html +++ b/docs/refind/bootmode.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

+9/13/2015, referencing rEFInd 0.9.1

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

diff --git a/docs/refind/configfile.html b/docs/refind/configfile.html index 0c4cd89..599b3b5 100644 --- a/docs/refind/configfile.html +++ b/docs/refind/configfile.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

+9/13/2015, referencing rEFInd 0.9.1

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

diff --git a/docs/refind/drivers.html b/docs/refind/drivers.html index bbdad5b..d6ea5b5 100644 --- a/docs/refind/drivers.html +++ b/docs/refind/drivers.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 4/19/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

+9/13/2015, referencing rEFInd 0.9.1

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

@@ -260,14 +260,15 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

mainly because it compiled cleanly with no extra work, aside from providing a Makefile entry for it. + +
  • NTFS—Samuel Liao contributed this driver, which uses the - rEFIt/rEFInd driver framework. My own testing of it is limited, but it - does work for me. Note that this driver is not required - to boot Windows with rEFInd, since Windows stores its EFI boot loader - on the (FAT) ESP, and the BIOS boot process (generally used when - dual-booting on a Mac) relies only on the partition's boot sector, - which is read without the benefit of this driver. Reasons to use this - driver include: + rEFIt/rEFInd driver framework. Note that this driver is + not required to boot Windows with rEFInd, since Windows + stores its EFI boot loader on the (FAT) ESP, and the BIOS boot process + (generally used when dual-booting on a Mac) relies only on the + partition's boot sector, which is read without the benefit of this + driver. Reasons to use this driver include:
    • If you want to store large boot files to be read from EFI, such as RAM disk images, from Windows.
    • diff --git a/docs/refind/features.html b/docs/refind/features.html index b0dd134..5dda427 100644 --- a/docs/refind/features.html +++ b/docs/refind/features.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

      Originally written: 3/14/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

      +9/13/2015, referencing rEFInd 0.9.1

      This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

      @@ -222,6 +222,8 @@ such as those with Gigabyte's Hybrid EFI, lack a usable CSM.
    • In the absence of a refind_linux.conf file, the ability to pass minimal Linux boot options to a kernel based on the contents of /etc/fstab. This is limited to cases in which the kernel resides on the Linux root (/) filesystem, though, and it won't work if the installation requires any unusual options.
    • +
    • As of rEFInd 0.9.0, if a Linux root (/) filesystem is identified by the type code specified by the Discoverable Partitions Specification (DPS) and the root filesystem cannot be identified via refind_linux.conf or /etc/fstab, rEFInd passes a kernel root= identifier based on the identified DPS root (/) type code.
    • +
    • Fixes to display problems on many UEFI-based PCs.
    • Beginning with version 0.6.10, a screen saver feature, activated by the screensaver seconds token in refind.conf: Set seconds to the number of seconds before the screen will blank to prevent burn-in.
    • diff --git a/docs/refind/getting.html b/docs/refind/getting.html index dbf3f0f..6daa4cc 100644 --- a/docs/refind/getting.html +++ b/docs/refind/getting.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

      Originally written: 3/14/2012; last Web page update: -8/2/2015, referencing rEFInd 0.9.0

      +9/13/2015, referencing rEFInd 0.9.1

      This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

      @@ -138,7 +138,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

      • A + href="http://sourceforge.net/projects/refind/files/0.9.1/refind-bin-0.9.1.zip/download">A binary zip file—Download this if you want to install rEFInd and/or its filesystem drivers on an x86 or x86-64 computer and have no need to test rEFInd first by booting it on an @@ -148,13 +148,13 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

        href="installing.html">Installing rEFInd page. Some users of Arch Linux have reported problems booting some specific Arch Linux kernels with rEFInd and some other tools. For them, a variant + href="http://sourceforge.net/projects/refind/files/0.9.1/refind-bin-gnuefi-0.9.1.zip/download">variant package exists in which the x86-64 binary was compiled with GNU-EFI rather than the usual TianoCore EDK2. This change helps some users with this problem.
      • A + href="http://sourceforge.net/projects/refind/files/0.9.1/refind-0.9.1-1.x86_64.rpm/download">A binary RPM file—If you use an RPM-based x86-64 Linux system such as Fedora or openSUSE, you can install the binary RPM package rather than use the binary zip file. (I don't provide an @@ -163,13 +163,13 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

        rEFInd page) as part of the installation process. Distribution maintainers can examine the refind.spec file in the source package and tweak it to their needs. The source + href="http://sourceforge.net/projects/refind/files/0.9.1/refind-0.9.1-1.src.rpm/download">source RPM file might or might not build on your system as-is; it relies on assumptions about the locations of the GNU-EFI development files.
      • A + href="http://sourceforge.net/projects/refind/files/0.9.1/refind_0.9.1-1_amd64.deb/download">A binary Debian package—If you use an x86-64 version of Debian, Ubuntu, Mint, or another Debian-based distribution, you can install from this package, which was converted from the binary RPM @@ -177,23 +177,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

        PPA is available, which may install more smoothly and will cause rEFInd to automatically update with other packages.
      • - -
      • A + href="http://sourceforge.net/projects/refind/files/0.9.1/refind-cd-0.9.1.zip/download">A CD-R image file—This download contains the same files as the binary zip file, but you can burn it to a CD-R to test rEFInd (and its filesystem drivers) without installing it first. (It boots on @@ -217,14 +204,14 @@ on /dev/sdd. This procedure should work even on a BIOS-booted computer.

      • A + href="http://sourceforge.net/projects/refind/files/0.9.1/refind-flashdrive-0.9.1.zip/download">A USB flash drive image file—Although you can create your own rEFInd USB flash drive, you may find it easier to download this version and copy it to your USB drive with dd or some other low-level disk copying utility.
      • A + href="http://sourceforge.net/projects/refind/files/0.9.1/refind-src-0.9.1.zip/download">A source code zip file—This is useful if you want to compile the software locally. Note that I use Linux with the TianoCore EFI diff --git a/docs/refind/index.html b/docs/refind/index.html index 8ccf45d..cec1275 100644 --- a/docs/refind/index.html +++ b/docs/refind/index.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

        Originally written: 3/14/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

        +9/13/2015, referencing rEFInd 0.9.1

        This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

        diff --git a/docs/refind/installing.html b/docs/refind/installing.html index d56a256..6615d19 100644 --- a/docs/refind/installing.html +++ b/docs/refind/installing.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

        Originally written: 3/14/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

        +9/13/2015, referencing rEFInd 0.9.1

        This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

        @@ -226,11 +226,11 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

        I provide RPM and Debian package files for rEFInd; and starting with version 0.8.1, I'm maintaining an Ubuntu PPA for rEFInd. If you have a working RPM-based or Debian-based Linux installation that boots in EFI mode, using one of these files is likely to be the easiest way to install rEFInd: You need only download the file and issue an appropriate installation command. In some cases, double-clicking the package in your file manager will install it. If that doesn't work, a command like the following will install the RPM on an RPM-based system:

        -
        # rpm -Uvh refind-0.9.0-1.x86_64.rpm
        +
        # rpm -Uvh refind-0.9.1-1.x86_64.rpm

        On a Debian-based system, the equivalent command is:

        -
        # dpkg -i refind_0.9.0-1_amd64.deb
        +
        # dpkg -i refind_0.9.1-1_amd64.deb

        Either command produces output similar to that described for using the install.sh script, so you can check it for error messages and other signs of trouble. The package file installs rEFInd and registers it with the EFI to be the default boot loader. The script that runs as part of the installation process tries to determine if you're using Secure Boot, and if so it will try to configure rEFInd to launch using shim; however, this won't work correctly on all systems. Ubuntu 12.10 users who are booting with Secure Boot active should be wary, since the resulting installation will probably try to use Ubuntu's version of shim, which won't work correctly with rEFInd. The shim program provided with more recent versions of Ubuntu should work correctly.

        @@ -258,6 +258,8 @@ $ sudo apt-get install refind

        Quick install.sh Instructions

        + +

        By default, the install.sh script installs rEFInd to your disk's ESP. Under Mac OS X, you can instead install rEFInd to your current OS X boot partition by passing the script the --notesp option, or to a non-boot HFS+ partition by using the --ownhfs devicefile option. Under either OS, you can install to something other than the currently-running OS by using the --root /mountpoint option. (See Table 1 for details.)

        Under Linux, install.sh will be most reliable if your ESP is already mounted at /boot or /boot/efi, as described in more detail in the Installing rEFInd Manually Using Linux section. (If you installed Linux in EFI mode, chances are your ESP is properly mounted.) If your ESP is not so mounted, install.sh will attempt to locate and mount an ESP, but this action is not guaranteed to work correctly. If you run install.sh from a BIOS/legacy-mode boot, particularly on a computer that also runs Windows, you should be aware that the tricks the script uses to install itself from BIOS mode are rather delicate. You can convert to a more conventional configuration using the mvrefind.sh script after you've booted in EFI mode.

        @@ -512,6 +514,8 @@ Filesystem 1K-blocks Used Available Use% Mounted on

        Installing rEFInd Manually Using Mac OS X

        + +

        Before installing rEFInd on a Mac, you must determine whether it uses a 32-bit or 64-bit EFI implementation. Most Intel-based Macs have 64-bit EFIs, so you should use the refind_x64.efi file with them; but very early Intel-based Macs have 32-bit EFIs (and sometimes 32-bit CPUs), which require the refind_ia32.efi file. You can determine whether your Mac needs the x86-64 or IA32 build by typing the following command in a Mac Terminal window:

        @@ -616,6 +620,8 @@ $ ioreg -l -p IODeviceTree | grep firmware-abi
         
         

        The EasyUEFI tool is a free (as in beer) GUI tool for managing EFI boot programs. I've only tried it once, and it seemed fairly intuitive and easy to use, but I don't have detailed instructions on how to use it. If you want to use EasyUEFI, you'll have to use it in place of bcdedit at the end of the following procedure.

        + +

        Attempt this method of installation only on a UEFI-based PC; this method will not work on Windows that's installed on a Mac in BIOS/CSM/legacy mode. To install rEFInd under Windows, you must first find a way to access the ESP, which Windows normally hides from view. One way to accomplish this goal, and to proceed forward once the ESP is accessible, is as follows:

          diff --git a/docs/refind/linux.html b/docs/refind/linux.html index 1db78a6..c51d2cc 100644 --- a/docs/refind/linux.html +++ b/docs/refind/linux.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

          Originally written: 3/19/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

          +9/13/2015, referencing rEFInd 0.9.1

          This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

          diff --git a/docs/refind/revisions.html b/docs/refind/revisions.html index c46888a..88b7cd7 100644 --- a/docs/refind/revisions.html +++ b/docs/refind/revisions.html @@ -16,7 +16,7 @@

          by Roderick W. Smith, rodsmith@rodsbooks.com

          -

          Last Web page update: 7/26/2015

          +

          Last Web page update: 9/13/2015

          This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

          @@ -132,6 +132,8 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

            +
          • 0.9.1 (9/13/2015)—This version has improved the Discoverable Partitions Specification (DPS) support in a number of ways that should make it more reliable when /etc/fstab omits references to the root (/) partition or when the GPT read-only or do-not-automount options are used to control these features. A stray DPS-related debugging print command has also been removed. I've improved rEFInd's ability to guess the Linux distribution by having it examine /etc/lsb-release as well as /etc/os_release, and I've added an icon for Elementary OS. Finally, I've made improvements to rEFInd's handling of case-insensitive string comparisons, which were buggy on some EFIs, particularly when rEFInd was compiled with GNU-EFI. rEFInd is still at the mercy of the EFI and support libraries, but many problem cases should now be resolved.
          • +
          • 0.9.0 (7/26/2015—This version gets a bump up to 0.9.0 mainly because of a highly user-visible new feature: kernel folding. With kernel folding active, multiple Linux kernels in a single directory appear as just one main-menu entry, which launches the most recent kernel (by file timestamp) by default. Older kernels appear on the first one's submenu (accessed by hitting F2 or Insert). You can disable this new feature by setting fold_linux_kernels false in refind.conf. Another new feature is support for the Discoverable Partitions Spec, which enables rEFInd to locate the Linux root (/) partition without a refind_linux.conf or /etc/fstab entry. I know of no distribution that automatically sets up its partitions in this way, but if and when this starts to happen, rEFInd will be ready. Other changes are relatively minor: The Debian postinst script now calls install.sh with --localkeys if sbsign and openssl are available, which helps if using the Ubuntu PPA on a system with custom Secure Boot keys; I've fixed a packaging bug that prevented IA32 versions of filesystem drivers and gptsync to not be built in the PPA; mkrlconf.sh now refuses to run under OS X; rEFInd now skips checking for BIOS-mode boot code on UEFI-based PCs, which should speed it up a little; I've fixed a bug that caused rEFInd to crash if it found an existing but empty refind_linux.conf file; I've made minor code changes to enable rEFInd to build under GCC 5.1; and I've added a new icon for Kali Linux (provided by Francesco D'Eugenio).
          • 0.8.7 (3/1/2015)—This release provides bug fixes and refinements to existing features. Several changes should reduce the odds of rEFInd crashing because of assorted problems. Other changes improve Secure Boot handling, including improved Secure Boot detection in install.sh, recognition of KeyTool.efi and KeyTool-signed.efi as MOK manager utilities, and reporting of Secure Boot status for x86 (IA-32) systems in the rEFInd information screen. Filesystem detection is improved (again), and XFS has been added as a known filesystem. Detection of FreeBSD's BIOS-mode boot loader is improved, which should give more Mac users the right OS icon when booting FreeBSD in BIOS mode. A bug in install.sh that caused inappropriate installation to the filename bootx64.efi or bootia32.efi, and failure to update the computer's boot list, has been squashed. Finally, I'm deprecating the use of fsx: notation for referring to filesystems. The numbering of filesystems is simply unreliable, and better alternatives (the use of partition GUIDs, partition names, and filesystem names) have been added in previous releases. The fsx: code remains in rEFInd, and if it's working for you, you can continue to use it; but sooner or later I'll remove that code, so you're advised to change your manual boot stanzas and other options that use it before that happens.
          • diff --git a/docs/refind/secureboot.html b/docs/refind/secureboot.html index bbb7114..b7cba26 100644 --- a/docs/refind/secureboot.html +++ b/docs/refind/secureboot.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

            Originally written: 11/13/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

            +9/13/2015, referencing rEFInd 0.9.1

            This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

            diff --git a/docs/refind/themes.html b/docs/refind/themes.html index 100ea0d..deb6c01 100644 --- a/docs/refind/themes.html +++ b/docs/refind/themes.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

            Originally written: 4/19/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

            +9/13/2015, referencing rEFInd 0.9.1

            This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

            diff --git a/docs/refind/todo.html b/docs/refind/todo.html index dd55036..5b71d3c 100644 --- a/docs/refind/todo.html +++ b/docs/refind/todo.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

            Originally written: 3/14/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

            +9/13/2015, referencing rEFInd 0.9.1

            This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

            @@ -233,8 +233,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

            removing rEFInd's drivers has caused the problem to go into remission. -
          • The Gigabyte - Hybrid EFI has a bug that causes the allegedly case-insensitive +
          • Some EFIs have bugs that cause the allegedly case-insensitive StriCmp() function to perform a case-sensitive comparison. This causes any number of bugs in file matching. For instance: Changing the case of icon filename extensions (or various other @@ -242,14 +241,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

            "generic" ones; and rEFInd sometimes appears in its own menu (the firmware sometimes returns an all-caps version of the filename, but other times returns the filename with the correct case, causing a - mismatch if the path includes lowercase elements). Some of these - problems can be overcome by converting both strings to be compared - to one case before doing the comparison, but others aren't so easy, - since I think StriCmp() is being called internally to the - EFI. In any event, it'd be nice to fix some of these problems. - OTOH, this is a workaround for a bug on just one EFI - implementation, and a dismal one at that, so I'm inclined to just - let it go.
          • + mismatch if the path includes lowercase elements). This problem is + worse when compiling rEFInd with GNU-EFI than with Tianocore. + Version 0.9.1 has made improvements on this score, but some issues + may continue to lurk.
          • The Shutdown option works correctly on Macs, but not on many UEFI-based PCs. On such systems, Shutdown reboots the computer. This should be diff --git a/docs/refind/using.html b/docs/refind/using.html index 00ad5be..658a04f 100644 --- a/docs/refind/using.html +++ b/docs/refind/using.html @@ -17,7 +17,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

            Originally written: 3/14/2012; last Web page update: -7/26/2015, referencing rEFInd 0.9.0

            +9/13/2015, referencing rEFInd 0.9.1

            This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

            diff --git a/filesystems/fsw_efi.c b/filesystems/fsw_efi.c index dd0c395..8516588 100644 --- a/filesystems/fsw_efi.c +++ b/filesystems/fsw_efi.c @@ -78,7 +78,7 @@ EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid = EFI_FILE_SYSTEM_VOLUME_LABEL_INFO /** Helper macro for stringification. */ #define FSW_EFI_STRINGIFY(x) #x /** Expands to the EFI driver name given the file system type name. */ -#define FSW_EFI_DRIVER_NAME(t) L"rEFInd 0.8.7 " FSW_EFI_STRINGIFY(t) L" File System Driver" +#define FSW_EFI_DRIVER_NAME(t) L"rEFInd 0.9.1 " FSW_EFI_STRINGIFY(t) L" File System Driver" // function prototypes @@ -568,7 +568,7 @@ fsw_status_t fsw_efi_read_block(struct fsw_volume *vol, fsw_u64 phys_bno, void * } // if cache memory allocated } // if (ReadCache < 0) - if (Caches[ReadCache].Cache != NULL && Caches[ReadCache].CacheValid == TRUE) { + if (Caches[ReadCache].Cache != NULL && Caches[ReadCache].CacheValid == TRUE && vol->phys_blocksize > 0) { CopyMem(buffer, &Caches[ReadCache].Cache[StartRead - Caches[ReadCache].CacheStart], vol->phys_blocksize); } else { ReadOneBlock = TRUE; diff --git a/filesystems/fsw_efi_lib.c b/filesystems/fsw_efi_lib.c index a93a72b..31f7c2f 100644 --- a/filesystems/fsw_efi_lib.c +++ b/filesystems/fsw_efi_lib.c @@ -115,7 +115,7 @@ UINTN fsw_efi_strsize(struct fsw_string *s) VOID fsw_efi_strcpy(CHAR16 *Dest, struct fsw_string *src) { - if (src->type == FSW_STRING_TYPE_EMPTY) { + if (src->type == FSW_STRING_TYPE_EMPTY | src->size == 0) { Dest[0] = 0; } else if (src->type == FSW_STRING_TYPE_UTF16) { CopyMem(Dest, src->data, src->size); diff --git a/install.sh b/install.sh index 446f35e..b8f4d92 100755 --- a/install.sh +++ b/install.sh @@ -657,7 +657,7 @@ SetupMacHfs() { ProductName rEFInd ProductVersion - 0.9.0 + 0.9.1 ENDOFHERE diff --git a/refind.spec b/refind.spec index 9057c6c..943905c 100644 --- a/refind.spec +++ b/refind.spec @@ -1,6 +1,6 @@ Summary: EFI boot manager software Name: refind -Version: 0.9.0 +Version: 0.9.1 Release: 1%{?dist} Summary: EFI boot manager software License: GPLv3 @@ -167,6 +167,8 @@ fi # wiping out the just-updated files. %changelog +* Sun Sep 13 2015 R Smith - 0.9.1 +- Updated spec file for 0.9.1 * Sun Jul 26 2015 R Smith - 0.9.0 - Updated spec file for 0.9.0 * Sun Mar 1 2015 R Smith - 0.8.7 diff --git a/refind/main.c b/refind/main.c index 0b2742b..9e2ee29 100644 --- a/refind/main.c +++ b/refind/main.c @@ -173,7 +173,7 @@ static VOID AboutrEFInd(VOID) if (AboutMenu.EntryCount == 0) { AboutMenu.TitleImage = BuiltinIcon(BUILTIN_ICON_FUNC_ABOUT); - AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.9.0.5"); + AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.9.1"); AddMenuInfoLine(&AboutMenu, L""); AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2006-2010 Christoph Pfisterer"); AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2012-2015 Roderick W. Smith"); @@ -2058,6 +2058,7 @@ static BOOLEAN SecureBootSetup(VOID) { Success = TRUE; } else { Print(L"Failed to install MOK Secure Boot extensions"); + PauseForKey(); } } return Success;