2012-11-18 21:46:43 +01:00
|
|
|
#!/bin/sh
|
|
|
|
if [ -z "$1" ]; then
|
|
|
|
echo do-kernel-remove.sh KVERSION
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
VER=$1
|
|
|
|
BASEDIR=$(dirname $0)
|
|
|
|
|
|
|
|
source $BASEDIR/kernel
|
|
|
|
|
|
|
|
EMERGE=""
|
|
|
|
|
|
|
|
for package in ${PACKAGES}; do
|
|
|
|
EMERGE="$EMERGE =${package}-${VER}"
|
|
|
|
done
|
|
|
|
|
|
|
|
emerge -c $EMERGE
|
2012-12-08 08:52:26 +01:00
|
|
|
eit remove $EMERGE
|