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