[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.48-55-gc89d173

Andreas Beckmann debian at abeckmann.de
Thu Dec 20 19:12:27 UTC 2012


The following commit has been merged in the piatti branch:
commit b625604c4f6ae1e2cb34bacf1c7100a2dfc6aa70
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Dec 2 16:44:18 2012 +0100

    new script: pre_install_foreign_architecture_i386
    
    for testing the multiarched ia32-libs
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/custom-scripts/scripts/pre_install_foreign_architecture_i386 b/custom-scripts/scripts/pre_install_foreign_architecture_i386
new file mode 100755
index 0000000..227c163
--- /dev/null
+++ b/custom-scripts/scripts/pre_install_foreign_architecture_i386
@@ -0,0 +1,22 @@
+#!/bin/sh
+set -e
+
+test "$PIUPARTS_PHASE" = "install" || exit 0
+
+case "$PIUPARTS_DISTRIBUTION" in
+	wheezy|testing|sid|experimental) ;;
+	*) exit 0 ;;
+esac
+
+test "$(dpkg --print-architecture)" = "amd64" || exit 0
+
+case ${PIUPARTS_OBJECTS%%=*} in
+	ia32-libs|ia32-libs-gtk) ;;
+	libwine-unstable|libwine-*-unstable) ;;
+	boinc-nvidia-cuda|teamspeak-client) ;;
+	*) exit 0 ;;
+esac
+
+echo "Enabling foreign architecture i386 for $PIUPARTS_OBJECTS"
+dpkg --add-architecture i386
+apt-get update

-- 
piuparts git repository



More information about the Piuparts-commits mailing list