diff --git a/update-kernel b/update-kernel index 23ef4e7..dbeccbe 100755 --- a/update-kernel +++ b/update-kernel @@ -103,6 +103,7 @@ update_build() { ## - change package name ## - change kernelname ## - unindent custom name + ## - remove htmldocs make steps (started in 'build' function to speed up package building) ## - add gcc path version variable ## - add gcc path to sources ## - add gcc patch command in prepare @@ -113,6 +114,9 @@ update_build() { sed -i -z 's/makedepends=([^()]\+)/makedepends=(libelf cpio tar xz)/' \ "$build_file" sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \ + -e '/make htmldocs &/d' \ + -e '/local pid_docs=\$!/d' \ + -e '/wait \"\${pid_docs\}\"/d' \ -e "/^pkgrel=.*/a _gcc_more_v=\'$gcc_patch_version\'" \ -e "s|source=(|source=($gcc_patch_src\n |" \ -e "/localversion\.20-pkgname/d" \ @@ -159,7 +163,7 @@ done update_build cd "$build_dir" || exit -makepkg -s -r -f -i +makepkg -s -r -f -i -L cd .. back_up_config