bdisk/extra/pre-build.d/root/post-build.sh
2015-01-10 15:50:34 -05:00

23 lines
462 B
Bash
Executable File

#!/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."