overlay/armv7a-do-kernel-remove.sh
2012-12-14 09:40:25 +01:00

20 lines
270 B
Bash
Executable File

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