tweaks..
This commit is contained in:
22
extra/pre-build.d/root/post-build.sh
Executable file
22
extra/pre-build.d/root/post-build.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo -n "...Packages installing to ${i}..."
|
||||
apacman --noconfirm --noedit -S --needed customizepkg-scripting
|
||||
|
||||
echo -n "Compiling kernel sources..."
|
||||
set +e
|
||||
## Uncomment below and remove manual ABS/makepkg when https://github.com/oshazard/apacman/issues/2 is fulfulled
|
||||
apacman --noconfirm --noedit -S --needed --noconfirm linux
|
||||
|
||||
ABSROOT=/tmp
|
||||
abs core/linux
|
||||
|
||||
cd /tmp/core/linux
|
||||
customizepkg --modify
|
||||
|
||||
sudo -u nobody makepkg
|
||||
set -e
|
||||
|
||||
echo "Done."
|
||||
Reference in New Issue
Block a user