livecd-rootfs/live-build/ubuntu/hooks/020-foreign-arch.chroot_early
CloudBuilder 197c549edb Imported 23.10.26 from mantic-release pocket.
No reason for CPC update specified.
2023-08-29 04:51:10 +00:00

19 lines
270 B
Bash
Executable File

#! /bin/sh
set -eu
case ${PASS:-} in
standard)
;;
*)
exit 0
;;
esac
if [ "$(dpkg --print-architecture)" = amd64 ]; then
echo "I: Enabling amd64 multiarch support on amd64"
dpkg --add-architecture i386
apt-get -y update
fi