From 1ca30ec53f70fc0fe6e5025484d4ac728dd2b949 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sat, 11 Apr 2020 22:36:12 +0200 Subject: [PATCH] .bpo/install_pmbootstrap.sh: remove (MR 1147) This file is not used anymore by the bpo code, so remove it. --- .../install_pmbootstrap.sh | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100755 .build.postmarketos.org/install_pmbootstrap.sh diff --git a/.build.postmarketos.org/install_pmbootstrap.sh b/.build.postmarketos.org/install_pmbootstrap.sh deleted file mode 100755 index d8f5b7f40..000000000 --- a/.build.postmarketos.org/install_pmbootstrap.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -e -# Copyright 2019 Oliver Smith -# SPDX-License-Identifier: GPL-3.0-or-later - -# Config: pmbootstrap tag (or branch) - -if [ "$1" != "" ]; then - tag="$1" -else - tag="master" -fi - -# Get download URL and pmaports path -url="https://gitlab.com/postmarketOS/pmbootstrap/-/archive/$tag/pmbootstrap-$tag.tar.bz2" -pmaports="$(cd $(dirname $0)/..; pwd -P)" - -# Set up binfmt_misc -echo "Setting-up binfmt_misc" -sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc - -# Download pmbootstrap (to /tmp/pmbootstrap) -echo "Downloading pmbootstrap ($tag): $url" -cd /tmp -wget -q -O "pmb.tar.bz2" "$url" -tar -xf "pmb.tar.bz2" -mv pmbootstrap-* pmbootstrap - -# Install to $PATH and init -sudo ln -s /tmp/pmbootstrap/pmbootstrap.py /usr/bin/pmbootstrap -echo "Initializing pmbootstrap with aports at '$pmaports'" -yes '' | pmbootstrap -q --aports "$pmaports" init