overlay/do-kernel-build.sh

19 lines
232 B
Bash
Raw Normal View History

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