[bin] update bump scripts to handle 3.0.0-fusion
This commit is contained in:
parent
3819939910
commit
529da5038c
@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon"
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon 3.0.0-fusion"
|
||||
running_kernel="3.0.0-sabayon"
|
||||
packages="x11-drivers/ati-drivers::sabayon"
|
||||
|
||||
# build for latest kernel
|
||||
KERNEL_DIR="/usr/src/linux-${running_kernel}" emerge $packages media-video/amdcccle::sabayon
|
||||
echo -5 | etc-update
|
||||
reagent update
|
||||
eit commit
|
||||
|
||||
for kernel in $kernels; do
|
||||
if [ "${kernel}" = "${running_kernel}" ]; then
|
||||
@ -17,12 +17,7 @@ for kernel in $kernels; do
|
||||
KERNEL_DIR="/usr/src/linux-${kernel}" emerge -B ${packages} || ( echo "ouch unable to build" && exit 1 )
|
||||
built_pkgs=$(find /usr/portage/packages -name "*.tbz2" | xargs echo)
|
||||
[[ -z "${built_pkgs}" ]] && echo "ouch no kernel pkgs" && exit 2
|
||||
reagent inject ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
echo
|
||||
reagent query tags ${kernel} -qv | sort
|
||||
echo
|
||||
eit fit ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
done
|
||||
|
||||
echo "Now you should remove old packages:"
|
||||
echo reagent repo remove `reagent query search ${packages} -qv | grep MY_OLD_VER | xargs echo`
|
||||
echo
|
||||
echo "Now you should remove old packages..."
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon"
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon 3.0.0-fusion"
|
||||
packages="~x11-drivers/nvidia-drivers-173.14.31 ~x11-drivers/nvidia-drivers-96.43.20"
|
||||
non_injected_packages="~x11-drivers/nvidia-userspace-173.14.31 ~x11-drivers/nvidia-userspace-96.43.20"
|
||||
ETP_REPO="${ETP_REPO:-sabayon-limbo}"
|
||||
|
@ -5,10 +5,10 @@
|
||||
# every currently supported kernel. You can use this script when
|
||||
# you bump kernels or xorg-server.
|
||||
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon"
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon 3.0.0-fusion"
|
||||
running_kernel="3.0.0-sabayon"
|
||||
packages="~x11-drivers/nvidia-drivers-173.14.28 ~x11-drivers/nvidia-drivers-96.43.19"
|
||||
non_injected_packages="~x11-drivers/nvidia-drivers-260.19.29 x11-drivers/ati-drivers x11-drivers/xf86-video-virtualbox"
|
||||
packages="~x11-drivers/nvidia-drivers-173.14.31 ~x11-drivers/nvidia-drivers-96.43.20"
|
||||
non_injected_packages="x11-drivers/nvidia-drivers x11-drivers/ati-drivers x11-drivers/xf86-video-virtualbox"
|
||||
general_purpose_packages="media-video/amdcccle"
|
||||
ETP_REPO="${ETP_REPO:-sabayon-limbo}"
|
||||
|
||||
@ -20,7 +20,7 @@ for kernel in $kernels; do
|
||||
# build for latest kernel
|
||||
rm -rf /usr/portage/packages/x11-drivers/*
|
||||
KERNEL_DIR="/usr/src/linux-${kernel}" emerge -B ${mypackages} || exit 1
|
||||
reagent inject /usr/portage/packages/x11-drivers/*
|
||||
eit fit /usr/portage/packages/x11-drivers/*
|
||||
echo
|
||||
done
|
||||
|
||||
@ -28,6 +28,6 @@ done
|
||||
eselect kernel set "linux-${running_kernel}" || exit 1
|
||||
emerge ${non_injected_packages} ${general_purpose_packages} || exit 1
|
||||
echo -5 | etc-update
|
||||
reagent update --atoms ${non_injected_packages} ${general_purpose_packages} || exit 1
|
||||
eit add ${non_injected_packages} ${general_purpose_packages} || exit 1
|
||||
|
||||
echo "Now you should remove old packages, if you want of course"
|
||||
|
@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon"
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-sabayon 3.0.0-fusion"
|
||||
running_kernel="3.0.0-sabayon"
|
||||
packages="x11-drivers/nvidia-drivers::sabayon"
|
||||
|
||||
# build for latest kernel
|
||||
KERNEL_DIR="/usr/src/linux-${running_kernel}" emerge $packages media-video/nvidia-settings::sabayon
|
||||
echo -5 | etc-update
|
||||
reagent update
|
||||
eit commit
|
||||
|
||||
for kernel in $kernels; do
|
||||
if [ "${kernel}" = "${running_kernel}" ]; then
|
||||
@ -17,12 +17,8 @@ for kernel in $kernels; do
|
||||
KERNEL_DIR="/usr/src/linux-${kernel}" emerge -B ${packages} || ( echo "ouch unable to build" && exit 1 )
|
||||
built_pkgs=$(find /usr/portage/packages -name "*.tbz2" | xargs echo)
|
||||
[[ -z "${built_pkgs}" ]] && echo "ouch no kernel pkgs" && exit 2
|
||||
reagent inject ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
echo
|
||||
reagent query tags ${kernel} -qv | sort
|
||||
eit fit ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
echo
|
||||
done
|
||||
|
||||
echo "Now you should remove old packages:"
|
||||
echo reagent repo remove `reagent query search ${packages} -qv | grep MY_OLD_VER | xargs echo`
|
||||
echo
|
||||
echo "Now you should remove old packages..."
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon"
|
||||
kernels="2.6.36-sabayon 2.6.37-sabayon 2.6.38-sabayon 2.6.39-sabayon 3.0.0-fusion"
|
||||
running_kernel="3.0.0-sabayon"
|
||||
packages="app-emulation/virtualbox-guest-additions app-emulation/virtualbox-modules x11-drivers/xf86-video-virtualbox"
|
||||
non_tagged_packages="xf86-input-virtualbox virtualbox-bin"
|
||||
|
Loading…
Reference in New Issue
Block a user