[bin] update entropy server tools syntax to work with the new eit app
This commit is contained in:
parent
e15c09e9da
commit
89c67dcbcd
@ -17,7 +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
|
||||
eit fit ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
eit inject ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
done
|
||||
|
||||
echo "Now you should remove old packages..."
|
||||
|
@ -7,13 +7,13 @@ ETP_REPO="${ETP_REPO:-sabayon-limbo}"
|
||||
|
||||
rm -rf /usr/portage/packages/x11-drivers/*
|
||||
emerge -B ${non_injected_packages} || exit 1
|
||||
reagent inject /usr/portage/packages/x11-drivers/* || exit 1
|
||||
eit inject --to ${ETP_REPO} /usr/portage/packages/x11-drivers/* || exit 1
|
||||
|
||||
for kernel in $kernels; do
|
||||
mypackages="${packages}"
|
||||
# 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 inject --to ${ETP_REPO} /usr/portage/packages/x11-drivers/*
|
||||
echo
|
||||
done
|
||||
|
@ -36,6 +36,6 @@ KERNEL_DIR="/usr/src/linux-${kernel}" emerge -Bav ${packages}
|
||||
if [ "${?}" != "0" ]; then
|
||||
exit 1
|
||||
fi
|
||||
reagent inject $(find /usr/portage/packages -name "*.tbz2" | xargs echo)
|
||||
eit inject --to ${ETP_REPO} $(find /usr/portage/packages -name "*.tbz2" | xargs echo)
|
||||
|
||||
echo "Now you should remove old packages, if you want of course"
|
||||
|
@ -7,13 +7,13 @@ ETP_REPO="${ETP_REPO:-sabayon-limbo}"
|
||||
|
||||
rm -rf /usr/portage/packages/x11-drivers/*
|
||||
emerge -B ${non_injected_packages} || exit 1
|
||||
reagent inject /usr/portage/packages/x11-drivers/* || exit 1
|
||||
eit inject --to ${ETP_REPO} /usr/portage/packages/x11-drivers/* || exit 1
|
||||
|
||||
for kernel in $kernels; do
|
||||
mypackages="${packages}"
|
||||
# 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 inject --to ${ETP_REPO} /usr/portage/packages/x11-drivers/*
|
||||
echo
|
||||
done
|
||||
|
@ -84,7 +84,7 @@ if injected_atoms:
|
||||
|
||||
if tbz2s:
|
||||
os.environ['ETP_REPO'] = dest_repo
|
||||
rc = subprocess.call(["eit", "fit"] + tbz2s)
|
||||
rc = subprocess.call(["eit", "inject"] + tbz2s)
|
||||
if rc != 0:
|
||||
raise SystemExit(rc)
|
||||
|
||||
|
@ -56,7 +56,7 @@ for category in os.listdir(tmp_dir):
|
||||
|
||||
if tbz2s:
|
||||
os.environ['ETP_REPO'] = dest_repo
|
||||
rc = subprocess.call(["eit", "fit"] + tbz2s)
|
||||
rc = subprocess.call(["eit", "inject"] + tbz2s)
|
||||
if rc != 0:
|
||||
raise SystemExit(rc)
|
||||
|
||||
|
@ -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
|
||||
eit fit /usr/portage/packages/x11-drivers/*
|
||||
eit inject --to ${ETP_REPO} /usr/portage/packages/x11-drivers/*
|
||||
echo
|
||||
done
|
||||
|
||||
|
@ -17,7 +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
|
||||
eit fit ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
eit inject ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
echo
|
||||
done
|
||||
|
||||
|
@ -18,7 +18,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
|
||||
eit fit ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
eit inject ${built_pkgs} || ( echo "ouch unable to inject" && exit 3 )
|
||||
echo
|
||||
eit search "#${kernel}" -qv | sort | uniq
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user