fix vmlinuz symlink for custom kernels
This commit is contained in:
parent
8f74edb9ee
commit
19eb4c013e
2
PKGBUILD
2
PKGBUILD
@ -106,7 +106,7 @@ package_linux() {
|
|||||||
# remove build and source links
|
# remove build and source links
|
||||||
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
|
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
|
||||||
# add compat symlink for the kernel image
|
# add compat symlink for the kernel image
|
||||||
ln -sf vmlinuz-${pkgname} ${pkgdir}/boot/vmlinuz26
|
ln -sf vmlinuz-${pkgname} ${pkgdir}/boot/vmlinuz26${_kernelname}
|
||||||
# remove the firmware
|
# remove the firmware
|
||||||
rm -rf ${pkgdir}/lib/firmware
|
rm -rf ${pkgdir}/lib/firmware
|
||||||
# gzip -9 all modules to safe 100MB of space
|
# gzip -9 all modules to safe 100MB of space
|
||||||
|
Loading…
Reference in New Issue
Block a user