]> code.delx.au - refind/commitdiff
Debian package-creation file changes to better support an Ubuntu PPA.
authorsrs5694 <srs5694@users.sourceforge.net>
Fri, 16 May 2014 22:53:29 +0000 (18:53 -0400)
committersrs5694 <srs5694@users.sourceforge.net>
Fri, 16 May 2014 22:53:29 +0000 (18:53 -0400)
debian/changelog
debian/control
debian/debinstall
debian/files [deleted file]
debian/postinst
debian/refind.substvars [deleted file]
docs/refind/getting.html

index 0fd540b68c4a59f3e296c7c1b1203eb73c822c76..03838e3410a3790aa6bbed23a1f831d4aa9f09cf 100644 (file)
@@ -1,12 +1,18 @@
-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
index c0fe492dee2c7019127554a6c63fc3b8eeaf30e5..f20e4cdb29378f8f35e2209b2337cb877b2fe878 100644 (file)
@@ -2,21 +2,21 @@ Source: refind
 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.
index 6372a89dd12a2ae47835a04040352cbca919d3b3..cdbd44fd38f47e08352e68cb399ba7d45403dd45 100755 (executable)
@@ -1,7 +1,6 @@
 #!/bin/bash
 
 BUILD_ROOT=$1
-VERSION=0.8.1
 KEYDIR=/mnt/refind
 
 UNAMEARCH=`uname -m`
@@ -14,37 +13,37 @@ else
 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
@@ -55,7 +54,7 @@ mkdir -p $BUILD_ROOT/usr/sbin
 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/
 
diff --git a/debian/files b/debian/files
deleted file mode 100644 (file)
index 9640fea..0000000
+++ /dev/null
@@ -1 +0,0 @@
-refind_0.8.0-0ubuntu1_amd64.deb misc optional
index 831c8db35a45e862e705e1021e4e7578456376e4..76df587a028eeac8f840e429c4d04164cd37ed4f 100755 (executable)
@@ -10,7 +10,7 @@ if [[ -n $ExistingEntry ]] ; then
    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
diff --git a/debian/refind.substvars b/debian/refind.substvars
deleted file mode 100644 (file)
index abd3ebe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-misc:Depends=
index ed43e16ccb43c20bbd7ec858878a61e9db28dc13..dc989b5604ceac20ab9d9af08f77ecbab13c204e 100644 (file)
@@ -15,7 +15,7 @@
 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>
 
@@ -250,6 +250,22 @@ computer.</p>
 
 <ul>
 
+<li><b>Ubuntu</b>&mdash;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>&mdash;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