diff --git a/euscanwww/scripts/euscan-update.sh b/euscanwww/scripts/euscan-update.sh index bc0a50a..1aae607 100644 --- a/euscanwww/scripts/euscan-update.sh +++ b/euscanwww/scripts/euscan-update.sh @@ -1,8 +1,17 @@ #!/bin/sh +## Setup some vars to use local portage tree +# export PATH=${HOME}/euscan/:${PATH} +# export PORTAGE_CONFIGROOT=${HOME}/local +# export ROOT=${HOME}/local +# export EIX_CACHEFILE=${HOME}/local/var/cache/eix + +## Go to euscanwww dir +# cd ${HOME}/euscan/euscanwww/ + ## Update local trees -# emerge --sync -# layman -S +# emerge --sync --root=${ROOT} --config-root=${PORTAGE_CONFIGROOT} +# ROOT="/" layman -S --config=${ROOT}/etc/layman/layman.cfg ## Also update eix database, because we use eix internaly # eix-update @@ -15,4 +24,4 @@ ## Scan uptsream packages # python manage.py scan-upstream --all -# python manage.py list-packages | gparallel --jobs 150% euscan | python manage.py scan-upstream --feed \ No newline at end of file +# eix --only-names -x | gparallel --jobs 400% euscan | python manage.py scan-upstream --feed