fix linux package

This commit is contained in:
sulincix committed 2023-01-14 10:40:51 +00:00
1 parent 923aad7532
commit 63ed0e397b
1 file changed
+4 -2
+4 -2
View File
@@ -18,9 +18,11 @@ group=(sys.kernel)
package(){
# install kernel (archlinux kerhel config used)
ALLOWROOT=1 bash mklinux -i -o "$DESTDIR" -t linux \
-c "https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/linux/trunk/config" -y 1 \
-v $version
-c "https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/linux/trunk/config" \
-v $version -y 1
# remove headers (for fix conflict with linux-headers)
rm -rf ${DESTDIR}/usr/include
# remove broken symlink if exists
rm -rf ${DESTDIR}/lib/modules/$version/build/linux-$version || true
}