Ubuntu Pastebin

Paste from ogra at Tue, 7 Jul 2015 08:57:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
=== added file 'live-build/ubuntu-core/hooks/12-add-foreign-libc6.chroot'
--- live-build/ubuntu-core/hooks/12-add-foreign-libc6.chroot	1970-01-01 00:00:00 +0000
+++ live-build/ubuntu-core/hooks/12-add-foreign-libc6.chroot	2015-07-07 08:57:03 +0000
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -ex
+
+if [ "$(dpkg --print-architecture)" = "amd64" ]; then
+    echo "enabling i386 multiarch support on amd64"
+    dpkg --add-architecture i386
+
+    apt-get -y update
+    echo "installing libc6:i386 amd64 image"
+    apt-get -y install libc6:i386
+fi
Download as text