diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-06-11 00:02:11 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-06-11 00:02:11 -0500 |
commit | cddf77d67884c0c62ebbdfb9f0f0d2ae018f1c80 (patch) | |
tree | 2b0f06b3e0271805e8dc4188c5aa3737dee4c84e /main/syslinux/APKBUILD | |
parent | 04bcbc0e40e51345ae68b3743ce5dcdfa6144da4 (diff) | |
download | aports-cddf77d67884c0c62ebbdfb9f0f0d2ae018f1c80.tar.bz2 aports-cddf77d67884c0c62ebbdfb9f0f0d2ae018f1c80.tar.xz |
main/syslinux: dynamically generate /boot/extlinux.conf using a trigger on /boot
Diffstat (limited to 'main/syslinux/APKBUILD')
-rw-r--r-- | main/syslinux/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD index abaf424c8..df9cef11a 100644 --- a/main/syslinux/APKBUILD +++ b/main/syslinux/APKBUILD @@ -1,14 +1,17 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=syslinux pkgver=4.04 -pkgrel=0 +pkgrel=1 pkgdesc="a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem." url="http://syslinux.org" arch="x86 x86_64" license="GPL" makedepends="nasm perl" -depends="mtools" +depends="mtools blkid" +triggers="syslinux.trigger:/boot" source="http://www.kernel.org/pub/linux/utils/boot/syslinux/${pkgver%%.*}.xx/$pkgname-$pkgver.tar.bz2 + extlinux.conf + update-extlinux " subpackages="$pkgname-doc" @@ -26,6 +29,12 @@ build() { package() { cd "$_builddir" make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install + + mkdir -p "$pkgdir"/etc + cp "$srcdir"/extlinux.conf "$pkgdir"/etc/ + cp "$srcdir"/update-extlinux "$pkgdir"/sbin/ } -md5sums="a3936208767eb7ced65320abe2e33a10 syslinux-4.04.tar.bz2" +md5sums="a3936208767eb7ced65320abe2e33a10 syslinux-4.04.tar.bz2 +b7506dbbe9f05bed6d9e78f222b1e0ce extlinux.conf +2c1016e63c12d4e8ca49aab374f2389e update-extlinux" |