config use hardened
This commit is contained in:
1 parent
ae50b4f908
commit
6c46423df1
2 files changed
+2
-2
No files matched your search
@@ -18,7 +18,7 @@ group=(sys.kernel)
|
||||
package(){
|
||||
# install kernel (archlinux kernel config used)
|
||||
ALLOWROOT=1 mklinux -f -o $DESTDIR -t linux -v $version -y 1 --no-build \
|
||||
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config"
|
||||
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/raw/main/config"
|
||||
# symlink for musl
|
||||
mkdir -p $DESTDIR/usr/include/musl
|
||||
for name in $(ls $DESTDIR/usr/include/ | grep -v musl) ; do
|
||||
|
||||
@@ -20,7 +20,7 @@ dontstrip="31"
|
||||
package(){
|
||||
# install kernel (archlinux kernel config used)
|
||||
ALLOWROOT=1 bash mklinux -i -o "$DESTDIR" -t linux \
|
||||
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config" \
|
||||
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/raw/main/config" \
|
||||
-v $version -y 1
|
||||
# remove headers (for fix conflict with linux-headers)
|
||||
rm -rf ${DESTDIR}/usr/include
|
||||
|
||||
Reference in new issue
Block a user