update kernel scripts for easier handling

This commit is contained in:
Mario Fetka 2012-11-15 18:23:39 +01:00
parent ec3cc7b9ea
commit bb0cc45f92
3 changed files with 25 additions and 33 deletions

View File

@ -1,26 +1,18 @@
#!/bin/sh
if [ -z "$1" ]; then
echo do-kernel-bump.sh KVERSION
echo do-kernel-build.sh KVERSION
exit
fi
VER=$1
PACKAGES="
sys-kernel/buffalo_ls_chl-sources sys-kernel/linux-buffalo_ls_chl \
sys-kernel/buffalo_ls_chl2-sources sys-kernel/linux-buffalo_ls_chl2 \
sys-kernel/buffalo_ls_hgl-sources sys-kernel/linux-buffalo_ls_hgl \
sys-kernel/buffalo_ls_live-sources sys-kernel/linux-buffalo_ls_live \
sys-kernel/buffalo_ls_mini-sources sys-kernel/linux-buffalo_ls_mini \
sys-kernel/buffalo_ls_pro-sources sys-kernel/linux-buffalo_ls_pro \
sys-kernel/buffalo_kb_pro-sources sys-kernel/linux-buffalo_kb_pro \
sys-kernel/buffalo_ls_pro_duo_rev1-sources sys-kernel/linux-buffalo_ls_pro_duo_rev1 \
sys-kernel/buffalo_ls_pro_duo_rev2-sources sys-kernel/linux-buffalo_ls_pro_duo_rev2 \
sys-kernel/buffalo_ls_ql-sources sys-kernel/linux-buffalo_ls_ql \
sys-kernel/buffalo_ls_vl-sources sys-kernel/linux-buffalo_ls_vl \
sys-kernel/buffalo_ls_xhl-sources sys-kernel/linux-buffalo_ls_xhl \
"
# sys-kernel/linksys_nslu2-sources sys-kernel/linux-linksys_nslu2 \
BASEDIR=$(dirname $0)
source $BASEDIR/kernel
EMERGE=""
for package in ${PACKAGES}; do
emerge =${package}-${VER}
EMERGE="$EMERGE =${package}-${VER}"
done
emerge $EMERGE

View File

@ -8,22 +8,8 @@ OLD=$1
NEW=$2
VER=$3
CNF=$4
PACKAGES="
sys-kernel/buffalo_ls_chl-sources sys-kernel/linux-buffalo_ls_chl \
sys-kernel/buffalo_ls_chl2-sources sys-kernel/linux-buffalo_ls_chl2 \
sys-kernel/buffalo_ls_hgl-sources sys-kernel/linux-buffalo_ls_hgl \
sys-kernel/buffalo_ls_live-sources sys-kernel/linux-buffalo_ls_live \
sys-kernel/buffalo_ls_mini-sources sys-kernel/linux-buffalo_ls_mini \
sys-kernel/buffalo_ls_pro-sources sys-kernel/linux-buffalo_ls_pro \
sys-kernel/buffalo_kb_pro-sources sys-kernel/linux-buffalo_kb_pro \
sys-kernel/buffalo_ls_pro_duo_rev1-sources sys-kernel/linux-buffalo_ls_pro_duo_rev1 \
sys-kernel/buffalo_ls_pro_duo_rev2-sources sys-kernel/linux-buffalo_ls_pro_duo_rev2 \
sys-kernel/buffalo_ls_ql-sources sys-kernel/linux-buffalo_ls_ql \
sys-kernel/buffalo_ls_vl-sources sys-kernel/linux-buffalo_ls_vl \
sys-kernel/buffalo_ls_xhl-sources sys-kernel/linux-buffalo_ls_xhl \
sys-kernel/linksys_nslu2-sources sys-kernel/linux-linksys_nslu2 \
sys-kernel/freescale_mx53_loco-sources sys-kernel/linux-freescale_mx53_loco \
"
BASEDIR=$(dirname $0)
source $BASEDIR/kernel
for package in ${PACKAGES}; do
name=$(echo ${package} | cut -d/ -f2)

14
kernel Normal file
View File

@ -0,0 +1,14 @@
PACKAGES="
sys-kernel/linux-buffalo_ls_chl sys-kernel/buffalo_ls_chl-sources \
sys-kernel/linux-buffalo_ls_chl2 sys-kernel/buffalo_ls_chl2-sources \
sys-kernel/linux-buffalo_ls_hgl sys-kernel/buffalo_ls_hgl-sources \
sys-kernel/linux-buffalo_ls_live sys-kernel/buffalo_ls_live-sources \
sys-kernel/linux-buffalo_ls_mini sys-kernel/buffalo_ls_mini-sources \
sys-kernel/linux-buffalo_ls_pro sys-kernel/buffalo_ls_pro-sources \
sys-kernel/linux-buffalo_kb_pro sys-kernel/buffalo_kb_pro-sources \
sys-kernel/linux-buffalo_ls_pro_duo_rev1 sys-kernel/buffalo_ls_pro_duo_rev1-sources \
sys-kernel/linux-buffalo_ls_pro_duo_rev2 sys-kernel/buffalo_ls_pro_duo_rev2-sources \
sys-kernel/linux-buffalo_ls_ql sys-kernel/buffalo_ls_ql-sources \
sys-kernel/linux-buffalo_ls_vl sys-kernel/buffalo_ls_vl-sources \
sys-kernel/linux-buffalo_ls_xhl sys-kernel/buffalo_ls_xhl-sources \
"