]> code.delx.au - refind/commitdiff
Version 0.10.5 release.
authorsrs5694 <srs5694@users.sourceforge.net>
Sat, 4 Mar 2017 23:43:12 +0000 (18:43 -0500)
committersrs5694 <srs5694@users.sourceforge.net>
Sat, 4 Mar 2017 23:43:12 +0000 (18:43 -0500)
26 files changed:
Makefile
NEWS.txt
debian/changelog
docs/man/mkrlconf.8
docs/man/mvrefind.8
docs/man/refind-install.8
docs/man/refind-mkdefault.8
docs/refind/bootcoup.html
docs/refind/bootmode.html
docs/refind/configfile.html
docs/refind/drivers.html
docs/refind/features.html
docs/refind/getting.html
docs/refind/index.html
docs/refind/installing.html
docs/refind/linux.html
docs/refind/revisions.html
docs/refind/secureboot.html
docs/refind/sip.html
docs/refind/themes.html
docs/refind/todo.html
docs/refind/using.html
filesystems/fsw_efi.c
refind-install
refind.spec
refind/mystrings.c

index 34fe46133e92647029531f1e3fb2beaabe3cb649..85b0eeaf7915c9e158997a04694890dc6a71f30b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ MOK_DIR=mok
 GPTSYNC_DIR=gptsync
 EFILIB_DIR=EfiLib
 export EDK2BASE=/usr/local/UDK2014/MyWorkSpace
-export REFIND_VERSION='L"0.10.4.4"'
+export REFIND_VERSION='L"0.10.5"'
 
 # The "all" target builds with the TianoCore library if possible, but falls
 # back on the more easily-installed GNU-EFI library if TianoCore isn't
index 13f18d57738fc29209cff4ef841a4596e9405a86..dd779642677f9e1b8cafcab05001103900e4f1fa 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -1,5 +1,5 @@
-0.10.5 (??/??/2017):
---------------------
+0.10.5 (3/4/2017):
+------------------
 
 - Two improvements to initrd detection for Linux kernels:
   - If multiple initrd files match the kernel's version number, the file
index 4f099efeb3adb1b7ac9744469968a6aa9f52f44e..0a41e994fd1ae6f78caa31c0b4044dafd94aa05e 100644 (file)
@@ -1,3 +1,9 @@
+refind (0.10.5-0ppa1) xenial; urgency=medium
+
+  * Version bump
+
+ -- Roderick Smith <rodsmith@rodsbooks.com>  Sat, 04 Mar 2017 18:18:50 -0500
+
 refind (0.10.4.2-0ppa1) xenial; urgency=medium
 
   * Version bump
index 3755a4f1a4ccbedb5a4923bd90f2cbf3cd9d7a99..3984613f476385acc357119b9a63a05e3d205400 100644 (file)
@@ -1,7 +1,7 @@
 .\" Copyright 2015-2016 Roderick W. Smith (rodsmith@rodsbooks.com)
 .\" May be distributed under the GNU Free Documentation License version 1.3 or
 any later version
-.TH "MKRLCONF" "8" "0.10.4" "Roderick W. Smith" "rEFInd Manual"
+.TH "MKRLCONF" "8" "0.10.5" "Roderick W. Smith" "rEFInd Manual"
 .SH "NAME"
 mkrlconf \- Create a Linux kernel configuration file for rEFInd
 .SH "SYNOPSIS"
index a45b23e845563e8adbbd867840267d5a2e36377d..097798f147d2c82b323c6c5c48725fcbf4ca3dfa 100644 (file)
@@ -1,7 +1,7 @@
 .\" Copyright 2015-2016 Roderick W. Smith (rodsmith@rodsbooks.com)
 .\" May be distributed under the GNU Free Documentation License version 1.3 or
 any later version
-.TH "MVREFIND" "8" "0.10.4" "Roderick W. Smith" "rEFInd Manual"
+.TH "MVREFIND" "8" "0.10.5" "Roderick W. Smith" "rEFInd Manual"
 .SH "NAME"
 mvrefind \- Move a rEFInd installation from one location to another
 .SH "SYNOPSIS"
index d479e29592bd35e7d4200cd827079c2017350641..23dcff3fc8c645133e8c7ba995352d1623c9b5a3 100644 (file)
@@ -1,7 +1,7 @@
 .\" Copyright 2015-2016 Roderick W. Smith (rodsmith@rodsbooks.com)
 .\" May be distributed under the GNU Free Documentation License version 1.3 or
 any later version
-.TH "REFIND-INSTALL" "8" "0.10.4" "Roderick W. Smith" "rEFInd Manual"
+.TH "REFIND-INSTALL" "8" "0.10.5" "Roderick W. Smith" "rEFInd Manual"
 .SH "NAME"
 refind-install \- Install rEFInd to the ESP and create an NVRAM entry
 .SH "SYNOPSIS"
index 7006a2fceb10dbda6062db31af6aae76a1557800..46338644b00c8f90bdb294aa79121f27134b15f5 100644 (file)
@@ -1,7 +1,7 @@
 .\" Copyright 2016 Roderick W. Smith (rodsmith@rodsbooks.com)
 .\" May be distributed under the GNU Free Documentation License version 1.3 or
 any later version
-.TH "REFIND-MKDEFAULT" "8" "0.10.4" "Roderick W. Smith" "rEFInd Manual"
+.TH "REFIND-MKDEFAULT" "8" "0.10.5" "Roderick W. Smith" "rEFInd Manual"
 .SH "NAME"
 refind-mkdefault \- Set rEFInd as the default EFI boot option
 .SH "SYNOPSIS"
index fd3b591f906d1a477a948cd5ba49815690753119..e0b98865121752237940b068db19c37f48837d14 100644 (file)
@@ -16,7 +16,7 @@
 <p class="subhead">by Roderick W. Smith, <a
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
-<p>Originally written: 10/9/2016, referencing rEFInd 0.10.4</p>
+<p>Originally written: 3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -567,7 +567,7 @@ Boot0085* ubuntu</pre>
 
 <hr />
 
-<p>copyright &copy; 2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2016&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index cc10660fa3953062732b2b093b784e82e6cd0d5d..b28b29635a9b01cd744669b3b45cfd49e447c1f9 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>\r
 \r
 <p>Originally written: 3/14/2012; last Web page update:\r
-10/29/2016, referencing rEFInd 0.10.4</p>\r
+3/4/2017, referencing rEFInd 0.10.5</p>\r
 \r
 \r
 <p>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!</p>\r
@@ -278,7 +278,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 \r
 <hr />\r
 \r
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>\r
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>\r
 \r
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>\r
 \r
index 726051ac44971d5c64bac8ddb6644f50f098929c..8240d469601a1a81db5c9c66bf4a7087df7acdf7 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/14/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -661,7 +661,7 @@ menuentry Arch {
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index d145a1355145a61064f4e176c35e28b408888009..5fb8a72a8a46056bab841c71bc8410c55f0a2f3c 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 4/19/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -401,7 +401,7 @@ controller card.</p>
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index eddb5fe29a24d25b58ab30caeec704791aad3161..7b75819ef2b0f41d52c2678f452627d2aec0ad6b 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/14/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 <p>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!</p>
 
@@ -254,7 +254,7 @@ such as those with Gigabyte's Hybrid EFI, lack a usable CSM.</li>
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index 2538d183efb64feefd206cc84b048ccde4aa8e07..b83ea4106fb075c8b8efcaa7458982123387b5a7 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/14/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 <p>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!</p>
 
@@ -132,7 +132,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 <ul>
 
 <li><b><a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind-bin-0.10.4.zip/download">A
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind-bin-0.10.5.zip/download">A
     binary zip file</a></b>&mdash;Download this if you want to install rEFInd
     and/or its filesystem drivers on an <i>x</i>86, <i>x</i>86-64, or ARM64
     computer and have no need to test rEFInd first by booting it on an optical
@@ -142,13 +142,13 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
     the <a href="installing.html">Installing rEFInd</a> page. Some users of Arch
     Linux have reported problems booting some specific Arch Linux kernels with
     rEFInd and some other tools. For them, a <a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind-bin-gnuefi-0.10.4.zip/download">variant
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind-bin-gnuefi-0.10.5.zip/download">variant
     package</a> exists in which the <i>x</i>86-64 binary was compiled with
     GNU-EFI rather than the usual TianoCore EDK2. This change helps some users
     with this problem.</li>
 
 <li><b><a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind-0.10.4-1.x86_64.rpm/download">A
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind-0.10.5-1.x86_64.rpm/download">A
     binary RPM file</a></b>&mdash;If you use an RPM-based <i>x</i>86-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
@@ -158,13 +158,13 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
     installation process. Distribution maintainers can examine the
     <tt>refind.spec</tt> file in the source package and tweak it to their
     needs. The <a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind-0.10.4-1.src.rpm/download">source
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind-0.10.5-1.src.rpm/download">source
     RPM file</a> might or might not build on your system as-is; it relies
     on assumptions about the locations of the GNU-EFI development
     files.</li>
 
 <li><b><a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind_0.10.4-1_amd64.deb/download">A
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind_0.10.5-1_amd64.deb/download">A
     binary Debian package</a></b>&mdash;If you use an <i>x</i>86-64 version
     of Debian, Ubuntu, Mint, or another Debian-based distribution, you can
     install from this package, which was converted from the binary RPM
@@ -175,7 +175,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 <p class="sidebar"><b>Note:</b> At the moment, neither the bootable CD-R image file nor the bootable USB flash drive image file supports booting with Secure Boot active. The x86-64 version of the <a href="http://en.altlinux.org/Rescue">ALT Linux Rescue disc</a> uses a Secure Boot-enabled rEFInd, though, so you may find that useful in some situations.</p>
 
 <li><b><a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind-cd-0.10.4.zip/download">A
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind-cd-0.10.5.zip/download">A
     CD-R image file</a></b>&mdash;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
@@ -199,14 +199,14 @@ first partition on <tt>/dev/sdd</tt>. This procedure should work even on a
 BIOS-booted computer.</p>
 
 <li><b><a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind-flashdrive-0.10.4.zip/download">A
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind-flashdrive-0.10.5.zip/download">A
     USB flash drive image file</a></b>&mdash;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 <tt>dd</tt> or some
     other low-level disk copying utility.</li>
 
 <li><b><a
-    href="http://sourceforge.net/projects/refind/files/0.10.4/refind-src-0.10.4.tar.gz/download">A
+    href="http://sourceforge.net/projects/refind/files/0.10.5/refind-src-0.10.5.tar.gz/download">A
     source code tarball</a></b>&mdash;This is useful if you want to compile
     the software locally. Note that I use Linux with the <a
     href="https://sourceforge.net/projects/tianocore/">TianoCore EFI
@@ -323,7 +323,7 @@ BIOS-booted computer.</p>
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index f40d33a6da86f0986464f63e4cf9775048b449da..6b8cdd5620e86504137ee53ce52418b38641e54f 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/14/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
index 906f42102c929621a21067e7b40bb30c327f42ba..b54a8295c3d31081d6ccde31787c094231f01760 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/14/2012; last Web page update:
-9/10/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -1094,7 +1094,7 @@ may work, although I've not attempted this.</p>
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2015 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index e378fedb8b18d7ce57fc91854a419fac6cab1107..72d861f471283eeee900909613be353fda2ef702 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/19/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -366,30 +366,60 @@ extends it as follows:</p>
 
 <p class="sidebar">A kernel whose filename lacks a version string matches an initial RAM disk that also lacks a version string in its filename. Note that you can reliably use only <i>one</i> kernel and initial RAM disk per directory that lack version numbers in their filenames.</p>
 
-<li>rEFInd looks for an initial RAM disk in the same directory as the
-    kernel file. A matching initial RAM disk has a name that begins with
+<li>rEFInd looks for an initial RAM disk in the same directory as the kernel
+    file. A matching initial RAM disk has a name that begins with
     <tt>init</tt> and that includes the same version string as the kernel.
-    The version string is defined as the part of the filename from the
-    first digit to the last digit, inclusive. Note that the version string
-    can include non-digits. For instance, the version string for
+    The version string is defined as the part of the filename from the first
+    digit to the last digit, inclusive. Note that the version string can
+    include non-digits. For instance, the version string for
     <tt>bzImage-3.19.0.efi</tt> is <tt>3.19.0</tt>, which matches
     <tt>initramfs-3.19.0.bz</tt>; and
     <tt>vmlinuz-4.2.5-300.fc23.x86_64</tt>'s version string is
     <tt>4.2.5-300.fc23.x86_64</tt>, which matches
     <tt>initrd-4.2.5-300.fc23.x86_64.img</tt>. Many other matches are
-    possible. If an initial RAM disk is identified, rEFInd passes a
-    suitable <tt>initrd=</tt> option to the kernel when it boots.</li>
+    possible. If an initial RAM disk is identified, rEFInd passes a suitable
+    <tt>initrd=</tt> option to the kernel when it boots. There are two
+    variants on this rule:
+
+    <ul>
+
+    <li>As an extension to the preceding point, if multiple initial RAM disk
+       files match one kernel, the one whose filename matches the most
+       characters after the version string is used. For instance, suppose
+       the kernel filename is <tt>vmlinuz-4.8.0-32-standard</tt>, and two
+       initial RAM disk files are <tt>initrd-4.8.0-32-standard</tt> and
+       <tt>initrd-4.8.0-32-debug</tt>. The first of those files has nine
+       matching characters after the version string (<tt>-standard</tt>),
+       vs. just one matching character (<tt>-</tt>) for the second. Thus,
+       the first file will be used.</li>
+
+    <li>If the <tt>refind_linux.conf</tt> file (described next) is present,
+       and if an <tt>initrd=</tt> specification is present for the option
+       you're using, rEFInd will <i>not</i> add a pointer to the initial
+       RAM disk file that it discovers. This feature enables you to
+       override rEFInd's initial RAM disk discovery. This is most useful in
+       Arch Linux, which can be configured with two different initial RAM
+       disk files, one to be used for normal booting and one for recovery
+       situations. You can specify each initial RAM disk file on its own
+       line, which gives you the ability to control which to use at boot
+       time.</li></ul>
 
 <li>rEFInd looks for a file called <tt>refind_linux.conf</tt> in the same
-    directory as the kernel file. It consists of a series of lines,
-    each of which consists of a label followed by a series of kernel
-    options. The first line sets default options, and subsequent lines set
-    options that are accessible from the main menu tag's submenu screen. If
-    you installed rEFInd with the <tt>refind-install</tt>
-    script, that script created a sample <tt>refind_linux.conf</tt> file,
-    customized for your computer, in <tt>/boot</tt>. This file will work
-    without changes on many installations, but you may need to tweak it for
-    some.</li>
+    directory as the kernel file. It consists of a series of lines, each of
+    which consists of a label followed by a series of kernel options. The
+    first line sets default options, and subsequent lines set options that
+    are accessible from the main menu tag's submenu screen. If you installed
+    rEFInd with the <tt>refind-install</tt> script, that script created a
+    sample <tt>refind_linux.conf</tt> file, customized for your computer, in
+    <tt>/boot</tt>. This file will work without changes on many
+    installations, but you may need to tweak it for some. If the kernel
+    options string includes the substring <tt>%v</tt>, rEFInd substitutes
+    the kernel version number for that string. (If you need the actual
+    string <tt>%v</tt> in your kernel options, use <tt>%%v</tt> instead;
+    rEFInd will change this to <tt>%v</tt>.) This feature can be used to
+    match an initial RAM disk file that requires special treatment, such as
+    if you have multiple numbered kernels, each of which has two initial RAM
+    disk files.</li>
 
 <li>If rEFInd can't find a <tt>refind_linux.conf</tt> file in the directory
     that holds the kernel, the program looks for a file called
@@ -408,7 +438,7 @@ extends it as follows:</p>
 
 <li>If rEFInd can't find a <tt>refind_linux.conf</tt> file or an
     <tt>/etc/fstab</tt> file, it tries to identify the Linux root
-    (<tt>/</tt> filesystem by looking for a partition with a GUID type code
+    (<tt>/</tt>) filesystem by looking for a partition with a GUID type code
     matching that specified for the root (<tt>/</tt>) filesystem in the <a
     href="http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/">Freedesktop.org
     Discoverable Partitions Specification.</a> These type codes are as yet
@@ -469,7 +499,8 @@ total 17943
 <li>All the kernels in a given directory use the same
     <tt>refind_linux.conf</tt> file. If you need to set different options
     for different kernels, you'll need to place those kernels in different
-    directories.</li>
+    directories. (A partial exception is the kernel version string, which
+    can be passed via the <tt>%v</tt> variable, as noted earlier.)</li>
 
 <li>You must place your kernels in a directory other than the one that
     holds the main rEFInd <tt>.efi</tt> file. This is because rEFInd does
@@ -489,7 +520,7 @@ total 17943
 
 <hr/>
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index 50ba6f7fb644b23b20c00b578c035c1f5a2717f9..6f372639a5502fdf5e9c2f1243b62c090ee8376c 100644 (file)
@@ -16,7 +16,7 @@
 <p class="subhead">by Roderick W. Smith, <a
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
-<p>Last Web page update: 10/9/2016</p>
+<p>Last Web page update: 3/4/2017</p>
 
 <p>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!</p>
 
@@ -126,6 +126,53 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <ul>
 
+<li><b>0.10.5 (3/4/2017)</b>&mdash;This version includes a number of
+    modest changes, most of which will be of interest to relatively few
+    people:
+    <ul>
+
+    <li>The touch/tablet support has been improved and so may work with
+        a few more systems.</li>
+
+    <li>The <tt>refind-install</tt> script has been updated to work better
+       with disks other than those whose names take the form
+       <tt>/dev/sd?</tt> and <tt>/dev/hd?</tt> (in Linux).</li>
+
+    <li>For the benefit of new Apple laptops that lack physical Esc and
+       function keys, additional keybindings have been added: Backspace
+       (Delete on most Mac keyboards) now works the same as Esc, and Tab
+       now works the same as F2/Insert/<tt>+</tt>.</li>
+
+    <li>The Linux initial RAM disk detection code has been expanded so that,
+       if two initial RAM disk files are found for a kernel, the one with
+       more characters after the version string that match the equivalent
+       characters in the kernel filename will be used. For instance,
+       suppose the kernel filename is <tt>vmlinuz-4.8.0-32-standard</tt>,
+       and two initial RAM disk files are
+       <tt>initrd-4.8.0-32-standard</tt> and
+       <tt>initrd-4.8.0-32-debug</tt>. The first of those files has nine
+       matching characters after the version string (<tt>-standard</tt>),
+       vs. just one matching character (<tt>-</tt>) for the second. Thus,
+       the first file will be used.</li>
+
+    <li>A second change to Linux initial RAM disk detection is that you can
+       now specify the kernel version string with the string <tt>%v</tt> in
+       the <tt>refind_linux.conf</tt> file's options field. Thus, if your
+       distribution provides two initial RAM disk files per kernel, and
+       also provides numbered kernels, you can create a
+       <tt>refind_linux.conf</tt> file that enables you to boot with either
+       (or both) of the initial RAM disk files that match a specific
+       kernel.</li>
+
+    <li>I've done some minor code optimization in the functions that search
+       for boot loaders. This had no noticeable effect on speed for me, and
+       is likely to be more than offset by the more complex initial RAM
+       disk processing noted above; but it might help a little bit on
+       systems with many boot loaders or kernels.</li>
+
+    </ul>
+</li>
+
 <li><b>0.10.4 (10/9/2016)</b>&mdash;The number of changes in this
     version is modest, but some features are important to some people:
 
@@ -443,7 +490,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index 470d7109877b2c0b7b30f25560740fe96dd5b0f1..a81377489dfc24bc33931f367c58508ce3238389 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 11/13/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -531,7 +531,7 @@ $ <tt class="userinput">openssl x509 -in refind_local.crt -out refind_local.cer
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index 1b5f6620d14247036c426ad42bb8a5c22d406139..af53d385320633ef3b415ff94975dffceb4268fd 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 11/8/2015; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -324,7 +324,7 @@ csr_values 10,77</pre>
 
 <hr />
 
-<p>copyright &copy; 2015-2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2015&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index 38340cba1264a496587b59d61f2deb36aba5cbcd..c4cb7f950127b7f4a2277efb43a4ee7bb7f21b0f 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 4/19/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -348,21 +348,13 @@ to be tedious.</p>
     align="center" width="750" alt="A clean theme with a light background"
     border=2> </a></center><br />
 
-<li>Nitrofurano has posted <a href="http://opendesktop.org/content/show.php?content=169069">a 1970s-inspired theme</a> on opendesktop.org.</li>
-
-    <br /><center><a
-    href="http://opendesktop.org/content/show.php?content=169069"><img
-    src="http://opendesktop.org/CONTENT/content-pre1/169069-1.png"
-    align="center" width="750" alt="Like disco and John Travolta? Maybe
-    this theme is for you!" border=2> </a></center><br />
-
 </ul>
 
 <p>If you've created or discovered another rEFInd theme, please <a href="mailto:rodsmith@rodsbooks.com">tell me about it</a> so that I can provide a link to it from this page.</p>
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index 761566acf86b3116dabdde015133db1947b8ab2d..8771430d957b22463306a576730ca2fa78055477 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/14/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2016, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
index 5101d8bbc4afd115db18aedc60cdc6067e10f7d3..671ee0a289d50f3e701f1e3342af52d3de67b9c0 100644 (file)
@@ -17,7 +17,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <p>Originally written: 3/14/2012; last Web page update:
-10/9/2016, referencing rEFInd 0.10.4</p>
+3/4/2017, referencing rEFInd 0.10.5</p>
 
 
 <p>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!</p>
@@ -384,7 +384,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 
 <hr />
 
-<p>copyright &copy; 2012&ndash;2016 by Roderick W. Smith</p>
+<p>copyright &copy; 2012&ndash;2017 by Roderick W. Smith</p>
 
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>
 
index 8c38d9c3efa39f238016604e707a9659fa931efb..9fe1e5518e28ec660951dc424692e02c226a1347 100644 (file)
@@ -80,7 +80,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.10.4 " FSW_EFI_STRINGIFY(t) L" File System Driver"
+#define FSW_EFI_DRIVER_NAME(t) L"rEFInd 0.10.5 " FSW_EFI_STRINGIFY(t) L" File System Driver"
 
 // function prototypes
 
index 87b4667859ebc457c622c8522d60fbe660c6e383..5936dc340bdc2d42577251acaefcfc3de5db1694 100755 (executable)
@@ -796,7 +796,7 @@ SetupMacHfs() {
         <key>ProductName</key>
         <string>rEFInd</string>
         <key>ProductVersion</key>
-        <string>0.10.4</string>
+        <string>0.10.5</string>
 </dict>
 </plist>
 ENDOFHERE
index da61e8e8f909daabb2c27fcbc7420e1b6729a6a2..083786e228417d4e08cf5d5a56a4db14ad2f2e9b 100644 (file)
@@ -177,7 +177,7 @@ fi
 # thus wiping out the just-updated files.
 
 %changelog
-* Wed Mar 1 2017 R Smith <rodsmith@rodsbooks.com> - 0.10.5
+* Sat Mar 4 2017 R Smith <rodsmith@rodsbooks.com> - 0.10.5
 - Updated spec file for 0.10.5
 * Sun Oct 9 2016 R Smith <rodsmith@rodsbooks.com> - 0.10.4
 - Updated spec file for 0.10.4
index ca7a6a191babfa2cf6e6d12d774cd7ecff49c300..645511cb0fb03f617986aa9dcaef4fafe7e522f8 100644 (file)
@@ -348,7 +348,8 @@ BOOLEAN IsInSubstring(IN CHAR16 *BigString, IN CHAR16 *List) {
    return Found;
 } // BOOLEAN IsSubstringIn()
 
-// Replace *SearchString in **MainString with *ReplString.
+// Replace *SearchString in **MainString with *ReplString -- but if *SearchString
+// is preceded by "%", instead remove that character.
 // Returns TRUE if replacement was done, FALSE otherwise.
 BOOLEAN ReplaceSubstring(IN OUT CHAR16 **MainString, IN CHAR16 *SearchString, IN CHAR16 *ReplString) {
     BOOLEAN WasReplaced = FALSE;
@@ -360,6 +361,10 @@ BOOLEAN ReplaceSubstring(IN OUT CHAR16 **MainString, IN CHAR16 *SearchString, IN
         if (NewString) {
             EndString = &(FoundSearchString[StrLen(SearchString)]);
             FoundSearchString[0] = L'\0';
+            if ((FoundSearchString > *MainString) && (FoundSearchString[-1] == L'%')) {
+                FoundSearchString[-1] = L'\0';
+                ReplString = SearchString;
+            } // if
             StrCpy(NewString, *MainString);
             MergeStrings(&NewString, ReplString, L'\0');
             MergeStrings(&NewString, EndString, L'\0');