overlay/do-kernel-build.sh
2012-11-15 18:23:39 +01:00

19 lines
232 B
Bash
Executable File

#!/bin/sh
if [ -z "$1" ]; then
echo do-kernel-build.sh KVERSION
exit
fi
VER=$1
BASEDIR=$(dirname $0)
source $BASEDIR/kernel
EMERGE=""
for package in ${PACKAGES}; do
EMERGE="$EMERGE =${package}-${VER}"
done
emerge $EMERGE