From 1fe9917c956397ed4b8e6938b4a504e4e9c3df96 Mon Sep 17 00:00:00 2001 From: hasufell Date: Mon, 7 Sep 2015 22:45:36 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- paludis/hooks/sync_post/06-sync_overlay_cache.bash | 6 ++++-- paludis/repositories/k_f.conf | 3 +++ paludis/repository.template | 2 ++ portage/make.conf | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/paludis/hooks/sync_post/06-sync_overlay_cache.bash b/paludis/hooks/sync_post/06-sync_overlay_cache.bash index 4e53c11..4a8aa43 100644 --- a/paludis/hooks/sync_post/06-sync_overlay_cache.bash +++ b/paludis/hooks/sync_post/06-sync_overlay_cache.bash @@ -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 diff --git a/paludis/repositories/k_f.conf b/paludis/repositories/k_f.conf index 0d2c847..0bd88e5 100644 --- a/paludis/repositories/k_f.conf +++ b/paludis/repositories/k_f.conf @@ -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 diff --git a/paludis/repository.template b/paludis/repository.template index 7f005b5..16fb573 100644 --- a/paludis/repository.template +++ b/paludis/repository.template @@ -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 diff --git a/portage/make.conf b/portage/make.conf index 9d7ec09..2541d2a 100644 --- a/portage/make.conf +++ b/portage/make.conf @@ -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