From cbaff5ee1a800a1d4991faa94918f668cfb12bec Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 21 Dec 2008 16:14:31 +0100 Subject: yaourt bugs workaround: filter away all packages unknown by pacman --- examples/deployconfig-dieter | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/deployconfig-dieter b/examples/deployconfig-dieter index b95baff..49ea374 100644 --- a/examples/deployconfig-dieter +++ b/examples/deployconfig-dieter @@ -32,8 +32,12 @@ worker_package_list () $SVN export $SVN_BASE/ddm-configs/$DEPLOY_CLASS/trunk/package-list $var_PKG_FILE || die_error "Could not export package list!" # cat -> there are newlines in it -> var=`echo $var` -> not anymore :) TARGET_PACKAGES=`cat $var_PKG_FILE` && TARGET_PACKAGES=`echo $TARGET_PACKAGES` || die_error "Could not cat package list. THIS SHOULD NEVER HAPPEN." + # Strip away all packages not known by pacman. To get all packages, you'll need to do that when the system is installed TODO: don't do this. WAITINGFOR: --config support in yaourt + 'list of md5s of trusted pkgbuilds' support in yaourt + # NOTE: maybe chrooting could be an option too (to avoid --config support, but problem 2 stays) + TARGET_PACKAGES=`pacman -Si $TARGET_PACKAGES 2>/dev/null | awk '/Name/ {print $3}'` } + worker_accept_ssl_cert () { mkdir -p /root/.subversion/auth/svn.ssl.server -- cgit v1.2.3-54-g00ecf