dracut: unbreak musl via musl-fts.
This commit is contained in:
parent
34637c623c
commit
2aca028749
1 changed files with 12 additions and 0 deletions
|
@ -18,6 +18,18 @@ license="GPL-2"
|
||||||
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
|
||||||
checksum=ca9c7ea54d3efc8b57ac1427cc5fa4d66688f6cf9d3088f4c5e7ae7c7e84ebf8
|
checksum=ca9c7ea54d3efc8b57ac1427cc5fa4d66688f6cf9d3088f4c5e7ae7c7e84ebf8
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) # Add musl-fts implementation
|
||||||
|
makedepends+=" musl-fts-devel"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) make ${makejobs} LDLIBS="${XBPS_CROSS_BASE}/usr/lib/libfts.a";;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# kernel hooks.
|
# kernel hooks.
|
||||||
vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 20-dracut
|
vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 20-dracut
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue