From 4677259a82b13dd1ab9fb6696d0ffe8976aeae34 Mon Sep 17 00:00:00 2001 From: srs5694 Date: Sun, 9 Mar 2014 13:43:13 -0400 Subject: [PATCH] Refinements to image-sizing code; 0.7.8 release version. --- NEWS.txt | 21 +++++++++++++++++++-- docs/refind/bootmode.html | 4 ++-- docs/refind/configfile.html | 4 ++-- docs/refind/drivers.html | 17 ++++++++++++----- docs/refind/features.html | 6 ++++-- docs/refind/getting.html | 20 ++++++++++---------- docs/refind/index.html | 2 +- docs/refind/installing.html | 15 +++++++++------ docs/refind/linux.html | 6 +++--- docs/refind/revisions.html | 6 ++++-- docs/refind/secureboot.html | 4 ++-- docs/refind/themes.html | 14 +++++++++----- docs/refind/todo.html | 9 ++------- docs/refind/using.html | 4 ++-- filesystems/fsw_efi.c | 2 +- gptsync/gptsync.h | 2 +- libeg/image.c | 2 +- libeg/screen.c | 2 +- mkdistrib | 5 ++++- refind.spec | 4 +++- refind/config.c | 2 +- refind/config.h | 2 +- refind/global.h | 2 +- refind/lib.c | 9 +++++---- refind/main.c | 4 ++-- 25 files changed, 102 insertions(+), 66 deletions(-) diff --git a/NEWS.txt b/NEWS.txt index ba21e8f..f770422 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,5 +1,22 @@ -0.7.8 (?/??/2014): ------------------- +0.7.8 (3/9/2014): +----------------- + +- Added "debian" directory to source, which facilitates creation of Debian + packages. Packages built in this way are built with GNU-EFI and don't run + any post-installation script, so although the rEFInd binaries are on the + hard disk, they aren't installed to be bootable; you must manually run + install.sh. Also, at least on Ubuntu, the Make.common file's /usr/lib64 + references must be changed to /usr/lib. This is more of a proof of + concept and a "leg up" for distribution maintainers than anything else. + +- Two new options, big_icon_size and small_icon_size, set the size of + the first-row OS icons and of the second-row tool icons, respectively. + The big_icon_size option also indirectly sets the size of disk-type + badges; they're 1/4 the size of the big icons. Default values are 128 and + 48, respectively, to match the actual icon files provided with rEFInd. If + the icon you're using is of a different size than you've specified, + rEFInd scales it. For best quality, you should both provide icons drawn + to the right size and set the icon sizes in refind.conf. - rEFInd now automatically scales icons to fit the standard icon sizes. This won't have any effect with the icons that come with rEFInd, but it diff --git a/docs/refind/bootmode.html b/docs/refind/bootmode.html index cba0260..2ea3a3d 100644 --- a/docs/refind/bootmode.html +++ b/docs/refind/bootmode.html @@ -15,10 +15,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

+3/9/2014, referencing rEFInd 0.7.8

-

I'm a technical writer and consultant specializing in Linux technologies. 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!

+

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 8c63fd3..c246c43 100644 --- a/docs/refind/configfile.html +++ b/docs/refind/configfile.html @@ -15,10 +15,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

+3/9/2014, referencing rEFInd 0.7.8

-

I'm a technical writer and consultant specializing in Linux technologies. 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!

+

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 38460fc..a188e18 100644 --- a/docs/refind/drivers.html +++ b/docs/refind/drivers.html @@ -15,10 +15,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

Originally written: 4/19/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

+3/9/2014, referencing rEFInd 0.7.8

-

I'm a technical writer and consultant specializing in Linux technologies. 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!

+

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!

@@ -227,9 +227,16 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

one-partition filesystem and with a filesystem that spans two physical devices (although I've made no attempt to ensure that the driver can actually read files written to both devices). Lamuel Liao has used the - driver with a compressed Btrfs volume. I don't know if the driver will - handle other advanced Btrfs features, such as snapshots and - subvolumes. + driver with a compressed Btrfs volume. The driver will handle + subvolumes, but you may need to add kernel options if you're booting a + Linux kernel directly from a filesystem that uses subvolumes. For + instance, on a test installation of Ubuntu 14.04 alpha on such a + system, I needed to set also_scan_dirs + @/boot in + refind.conf and add rootflags=subvol=@ to the kernel + options in my refind_linux.conf file. Without the first of + these options, rEFInd could not locate my kernel; and without the + second, the boot failed with a message to the effect that the initial + RAM disk could not find /sbin/init.
  • ISO-9660—This driver originated with rEFIt's author, but he never released a final version. Its code was improved by Oracle for diff --git a/docs/refind/features.html b/docs/refind/features.html index dbd2d28..44bb0ec 100644 --- a/docs/refind/features.html +++ b/docs/refind/features.html @@ -15,9 +15,9 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

    +3/9/2014, referencing rEFInd 0.7.8

    -

    I'm a technical writer and consultant specializing in Linux technologies. 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!

    +

    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!

  • @@ -201,6 +201,8 @@ lack a usable CSM.
  • Support for full-screen banner images.
  • +
  • Support for scaling icons, to adjust icon size for users with high-resolution displays, poor eyesight, or simply for personal preference reasons.
  • +
  • The ability to set the screen's graphics resolution, within limits imposed by the EFI (as of rEFInd 0.3.0). Similarly, as of version 0.6.0, you can specify the text-mode resolution.
  • Proper handling of more OS options than can fit on the screen. (rEFIt displays an empty list in graphical mode when it detects too many OSes.)
  • diff --git a/docs/refind/getting.html b/docs/refind/getting.html index edff675..1741138 100644 --- a/docs/refind/getting.html +++ b/docs/refind/getting.html @@ -15,9 +15,9 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

    +3/9/2014, referencing rEFInd 0.7.8

    -

    I'm a technical writer and consultant specializing in Linux technologies. 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!

    +

    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!

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

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

    Beginning with version 0.6.2, I've included RPM and Debian package files 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.7.5-1.x86_64.rpm
    +
    # rpm -Uvh refind-0.7.8-1.x86_64.rpm

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

    -
    # dpkg -i refind_0.7.5-1_amd64.deb
    +
    # dpkg -i refind_0.7.8-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.

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

    Under Linux, the install.sh script installs rEFInd to your disk's ESP. Under Mac OS X, the script installs rEFInd to your current OS X boot partition by default; but you can install to your ESP instead by passing the script the --esp 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. This precaution isn't necessary under OS X. 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.

    +

    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.

    + +

    Under OS X, install.sh attempts to install rEFInd to the OS X root partition by default. You can pass the script the --esp or --ownhfs device-file option, as noted in Table 1, to modify the installation location. This is helpful, and even necessary, in some cases, such as when your computer uses whole-disk encryption or if you use suspend-to-disk features.

    A sample run under Linux looks something like this:

    @@ -294,7 +296,8 @@ Installation has completed successfully. run the script.
  • If you're using OS X 10.7's Whole Disk Encryption (WDE) feature, you - must install rEFInd to the ESP, so the --esp option to + must install rEFInd to the ESP, so the --esp or + --ownhfs device-file option to install.sh is required. I'm still a little bit foggy about what's required to boot the system once this is done; see this diff --git a/docs/refind/linux.html b/docs/refind/linux.html index 76c7084..a6c4f4d 100644 --- a/docs/refind/linux.html +++ b/docs/refind/linux.html @@ -15,10 +15,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/19/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

    +3/9/2014, referencing rEFInd 0.7.8

    -

    I'm a technical writer and consultant specializing in Linux technologies. 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!

    +

    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!

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

    Using a Traditional Linux Boot Loader

    -

    I consider ELILO, GRUB Legacy, and GRUB 2 to be traditional Linux boot loaders. These programs all exist independent of the Linux kernel, but they can load a kernel and hand off control to it. All three programs have their own configuration files that reside in the same directory as the boot loader itself (or optionally elsewhere, in the case of GRUB 2).

    +

    I consider ELILO, GRUB Legacy, GRUB 2, and SYSLINUX to be traditional Linux boot loaders. These programs all exist independent of the Linux kernel, but they can load a kernel and hand off control to it. All four programs have their own configuration files that reside in the same directory as the boot loader itself (or optionally elsewhere, in the case of GRUB 2).

    Ordinarily, rEFInd will detect these traditional boot loaders and provide main menu entries for them. If the boot loader exists in a directory with a name that matches a Linux distribution's icon filename, you'll automatically get a distribution-specific icon to refer to the boot loader.

    diff --git a/docs/refind/revisions.html b/docs/refind/revisions.html index fa3cc81..b2e5e50 100644 --- a/docs/refind/revisions.html +++ b/docs/refind/revisions.html @@ -14,9 +14,9 @@

    by Roderick W. Smith, rodsmith@rodsbooks.com

    -

    Last Web page update: 1/3/2014

    +

    Last Web page update: 3/9/2014

    -

    I'm a technical writer and consultant specializing in Linux technologies. 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!

    +

    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!

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

    diff --git a/docs/refind/themes.html b/docs/refind/themes.html index e7f84eb..26960e8 100644 --- a/docs/refind/themes.html +++ b/docs/refind/themes.html @@ -15,10 +15,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 4/19/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

    +3/9/2014, referencing rEFInd 0.7.8

    -

    I'm a technical writer and consultant specializing in Linux technologies. 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!

    +

    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!

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

    If you want to use a full-screen background but also include the rEFInd logo, you can merge the two in a graphics editor by including the refind_banner-alpha.png image from the banners subdirectory of the rEFInd package in your background.

    +

    Beginning with rEFInd 0.7.8, it's possible to stretch or shrink any image to fill the screen. To do so, you should use the banner_scale option in refind.conf: Set it to noscale (the default) to use small banners as such or to crop larger images; or set it to fillscreen to adjust your banner's size to exactly fill the screen. This should be particularly handy for theme developers who want to use a full-screen background image, since you can now do this with just one image file.

    +

    Icons

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

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

    Icon Selection Backgrounds

    -

    rEFInd identifies the current selection by displaying a partially-transparent icon "between" the OS or tool icon and the background image. The default icon works reasonably well on both solid and image backgrounds, but if you like, you can customize it by creating new icons in PNG or in Microsoft's BMP format. You should create both 144x144 and 64x64 images and tell rEFInd about them by using the selection_big and selection_small tokens, respectively, in refind.conf. If you omit the large icon, rEFInd will stretch the small icon to fit the larger space; if you omit the small icon, rEFInd will use the default small icon. Because BMP doesn't support transparency (alpha channels), you must use the PNG format if you want your selection background to show the underlying image beneath it. (You can create the illusion of transparency on a solid background by matching the colors, though.)

    +

    rEFInd identifies the current selection by displaying a partially-transparent icon "between" the OS or tool icon and the background image. The default icon works reasonably well on both solid and image backgrounds, but if you like, you can customize it by creating new icons in PNG or in Microsoft's BMP format or in PNG format. You should create both 144x144 and 64x64 images and tell rEFInd about them by using the selection_big and selection_small tokens, respectively, in refind.conf. (If you also scale your icons, you may want to adjust the selection tile images appropriately. The big image is 9/8 the size of its matching icons, while the small tile is 4/3 the size of its icons.) If you omit the large icon, rEFInd will stretch the small icon to fit the larger space; if you omit the small icon, rEFInd will use the default small icon. Because BMP doesn't support transparency (alpha channels), you must use the PNG format if you want your selection background to show the underlying image beneath it. (You can create the illusion of transparency on a solid background by matching the colors, though.)

    Fonts

    diff --git a/docs/refind/todo.html b/docs/refind/todo.html index ef13d7f..32c2b8e 100644 --- a/docs/refind/todo.html +++ b/docs/refind/todo.html @@ -15,10 +15,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

    +3/9/2014, referencing rEFInd 0.7.8

    -

    I'm a technical writer and consultant specializing in Linux technologies. 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!

    +

    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!

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

    like to add detection for Itanium and ARM systems, but I have no way to test such changes. -
  • Although the ICNS file format used by rEFInd supports multiple - image sizes, if a size that rEFInd needs isn't present in the file, - rEFInd can't use the icon. The ability to scale images to the - desired size would be useful.
  • -
  • A way to set the color of the font would be useful for theming purposes.
  • diff --git a/docs/refind/using.html b/docs/refind/using.html index 5a689ab..28ac0ef 100644 --- a/docs/refind/using.html +++ b/docs/refind/using.html @@ -15,10 +15,10 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com

    Originally written: 3/14/2012; last Web page update: -1/3/2014, referencing rEFInd 0.7.7

    +3/9/2014, referencing rEFInd 0.7.8

    -

    I'm a technical writer and consultant specializing in Linux technologies. 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!

    +

    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 1a15612..30982c3 100644 --- a/filesystems/fsw_efi.c +++ b/filesystems/fsw_efi.c @@ -98,7 +98,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.7.7 " FSW_EFI_STRINGIFY(t) L" File System Driver" +#define FSW_EFI_DRIVER_NAME(t) L"rEFInd 0.7.8 " FSW_EFI_STRINGIFY(t) L" File System Driver" // function prototypes diff --git a/gptsync/gptsync.h b/gptsync/gptsync.h index aeabaa9..a7e5f4e 100644 --- a/gptsync/gptsync.h +++ b/gptsync/gptsync.h @@ -35,7 +35,7 @@ */ /* Changes copyright (c) 2013 Roderick W. Smith */ -#define VERSION L"0.7.7" +#define VERSION L"0.7.8" // // config diff --git a/libeg/image.c b/libeg/image.c index da3ccc6..0322d12 100644 --- a/libeg/image.c +++ b/libeg/image.c @@ -34,7 +34,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * Modifications copyright (c) 2012-2013 Roderick W. Smith + * Modifications copyright (c) 2012-2014 Roderick W. Smith * * Modifications distributed under the terms of the GNU General Public * License (GPL) version 3 (GPLv3), a copy of which must be distributed diff --git a/libeg/screen.c b/libeg/screen.c index a10ee6b..c6f2303 100644 --- a/libeg/screen.c +++ b/libeg/screen.c @@ -34,7 +34,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * Modifications copyright (c) 2012-2013 Roderick W. Smith + * Modifications copyright (c) 2012-2014 Roderick W. Smith * * Modifications distributed under the terms of the GNU General Public * License (GPL) version 3 (GPLv3), a copy of which must be distributed diff --git a/mkdistrib b/mkdistrib index ea1f27b..bd8279b 100755 --- a/mkdistrib +++ b/mkdistrib @@ -44,10 +44,13 @@ set -e make clean +# Remove temporary files from the "debian" subdirectory +rm -rf debian/refind debian/*.log + # Prepare a place and copy files there.... mkdir -p ../snapshots/$1/refind-$1/icons cp --preserve=timestamps icons/*.icns ../snapshots/$1/refind-$1/icons/ -cp -a docs images keys fonts banners include EfiLib libeg mok refind filesystems gptsync refind.spec install.sh mkrlconf.sh mvrefind.sh CREDITS.txt NEWS.txt BUILDING.txt COPYING.txt LICENSE.txt README.txt refind.inf Make.tiano Make.common Makefile refind.conf-sample ../snapshots/$1/refind-$1 +cp -a debian docs images keys fonts banners include EfiLib libeg mok refind filesystems gptsync refind.spec install.sh mkrlconf.sh mvrefind.sh CREDITS.txt NEWS.txt BUILDING.txt COPYING.txt LICENSE.txt README.txt refind.inf Make.tiano Make.common Makefile refind.conf-sample ../snapshots/$1/refind-$1 # Go there and prepare a souce code zip file.... cd ../snapshots/$1/ diff --git a/refind.spec b/refind.spec index 427aee6..162b55f 100644 --- a/refind.spec +++ b/refind.spec @@ -1,6 +1,6 @@ Summary: EFI boot manager software Name: refind -Version: 0.7.7 +Version: 0.7.8 Release: 1%{?dist} Summary: EFI boot manager software License: GPLv3 @@ -159,5 +159,7 @@ fi # wiping out the just-updated files. %changelog +* Sun Mar 9 2014 R Smith - 0.7.8 +- Updated spec file for 0.7.8 * Fri Jan 3 2014 R Smith - 0.7.7 - Created spec file for 0.7.7 release diff --git a/refind/config.c b/refind/config.c index d3b0601..58043ae 100644 --- a/refind/config.c +++ b/refind/config.c @@ -35,7 +35,7 @@ */ /* - * Modifications copyright (c) 2012-2013 Roderick W. Smith + * Modifications copyright (c) 2012-2014 Roderick W. Smith * * Modifications distributed under the terms of the GNU General Public * License (GPL) version 3 (GPLv3), a copy of which must be distributed diff --git a/refind/config.h b/refind/config.h index bbaa63b..8b75288 100644 --- a/refind/config.h +++ b/refind/config.h @@ -35,7 +35,7 @@ */ /* - * Modifications copyright (c) 2012-2013 Roderick W. Smith + * Modifications copyright (c) 2012-2014 Roderick W. Smith * * Modifications distributed under the terms of the GNU General Public * License (GPL) version 3 (GPLv3), a copy of which must be distributed diff --git a/refind/global.h b/refind/global.h index 947ba34..c45acda 100644 --- a/refind/global.h +++ b/refind/global.h @@ -34,7 +34,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * Modifications copyright (c) 2012-2013 Roderick W. Smith + * Modifications copyright (c) 2012-2014 Roderick W. Smith * * Modifications distributed under the terms of the GNU General Public * License (GPL) version 3 (GPLv3), a copy of which must be distributed diff --git a/refind/lib.c b/refind/lib.c index 0de0cc4..cedf1a7 100644 --- a/refind/lib.c +++ b/refind/lib.c @@ -34,8 +34,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * Modifications copyright (c) 2012-2013 Roderick W. Smith - * + * Modifications copyright (c) 2012-2014 Roderick W. Smith + * * Modifications distributed under the terms of the GNU General Public * License (GPL) version 3 (GPLv3), a copy of which must be distributed * with this source code or binaries made from it. @@ -747,7 +747,7 @@ static CHAR16 *GetVolumeName(IN REFIT_VOLUME *Volume) { if (FoundName != NULL) { TypeName = FSTypeName(Volume->FSType); // NOTE: Don't free TypeName; function returns constant if (StrLen(TypeName) > 0) - SPrint(FoundName, 255, L"%s volume", FSTypeName(Volume->FSType)); + SPrint(FoundName, 255, L"%s volume", TypeName); else SPrint(FoundName, 255, L"unknown volume"); } // if allocated memory OK @@ -1138,7 +1138,8 @@ VOID ReinitVolumes(VOID) if (!EFI_ERROR(Status)) { // get the BlockIO protocol - Status = refit_call3_wrapper(BS->HandleProtocol, WholeDiskHandle, &BlockIoProtocol, (VOID **) &Volume->WholeDiskBlockIO); + Status = refit_call3_wrapper(BS->HandleProtocol, WholeDiskHandle, &BlockIoProtocol, + (VOID **) &Volume->WholeDiskBlockIO); if (EFI_ERROR(Status)) { Volume->WholeDiskBlockIO = NULL; CheckError(Status, L"from HandleProtocol"); diff --git a/refind/main.c b/refind/main.c index 027afc2..5383779 100644 --- a/refind/main.c +++ b/refind/main.c @@ -34,7 +34,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * Modifications copyright (c) 2012-2013 Roderick W. Smith + * Modifications copyright (c) 2012-2014 Roderick W. Smith * * Modifications distributed under the terms of the GNU General Public * License (GPL) version 3 (GPLv3), a copy of which must be distributed @@ -156,7 +156,7 @@ static VOID AboutrEFInd(VOID) { if (AboutMenu.EntryCount == 0) { AboutMenu.TitleImage = BuiltinIcon(BUILTIN_ICON_FUNC_ABOUT); - AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.7.7.2"); + AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.7.8"); AddMenuInfoLine(&AboutMenu, L""); AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2006-2010 Christoph Pfisterer"); AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2012-2013 Roderick W. Smith"); -- 2.39.2