summaryrefslogtreecommitdiff
path: root/libre/gummiboot
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
commitfcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch)
tree2634d6d68316f3f4dd51f378e826da884a919288 /libre/gummiboot
parentc5822ca785d156da9849d5e25dc79a93d1fac22d (diff)
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/gummiboot')
-rw-r--r--libre/gummiboot/PKGBUILD51
-rw-r--r--libre/gummiboot/gummiboot.install13
-rw-r--r--libre/gummiboot/loader.conf2
-rw-r--r--libre/gummiboot/parabola.conf7
-rw-r--r--libre/gummiboot/splash-parabola.bmpbin0 -> 470410 bytes
5 files changed, 73 insertions, 0 deletions
diff --git a/libre/gummiboot/PKGBUILD b/libre/gummiboot/PKGBUILD
new file mode 100644
index 000000000..018326c57
--- /dev/null
+++ b/libre/gummiboot/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 212780 2014-05-15 06:02:26Z tpowa $
+# Maintainer (Arch): Tom Gundersen <teg@jklm.no>
+# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
+# Contributor (Arch): Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor (Arch): Mantas Mikulėnas <grawity@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=gummiboot
+pkgver=45
+pkgrel=1.parabola1
+pkgdesc="Simple UEFI Boot Manager (Parabola rebranded)"
+url="http://freedesktop.org/wiki/Software/gummiboot"
+arch=('x86_64' 'i686' 'mips64el')
+license=('LGPL2.1')
+makedepends=('gnu-efi-libs' 'docbook-xsl' 'git')
+depends=('util-linux')
+replaces=('gummiboot-efi' "${pkgname}-parabola")
+conflicts=('gummiboot-efi' "${pkgname}-parabola")
+provides=('gummiboot-efi')
+options=('!strip' '!makeflags')
+source=("git://anongit.freedesktop.org/$pkgname#tag=$pkgver"
+ 'loader.conf'
+ 'parabola.conf'
+ 'splash-parabola.bmp')
+install=gummiboot.install
+md5sums=('SKIP'
+ '3d700d13aec5ab1b78a921eaf22e5bfa'
+ '36ee74767ac8734dede1cbd0f4f275d7'
+ 'c146ea0e16fff867164e113c48c91fff')
+
+build() {
+ cd ${srcdir}/${pkgname}
+
+ ./autogen.sh
+ ./configure --sysconfdir=/etc --with-efi-ldsdir=/usr/lib --libexecdir=/usr/lib --libdir=/usr/lib
+
+ make
+}
+
+package() {
+ ## Install gummiboot example configuration files (can go away with systemd's kernel-install)
+ install -D -m0644 "${srcdir}/loader.conf" "${pkgdir}/usr/lib/gummiboot/loader/loader.conf"
+ install -D -m0644 "${srcdir}/parabola.conf" "${pkgdir}/usr/lib/gummiboot/loader/entries/parabola.conf"
+
+ ## ship an Parabola GNU/Linux-libre boot splash (still has to be dropped in manually to take effect)
+ install -D -m0644 "${srcdir}/splash-parabola.bmp" "${pkgdir}/usr/lib/gummiboot/splash-parabola.bmp"
+
+ cd ${srcdir}/${pkgname}
+
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/libre/gummiboot/gummiboot.install b/libre/gummiboot/gummiboot.install
new file mode 100644
index 000000000..20861d4c8
--- /dev/null
+++ b/libre/gummiboot/gummiboot.install
@@ -0,0 +1,13 @@
+post_install() {
+ mkdir -p /boot/EFI/gummiboot
+ /usr/bin/gummiboot update
+ echo ":: Run '/usr/bin/gummiboot install' to make gummiboot your default bootloader"
+}
+
+post_upgrade() {
+ /usr/bin/gummiboot update
+}
+
+pre_remove() {
+ /usr/bin/gummiboot remove
+}
diff --git a/libre/gummiboot/loader.conf b/libre/gummiboot/loader.conf
new file mode 100644
index 000000000..b8bfb988e
--- /dev/null
+++ b/libre/gummiboot/loader.conf
@@ -0,0 +1,2 @@
+timeout 10
+default parabola
diff --git a/libre/gummiboot/parabola.conf b/libre/gummiboot/parabola.conf
new file mode 100644
index 000000000..111072ea2
--- /dev/null
+++ b/libre/gummiboot/parabola.conf
@@ -0,0 +1,7 @@
+## This is just an example config file.
+## Please edit the paths and kernel parameters according to your system.
+
+title Parabola GNU/Linux-libre
+linux /vmlinuz-linux-libre
+initrd /initramfs-linux-libre.img
+options root=PARTUUID=XXXX rootfstype=XXXX add_efi_memmap
diff --git a/libre/gummiboot/splash-parabola.bmp b/libre/gummiboot/splash-parabola.bmp
new file mode 100644
index 000000000..11ceeff28
--- /dev/null
+++ b/libre/gummiboot/splash-parabola.bmp
Binary files differ