diff --git a/linux/PKGBUILD b/linux/PKGBUILD index 47819ace0..fc5fd781a 100644 --- a/linux/PKGBUILD +++ b/linux/PKGBUILD @@ -83,14 +83,10 @@ build() { if [ "${_kernelname}" != "" ]; then sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config - sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config fi # set extraversion to pkgrel sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile - - # don't run depmod on 'make install'. We'll do this ourselves in packaging - sed -i '2iexit 0' scripts/depmod.sh # get kernel version make prepare @@ -169,11 +165,6 @@ package_linux() { mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--CHAKRA}" echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--CHAKRA}/version" - # Call depmod... - depmod -b "$pkgdir" -F System.map "$_kernver" - - # Move module /lib -> /usr/lib - #mv "$pkgdir/lib" "$pkgdir/usr" } package_linux-headers() {