Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change from apt to apt-get in build #472

Merged
merged 1 commit into from
Nov 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ apt update

# Build PINE64 image
if [ "$hw_platform" == "pine64-xenial" ]; then
apt --yes install git wget curl bzip2 zip xz-utils xz-utils build-essential binutils kpartx dosfstools bsdtar qemu-user-static qemu-user libarchive-zip-perl dos2unix
apt-get -y install git wget curl bzip2 zip xz-utils xz-utils build-essential binutils kpartx dosfstools bsdtar qemu-user-static qemu-user libarchive-zip-perl dos2unix
echo_process "Cloning \"longsleep/build-pine64-image\" project... "
git clone -b master https://github.com/longsleep/build-pine64-image.git $buildfolder

Expand Down Expand Up @@ -167,7 +167,7 @@ if [ "$hw_platform" == "pine64-xenial" ]; then

# Build Raspberry Pi image
elif [ "$hw_platform" == "pi-raspbian" ]; then
apt --yes install git wget curl unzip kpartx libarchive-zip-perl dos2unix
apt-get -y install git wget curl unzip kpartx libarchive-zip-perl dos2unix
echo_process "Downloading latest Raspbian Lite image... "
if [ -f "raspbian.zip" ]; then
echo "(Using local copy...)"
Expand Down