-refind (0.8.0-0ubuntu1) trusty; urgency=medium
+refind (0.8.1-0ppa2) trusty; urgency=medium
+
+ * Revised Debian package to not use version numbers in /usr/share directory names
+
+ -- Rod Smith <rodsmith@louiswu.rodsbooks.com> Fri, 16 May 2014 14:57:11 -0400
+
+refind (0.8.0-0ppa1) trusty; urgency=medium
* Updated for version 0.8.0
- -- Rod Smith <rodsmith@louiswu.rodsbooks.com> Fri, 16 May 2014 09:01:45 -0400
+ -- Rod Smith <rod.smith@canonical.com> Fri, 16 May 2014 09:01:45 -0400
-refind (0.7.8-0ubuntu1) trusty; urgency=low
+refind (0.7.8-0ppa1) trusty; urgency=low
[ Roderick W. Smith ]
* Initial release. (Closes: #1136112)
- -- Rod Smith <rodsmith@louiswu.rodsbooks.com> Sun, 9 Mar 2014 07:59:50 -0500
+ -- Rod Smith <rod.smith@canonical.com> Sun, 9 Mar 2014 07:59:50 -0500
Maintainer: Rod Smith <rod.smith@canonical.com>
Section: misc
Priority: optional
-Standards-Version: 3.9.3
+Standards-Version: 3.9.5
Build-Depends: debhelper (>= 9), gnu-efi
Package: refind
Architecture: any
-Depends: ${misc:Depends}, efibootmgr
+Depends: ${misc:Depends}, efibootmgr, openssl, sbsigntool, util-linux, parted
Description: boot manager for EFI-based computers
A graphical boot manager for EFI- and UEFI-based computers, such as all
Intel-based Macs and recent (most 2011 and later) PCs. rEFInd presents a
boot menu showing all the EFI boot loaders on the EFI-accessible
- partitions, and optionally BIOS-bootable partitions on Macs. EFI-compatbile
- OSes, including Linux, provide boot loaders that rEFInd can detect and
- launch. rEFInd can launch Linux EFI boot loaders such as ELILO, GRUB
- Legacy, GRUB 2, and 3.3.0 and later kernels with EFI stub support. EFI
- filesystem drivers for ext2/3/4fs, ReiserFS, HFS+, and ISO-9660 enable
- rEFInd to read boot loaders from these filesystems, too. rEFInd's ability
- to detect boot loaders at runtime makes it very easy to use, particularly
- when paired with Linux kernels that provide EFI stub support.
+ partitions, and optionally BIOS-bootable partitions on Macs.
+ EFI-compatbile OSes, including Linux, provide boot loaders that rEFInd can
+ detect and launch. rEFInd can launch Linux EFI boot loaders such as ELILO,
+ GRUB Legacy, GRUB 2, and 3.3.0 and later kernels with EFI stub support.
+ EFI filesystem drivers for ext2/3/4fs, ReiserFS, Btrfs, HFS+, and ISO-9660
+ enable rEFInd to read boot loaders from these filesystems, too. rEFInd's
+ ability to detect boot loaders at runtime makes it very easy to use,
+ particularly when paired with Linux kernels that provide EFI stub support.
#!/bin/bash
BUILD_ROOT=$1
-VERSION=0.8.1
KEYDIR=/mnt/refind
UNAMEARCH=`uname -m`
fi
rm -rf $BUILD_ROOT
-mkdir -p $BUILD_ROOT/usr/share/refind-$VERSION/refind/
+mkdir -p $BUILD_ROOT/usr/share/refind/refind/
-# Copy the rEFInd binaries (rEFInd proper and drivers) to /usr/share/refind-$VERSION,
+# Copy the rEFInd binaries (rEFInd proper and drivers) to /usr/share/refind,
# including signing the binaries if sbsign is installed and a $KEYDIR/refind.key file
# is available
declare SBSign=`which sbsign 2> /dev/null`
if [[ -f $KEYDIR/refind.key && -x $SBSign ]] ; then
- $SBSign --key $KEYDIR/refind.key --cert $KEYDIR/refind.crt --output $BUILD_ROOT/usr/share/refind-$VERSION/refind/refind_$EFIARCH.efi refind/refind_$EFIARCH.efi
- mkdir -p $BUILD_ROOT/usr/share/refind-$VERSION/refind/drivers_$EFIARCH
+ $SBSign --key $KEYDIR/refind.key --cert $KEYDIR/refind.crt --output $BUILD_ROOT/usr/share/refind/refind/refind_$EFIARCH.efi refind/refind_$EFIARCH.efi
+ mkdir -p $BUILD_ROOT/usr/share/refind/refind/drivers_$EFIARCH
for File in `ls drivers_$EFIARCH/*_x64.efi` ; do
- $SBSign --key $KEYDIR/refind.key --cert $KEYDIR/refind.crt --output $BUILD_ROOT/usr/share/refind-$VERSION/refind/$File $File
+ $SBSign --key $KEYDIR/refind.key --cert $KEYDIR/refind.crt --output $BUILD_ROOT/usr/share/refind/refind/$File $File
done
- mkdir -p $BUILD_ROOT/usr/share/refind-$VERSION/refind/tools_$EFIARCH
- $SBSign --key $KEYDIR/refind.key --cert $KEYDIR/refind.crt --output $BUILD_ROOT/usr/share/refind-$VERSION/refind/tools_$EFIARCH/gptsync_$EFIARCH.efi gptsync/gptsync_$EFIARCH.efi
+ mkdir -p $BUILD_ROOT/usr/share/refind/refind/tools_$EFIARCH
+ $SBSign --key $KEYDIR/refind.key --cert $KEYDIR/refind.crt --output $BUILD_ROOT/usr/share/refind/refind/tools_$EFIARCH/gptsync_$EFIARCH.efi gptsync/gptsync_$EFIARCH.efi
else
- install -Dp -m0644 refind/refind*.efi $BUILD_ROOT/usr/share/refind-$VERSION/refind/
- mkdir -p $BUILD_ROOT/usr/share/refind-$VERSION/refind/drivers_$EFIARCH
- cp -a drivers_$EFIARCH/* $BUILD_ROOT/usr/share/refind-$VERSION/refind/drivers_$EFIARCH/
- mkdir -p $BUILD_ROOT/usr/share/refind-$VERSION/refind/tools_$EFIARCH
- install -Dp -m0644 gptsync/gptsync_$EFIARCH.efi $BUILD_ROOT/usr/share/refind-$VERSION/refind/tools_$EFIARCH/gptsync_$EFIARCH.efi
+ install -Dp -m0644 refind/refind*.efi $BUILD_ROOT/usr/share/refind/refind/
+ mkdir -p $BUILD_ROOT/usr/share/refind/refind/drivers_$EFIARCH
+ cp -a drivers_$EFIARCH/* $BUILD_ROOT/usr/share/refind/refind/drivers_$EFIARCH/
+ mkdir -p $BUILD_ROOT/usr/share/refind/refind/tools_$EFIARCH
+ install -Dp -m0644 gptsync/gptsync_$EFIARCH.efi $BUILD_ROOT/usr/share/refind/refind/tools_$EFIARCH/gptsync_$EFIARCH.efi
fi
-# Copy configuration and support files to /usr/share/refind-$VERSION
-install -Dp -m0644 refind.conf-sample $BUILD_ROOT/usr/share/refind-$VERSION/refind/
-cp -a icons $BUILD_ROOT/usr/share/refind-$VERSION/refind/
-install -Dp -m0755 install.sh $BUILD_ROOT/usr/share/refind-$VERSION/
+# Copy configuration and support files to /usr/share/refind
+install -Dp -m0644 refind.conf-sample $BUILD_ROOT/usr/share/refind/refind/
+cp -a icons $BUILD_ROOT/usr/share/refind/refind/
+install -Dp -m0755 install.sh $BUILD_ROOT/usr/share/refind/
-# Copy documentation to /usr/share/doc/refind-$VERSION
-mkdir -p $BUILD_ROOT/usr/share/doc/refind-$VERSION
-cp -a docs/* $BUILD_ROOT/usr/share/doc/refind-$VERSION/
-install -Dp -m0644 NEWS.txt COPYING.txt LICENSE.txt README.txt CREDITS.txt $BUILD_ROOT/usr/share/doc/refind-$VERSION
+# Copy documentation to /usr/share/doc/refind
+mkdir -p $BUILD_ROOT/usr/share/doc/refind
+cp -a docs/* $BUILD_ROOT/usr/share/doc/refind/
+install -Dp -m0644 NEWS.txt COPYING.txt LICENSE.txt README.txt CREDITS.txt $BUILD_ROOT/usr/share/doc/refind
# Copy keys to /etc/refind.d/keys
mkdir -p $BUILD_ROOT/etc/refind.d/keys
install -Dp -m0755 mkrlconf.sh $BUILD_ROOT/usr/sbin/
install -Dp -m0755 mvrefind.sh $BUILD_ROOT/usr/sbin/
-# Copy banners and fonts to /usr/share/refind-$VERSION
-cp -a banners $BUILD_ROOT/usr/share/refind-$VERSION/
-cp -a fonts $BUILD_ROOT/usr/share/refind-$VERSION/
+# Copy banners and fonts to /usr/share/refind
+cp -a banners $BUILD_ROOT/usr/share/refind/
+cp -a fonts $BUILD_ROOT/usr/share/refind/
+++ /dev/null
-refind_0.8.0-0ubuntu1_amd64.deb misc optional
efibootmgr --bootnum $ExistingEntry --delete-bootnum
fi
-cd /usr/share/refind-0.8.1
+cd /usr/share/refind
declare VarFile=`ls -d /sys/firmware/efi/vars/SecureBoot* 2> /dev/null`
# Note: Two find operations for ShimFile favors shim over PreLoader -- if both are
+++ /dev/null
-misc:Depends=
href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
<p>Originally written: 3/14/2012; last Web page update:
-5/15/2014, referencing rEFInd 0.8.1</p>
+5/16/2014, referencing rEFInd 0.8.1</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>
<ul>
+<li><b>Ubuntu</b>—Although an official Ubuntu package isn't
+ available, I've created a <a
+ href="https://launchpad.net/~rodsmith/+archive/refind">rEFInd PPA</a>
+ for Ubuntu. To use it, type <tt class="userinput">sudo
+ apt-add-repository ppa:rodsmith/refind</tt>, then <tt
+ class="userinput">sudo apt-get update</tt>. You can then type <tt
+ class="userinput">apt-get install refind</tt> to install the package.
+ Thereafter, the rEFInd version will update along with your other
+ software. This package is built with GNU-EFI and is not signed with a
+ Secure Boot key; however, the install script (which launches
+ automatically when you install the package) should sign the binary with
+ a locally-generated key if it detects that your system uses Secure
+ Boot. Thus, if you've previously installed one of my binaries on a
+ Secure Boot system and added its key as a MOK, you'll have to add your
+ local key when you reboot.</li>
+
<li><b>Arch Linux</b>—You can obtain rEFInd from the Arch
repositories, in both a stable version (the <tt>refind-efi</tt> package
installable via <tt>pacman</tt>) and an experimental release built from