Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=08aa0a9c76f9278591e5afe864af51b64a6593dd
commit 08aa0a9c76f9278591e5afe864af51b64a6593dd Author: James Buren <[email protected]> Date: Mon May 2 01:48:53 2011 -0500 elilo-3.14-2-i686 * use prebuilt efi binary (compiled wasn't working) * add sample conf * install script that reloads kernel image on upgrade to kernel diff --git a/source/base-extra/elilo/FrugalBuild b/source/base-extra/elilo/FrugalBuild index b82eb36..4623c8d 100644 --- a/source/base-extra/elilo/FrugalBuild +++ b/source/base-extra/elilo/FrugalBuild @@ -3,25 +3,23 @@ pkgname=elilo pkgver=3.14 -pkgrel=1 -pkgdesc="A clone of LILO designed to work on EFI systems on x86/x86_64." -depends=() -makedepends=('gnu-efi') +pkgrel=2 +pkgdesc="A clone of LILO designed to work on EFI and UEFI systems on x86/x86_64." +Finclude kernel-version +depends=("kernel=$_F_kernelver_ver-$_F_kernelver_rel") groups=('base-extra') archs=('i686' 'x86_64') _F_sourceforge_ext='-all.tar.gz' Finclude sourceforge -sha1sums=('631fdf211627510b270f0759c26587edb8d30001') +source=(${source[@]} $pkgname.conf) +sha1sums=('631fdf211627510b270f0759c26587edb8d30001' \ + 'b17f7a7411d3fff193953df6ae2ca4e99019c909') +backup=("boot/esp/efi/frugalware/elilo/$pkgname.conf") build() { Fextract $pkgname-$pkgver-source.tar.gz - Fcd $pkgname - Fsed "-O2" "$CFLAGS" Make.defaults - Fexec make - Ffilerel /boot/efi/efi/frugalware/elilo/$pkgname.efi - Fdocrel docs/{elilo,netbooting}.txt + Ffile $pkgname-$pkgver-x86_64.efi /boot/esp/efi/frugalware/elilo/$pkgname.efi + Fdoc $pkgname/docs/*.txt + Ffile /boot/esp/efi/frugalware/elilo/$pkgname.conf } - - -# optimization OK diff --git a/source/base-extra/elilo/elilo.conf b/source/base-extra/elilo/elilo.conf new file mode 100644 index 0000000..78bd129 --- /dev/null +++ b/source/base-extra/elilo/elilo.conf @@ -0,0 +1,6 @@ +image=vmlinuz + label=frugalware + description="Frugalware" + read-only + root=/dev/xxxx + append="quiet" diff --git a/source/base-extra/elilo/elilo.install b/source/base-extra/elilo/elilo.install new file mode 100644 index 0000000..4d7eecc --- /dev/null +++ b/source/base-extra/elilo/elilo.install @@ -0,0 +1,18 @@ +post_install() +{ + cp -f /boot/vmlinuz /boot/esp/efi/frugalware/elilo/vmlinuz +} + +post_upgrade() +{ + post_install +} + +pre_remove() +{ + rm -f /boot/esp/efi/frugalware/elilo/vmlinuz +} + +op=$1 +shift +$op $* _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
