diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-10 14:26:31 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-10 14:26:31 -0300 |
commit | 0281f473276b0a6278686a8ecaaf10b39f1d3828 (patch) | |
tree | 5556a86c4d8c5c7d687aeadbec48ca5a1ce19d7b /libre/lilo | |
parent | 331d47322498c7ea36f5535c566eecd0e82a8916 (diff) | |
parent | 3db2f39f6ac41f10a4aabe33b4d4ee7b97a9fbef (diff) | |
download | abslibre-0281f473276b0a6278686a8ecaaf10b39f1d3828.tar.gz abslibre-0281f473276b0a6278686a8ecaaf10b39f1d3828.tar.bz2 abslibre-0281f473276b0a6278686a8ecaaf10b39f1d3828.zip |
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to 'libre/lilo')
-rw-r--r-- | libre/lilo/PKGBUILD | 44 | ||||
-rw-r--r-- | libre/lilo/lilo.conf | 25 | ||||
-rw-r--r-- | libre/lilo/lilo.install | 5 |
3 files changed, 74 insertions, 0 deletions
diff --git a/libre/lilo/PKGBUILD b/libre/lilo/PKGBUILD new file mode 100644 index 000000000..169037bc2 --- /dev/null +++ b/libre/lilo/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> +# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy> + +pkgname=lilo +pkgver=23.2 +pkgrel=3 +pkgdesc="A bootloader for Linux (Parabola rebranded)" +arch=('i686' 'x86_64') +url="https://alioth.debian.org/projects/lilo/" +license=('BSD') +# While lilo should stay in the base category, +# it usually makes no sense if it is installed +# with pacman -S base, therefore, don't add +# the base group here. +#groups=('base') +backup=('etc/lilo.conf') +depends=('device-mapper' 'coreutils') +makedepends=('bin86' 'sharutils') +optdepends=('perl: to use keytab-lilo') +replaces=('lilo') +conflicts=('lilo') +provides=("lilo=$pkgver") +install=lilo.install +options=('!makeflags') +source=("http://lilo.alioth.debian.org/ftp/sources/${pkgname}-${pkgver}.tar.gz" + 'lilo.conf') +md5sums=('51b9b9db665d3b8724919e3d46054d12' + 'bab0a13b749690ce5e4f61bb1c10c065') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export LC_ALL=C + make all +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -D -m644 "${srcdir}/lilo.conf" "${pkgdir}/etc/lilo.conf" + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/libre/lilo/lilo.conf b/libre/lilo/lilo.conf new file mode 100644 index 000000000..dea0dbe58 --- /dev/null +++ b/libre/lilo/lilo.conf @@ -0,0 +1,25 @@ +# +# /etc/lilo.conf +# + +boot=/dev/sda +# This line often fixes L40 errors on bootup +# disk=/dev/sda bios=0x80 + +default=libre +timeout=50 +lba32 +prompt + +image=/boot/vmlinuz-linux-libre + label=libre + root=/dev/sda3 + initrd=/boot/initramfs-linux-libre.img + read-only + +image=/boot/vmlinuz-linux-libre + label=libre-fallback + root=/dev/sda3 + initrd=/boot/initramfs-linux-libre-fallback.img + read-only + diff --git a/libre/lilo/lilo.install b/libre/lilo/lilo.install new file mode 100644 index 000000000..7375fddf8 --- /dev/null +++ b/libre/lilo/lilo.install @@ -0,0 +1,5 @@ +post_upgrade() { + echo + echo "If you use the LILO bootloader, you should run 'lilo' after upgrading." + echo +} |