summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-21 16:14:31 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-21 16:14:31 +0100
commitcbaff5ee1a800a1d4991faa94918f668cfb12bec (patch)
treeaa4e20e2be24335c6b1e663cf361c3c9e05486fa /examples
parente833ad723e21592a9dbf198789f570855f9c31b6 (diff)
yaourt bugs workaround: filter away all packages unknown by pacman
Diffstat (limited to 'examples')
-rw-r--r--examples/deployconfig-dieter4
1 files changed, 4 insertions, 0 deletions
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