summaryrefslogtreecommitdiff
path: root/libre/gummiboot
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-07 00:46:34 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-07 00:46:34 -0400
commit619b8d955269f2fe74386e98fac07675c8b55352 (patch)
treef3e2610a39c99a7e43bc2b345280b04e398b986a /libre/gummiboot
parent2b04539ac9310541a4e563460aed0cb7715770d2 (diff)
parent7d4e98b2d6f2fd4d42ebb55105bab8a05e34ab94 (diff)
downloadabslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.gz
abslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.bz2
abslibre-619b8d955269f2fe74386e98fac07675c8b55352.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/gummiboot')
-rw-r--r--libre/gummiboot/PKGBUILD44
-rw-r--r--libre/gummiboot/gummiboot.install11
-rw-r--r--libre/gummiboot/loader.conf2
-rw-r--r--libre/gummiboot/parabola.conf7
4 files changed, 64 insertions, 0 deletions
diff --git a/libre/gummiboot/PKGBUILD b/libre/gummiboot/PKGBUILD
new file mode 100644
index 000000000..8ce0f23cf
--- /dev/null
+++ b/libre/gummiboot/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor: Mantas Mikulėnas <grawity@gmail.com>
+
+pkgname="gummiboot"
+pkgver="29"
+pkgrel="1.1"
+pkgdesc="Simple text-mode 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')
+depends=('util-linux')
+conflicts=('gummiboot-efi')
+provides=('gummiboot-efi')
+replaces=('gummiboot-efi')
+options=('!strip')
+source=("ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+ 'loader.conf'
+ 'parabola.conf')
+install="gummiboot.install"
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ ./autogen.sh
+ ./configure --sysconfdir=/etc --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"
+
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('7e133411b805ce6fb5dd3e3bd08b88a2'
+ '3d700d13aec5ab1b78a921eaf22e5bfa'
+ '9f770584795496c0e3409679eaf7be3b')
diff --git a/libre/gummiboot/gummiboot.install b/libre/gummiboot/gummiboot.install
new file mode 100644
index 000000000..770087361
--- /dev/null
+++ b/libre/gummiboot/gummiboot.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo ":: Run '/usr/bin/gummiboot install' to enable gummiboot"
+}
+
+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..bbb6dddfa
--- /dev/null
+++ b/libre/gummiboot/parabola.conf
@@ -0,0 +1,7 @@
+## This is just an exmaple 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