saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
hasufell 2015-09-07 22:45:36 +02:00 committed by Hans Wurst
parent 5389cdbdc6
commit 1fe9917c95
4 changed files with 10 additions and 3 deletions

View File

@ -3,11 +3,13 @@
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
source "/etc/paludis/hooks/set_portdir.bash"
if [[ ${TARGET} != gentoo && $(${CAVE} print-repository-metadata --raw-name format --format "%v" ${TARGET}) == e ]] ; then
if [[ ${TARGET} != gentoo && ${TARGET} != bin-package-repo &&
$(${CAVE} print-repository-metadata --raw-name format --format "%v" ${TARGET}) == e
]] ; then
# Number of jobs for egencache, default is number or processors.
egencache_jobnum="$(nproc)"
ebegin "Cache update for repository ${TARGET}"
egencache --jobs=${egencache_jobnum} --repo=${TARGET} --update --update-use-local-desc
egencache --jobs=${egencache_jobnum} --repo="${TARGET}" --update --update-use-local-desc
eend $?
fi

View File

@ -1,3 +1,6 @@
format = e
location = /var/db/paludis/repositories/k_f
sync = git://git.sumptuouscapital.com/portage-overlay.git
names_cache = /var/cache/paludis/names
write_cache = /var/cache/paludis/metadata

View File

@ -1,3 +1,5 @@
format = %{repository_template_format}
location = /var/db/paludis/repositories/%{repository_template_name}
sync = %{repository_template_sync}
names_cache = /var/cache/paludis/names
write_cache = /var/cache/paludis/metadata

View File

@ -71,7 +71,7 @@ PORTAGE_COMPRESS_FLAGS="-z -9"
PORTDIR="/usr/portage"
source "/var/lib/layman/make.conf"
LOCAL_OVERLAY="/usr/local/portage"
PORTDIR_OVERLAY="$PORTDIR_OVERLAY /home/jule/git/games-overlay /home/jule/git/libressl /home/jule/git/media-overlay /home/jule/git/desktop-overlay /home/jule/git/prism-overlay /home/jule/git/php-overlay $LOCAL_OVERLAY"
PORTDIR_OVERLAY="$PORTDIR_OVERLAY /home/jule/git/games-overlay /home/jule/git/libressl /home/jule/git/media-overlay /home/jule/git/desktop-overlay /home/jule/git/prism-overlay /home/jule/git/php-overlay /var/db/paludis/repositories/k_f $LOCAL_OVERLAY"
# Log Settings