4.14: firmware has been completely removed from v4.14

Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
This commit is contained in:
Jan Alexander Steffens 2017-11-19 20:58:52 +00:00
parent 5cc2ed8ac7
commit 883c48688e
1 changed files with 1 additions and 4 deletions

View File

@ -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}"