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