4.14: firmware has been completely removed from v4.14
Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
This commit is contained in:
parent
5cc2ed8ac7
commit
883c48688e
5
PKGBUILD
5
PKGBUILD
@ -99,7 +99,7 @@ _package() {
|
|||||||
_basekernel=${_kernver%%-*}
|
_basekernel=${_kernver%%-*}
|
||||||
_basekernel=${_basekernel%.*}
|
_basekernel=${_basekernel%.*}
|
||||||
|
|
||||||
mkdir -p "${pkgdir}"/{boot,lib/{modules,firmware},usr}
|
mkdir -p "${pkgdir}"/{boot,lib/modules,usr}
|
||||||
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
|
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
|
||||||
cp arch/x86/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
|
cp arch/x86/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
|
||||||
|
|
||||||
@ -114,9 +114,6 @@ _package() {
|
|||||||
# remove build and source links
|
# remove build and source links
|
||||||
rm "${pkgdir}"/lib/modules/${_kernver}/{source,build}
|
rm "${pkgdir}"/lib/modules/${_kernver}/{source,build}
|
||||||
|
|
||||||
# remove the firmware
|
|
||||||
rm -r "${pkgdir}/lib/firmware"
|
|
||||||
|
|
||||||
# now we call depmod...
|
# now we call depmod...
|
||||||
depmod -b "${pkgdir}" -F System.map "${_kernver}"
|
depmod -b "${pkgdir}" -F System.map "${_kernver}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user