void-packages/srcpkgs/u-boot-menu/template
John Zimmermann 0e9cdc13ed u-boot-menu: quote all the things
At least the CMDLINE expansion did break on the printf '%s' and we
got a newline for every parameter, which is wrong.
(I'm suprised nobody noticed this, and how I not noticed this myself)
2021-05-12 06:12:57 +00:00

17 lines
541 B
Bash

# Template file for 'u-boot-menu'
pkgname=u-boot-menu
version=0.2
revision=3
conf_files="/etc/default/extlinux"
short_desc="Create an u-boot menu with currently available kernels"
maintainer="Remi Pommarel <repk@triplefau.lt>"
license="Public Domain"
homepage="https://www.voidlinux.org"
do_install() {
vinstall ${FILESDIR}/extlinux.default 644 etc/default extlinux
vinstall ${FILESDIR}/kernel.d/extlinux 750 \
etc/kernel.d/post-install 60-extlinux
vinstall ${FILESDIR}/kernel.d/extlinux 750 \
etc/kernel.d/post-remove 60-extlinux
}