diff options
Diffstat (limited to 'scripts/setup-ubuntu')
-rwxr-xr-x | scripts/setup-ubuntu | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/scripts/setup-ubuntu b/scripts/setup-ubuntu deleted file mode 100755 index 54bc0429..00000000 --- a/scripts/setup-ubuntu +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------------------------------------------------- -# SPDX-License-Identifier: GPL-2.0 -# --------------------------------------------------------------------------------------------------------------------- -# -# Copyright 2022 Siemens -# -# This file is licensed under the terms of the GNU General Public License -# version 2. This program is licensed "as is" without any warranty of any -# kind, whether express or implied. - -echo "Verifying access to sudo, please enter your password if prompted." -if [ "$(id -u)" -ne 0 ]; then - SUDO=sudo - $SUDO -v - if [ $? -ne 0 ]; then - echo >&2 "Could not use sudo, exiting" - exit 1 - fi -else - SUDO= -fi - -PKGS="$PKGS ubuntu-minimal ubuntu-standard make gcc g++ patch diffstat texinfo texi2html cvs subversion bzip2 tar gzip gawk chrpath libncurses5-dev git-core lsb-release python3 xvfb x11-utils rsync zstd liblz4-tool" - -# These are needed for the qemu-native build -PKGS="$PKGS libgl1-mesa-dev libglu1-mesa-dev libsdl1.2-dev" - -# This is helpful to write images, and is in our documentation -PKGS="$PKGS bmap-tools" - -# This is needed for Windows ADE -PKGS="$PKGS zip" - -echo "Installing packages required to build Mentor Embedded Linux Flex OS" -$SUDO apt-get update -$SUDO apt-get -y install $PKGS - -if [ "$(uname -m)" = "x86_64" ]; then - $SUDO dpkg --add-architecture i386 - $SUDO apt-get -y install libc6-dev-i386 - $SUDO apt-get -y install libncurses5:i386 -fi - -echo "Generating the en_US.UTF-8 locale" -$SUDO locale-gen en_US.UTF-8 - -echo "Setup complete" |