diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-16 08:08:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-16 08:08:15 +0000 |
commit | fbeef61a9ce524ecd64990f8a36470600cf52ba7 (patch) | |
tree | 48a73bda63fa4ef2d2d41981e8455dbdf2386f48 /main/syslinux | |
parent | 175f0e44022de6fe9123195e5d2a2f2ece235728 (diff) | |
download | aports-fbeef61a9ce524ecd64990f8a36470600cf52ba7.zip |
main/syslinux: update-extlinux use 'vanilla' as label in menu
Diffstat (limited to 'main/syslinux')
-rw-r--r-- | main/syslinux/APKBUILD | 8 | ||||
-rwxr-xr-x | main/syslinux/update-extlinux | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD index b89fd03fabe..4bbf674777d 100644 --- a/main/syslinux/APKBUILD +++ b/main/syslinux/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=syslinux pkgver=6.02 -pkgrel=2 +pkgrel=3 _ver=${pkgver/_/-} pkgdesc="Boot loader for the Linux operating system" url="http://syslinux.org" @@ -56,10 +56,10 @@ package() { md5sums="6f275813a1b08cf852e55c0a3f8fbc78 syslinux-6.02.tar.xz 38d206b75b1096ba5df6cfabf455ab06 update-extlinux.conf -fcd6961bc95dd90f66cb2a80429b75a0 update-extlinux" +35b78e9ed4b7a4feb79f4fc04102acd2 update-extlinux" sha256sums="afa31b7cbf72e1c0c1752a0636ba724ce01c0e374366e46e61db6862b4685478 syslinux-6.02.tar.xz d0b7b869489d0ac1529dd742d8d88844ea4e0a5d893de5218b250b97f68e55f2 update-extlinux.conf -8d1551b84aab6389ab1916524255396b334e0718d4816a4bb987bfce24f67d12 update-extlinux" +9f7925bedb1611f5c3b6456fa13d21992743b5a92d2f1f8699cd63a0f207ca93 update-extlinux" sha512sums="919d165e9cba2b964cec8b015f0a4281a5f90e908f247441d6edefe289170e697b933554d12fa90e698b6d2e8b5b40fdb3b7a95d746a41c580e3a44f8859818f syslinux-6.02.tar.xz f304068ee174e531890fed20b05d962e6c076160c470ed9cf0d822ff56917793ecabec8c0495b045a740f1f63412a55fbb1fa4b4231b18f76c8584b55f51306d update-extlinux.conf -7b1e685a6d5c05e30915ea7b7950cc141b8450c456301898928aebd90c062c4fcba0ef4ce545a3de75e16917d2f08128595c44064235cc2e200ea8cc76732f77 update-extlinux" +73ba856bff89d5f23790819c8aeaca95ec336aba96fe6591a2e65345caace658b93627e0f42621d3bd2d70303107d27a9db36cb17648eef110576749e5194f04 update-extlinux" diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux index b272ffd7218..2efb7cb6f4f 100755 --- a/main/syslinux/update-extlinux +++ b/main/syslinux/update-extlinux @@ -124,7 +124,11 @@ for kernel in $(find /boot -name "vmlinuz*" -type f); do everbose "Found kernel: $kernel" label=$(grep -w -l $tag /usr/share/kernel/*/kernel.release | cut -d/ -f5) if [ -z "$label" ]; then - label=$lst + if [ "$tag" = vanilla ]; then + label="vanilla" + else + label=$lst + fi fi echo "LABEL $label" >> $conf.new if [ "$label" = "$default" ]; then |