diff --git a/build-scripts/oe/setup.sh b/build-scripts/oe/setup.sh index 1d6870ba6..b920c7e14 100755 --- a/build-scripts/oe/setup.sh +++ b/build-scripts/oe/setup.sh @@ -32,7 +32,7 @@ sed -i '/^start)$/a mkdir -p /dev/shm/network/' /etc/init.d/networking PKGS="" PKGS="$PKGS openssh-server openssl" PKGS="$PKGS sed wget cvs subversion git-core coreutils unzip texi2html texinfo docbook-utils gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ desktop-file-utils chrpath cpio screen bash-completion python3 iputils-ping" # OE main deps -PKGS="$PKGS guilt iasl quilt bin86 bcc libsdl1.2-dev liburi-perl genisoimage policycoreutils unzip vim sudo rpm curl libncurses5-dev libc6-dev-amd64 libelf-dev" # OpenXT-specific deps +PKGS="$PKGS guilt iasl quilt bin86 bcc libsdl1.2-dev liburi-perl genisoimage policycoreutils unzip vim sudo rpm curl libncurses5-dev libc6-dev-i386 libelf-dev" # OpenXT-specific deps PKGS="$PKGS xorriso mtools dosfstools" # installer & efiboot.img apt-get update @@ -43,24 +43,24 @@ apt-get -y install $PKGS sums <sums < /tmp/preseed.txt debconf-set-selections /tmp/preseed.txt dpkg-reconfigure -f noninteractive dash -# Hack: Make uname report a 32bits kernel -mv /bin/uname /bin/uname.real -echo '#!/bin/bash' > /bin/uname -echo '/bin/uname.real $@ | sed "s/amd64/i686/g" | sed "s/x86_64/i686/g"' >> /bin/uname -chmod +x /bin/uname +# Add a symlink required to build some packages, like hkg-hsyslog +ln -s /lib64/ld-linux-x86-64.so.2 /lib/ # Add a build user adduser --disabled-password --gecos "" ${CONTAINER_USER} diff --git a/build-scripts/setup.sh b/build-scripts/setup.sh index 97243492d..4d2fd5d81 100755 --- a/build-scripts/setup.sh +++ b/build-scripts/setup.sh @@ -443,7 +443,7 @@ EOF # Create a container for the main part of the OpenXT build [ -z $NO_OE ] && setup_container "01" "oe" \ - "debian" "${DEBIAN_MIRROR}" "--arch i386 --release jessie" + "debian" "${DEBIAN_MIRROR}" "--arch amd64 --release jessie" # Create a container for the Debian tool packages for OpenXT [ -z $NO_DEBIAN ] && setup_container "02" "debian" \