diff --git a/templates/kernel26.tmpl b/templates/kernel26.tmpl index 92dd09aec57..655af1adcf4 100644 --- a/templates/kernel26.tmpl +++ b/templates/kernel26.tmpl @@ -76,7 +76,7 @@ post_install() done cd $destdir/usr/src/linux-$version/include && ln -s asm-x86 asm - cd $destdir/usr/src && ln linux-$version linux + cd $destdir/usr/src && ln -s linux-$version linux for arch in ${_arch}; do rm -rf $destdir/usr/src/linux-$version/arch/$arch done