update kernel scripts for easier handling
This commit is contained in:
parent
ec3cc7b9ea
commit
bb0cc45f92
@ -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
|
||||
|
@ -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
14
kernel
Normal 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 \
|
||||
"
|
Loading…
Reference in New Issue
Block a user