overlay/armv7a-do-kernel-remove.sh

20 lines
270 B
Bash
Raw Normal View History

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