summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-03-17 13:06:53 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-03-17 13:06:53 +0100
commit3857365127e27d5b64d5dc36d18fb4f618f9ae70 (patch)
tree8d8d52f369f77be4f741caf9a714cf06ab21e9f2
parent56e4b99f4486898e5ea5d93e1b3ef849df5ac4e1 (diff)
downloadarchinstall-3857365127e27d5b64d5dc36d18fb4f618f9ae70.tar
archinstall-3857365127e27d5b64d5dc36d18fb4f618f9ae70.tar.zst
archinstall-3857365127e27d5b64d5dc36d18fb4f618f9ae70.zip
Enable Download of first_stage.sh
-rw-r--r--PKGBUILD35
-rw-r--r--archinstall.sh7
2 files changed, 7 insertions, 35 deletions
diff --git a/PKGBUILD b/PKGBUILD
deleted file mode 100644
index 23a5053..0000000
--- a/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# Maintainer: Your Name <youremail@domain.com>
-pkgname=NAME
-pkgver=VERSION
-pkgrel=1
-pkgdesc=""
-arch=()
-url=""
-license=('GPL')
-groups=()
-depends=()
-makedepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
-source=($pkgname-$pkgver.tar.gz)
-noextract=()
-md5sums=() #autofill using updpkgsums
-
-build() {
- cd "$pkgname-$pkgver"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-}
diff --git a/archinstall.sh b/archinstall.sh
index 47afe7c..eedb287 100644
--- a/archinstall.sh
+++ b/archinstall.sh
@@ -54,6 +54,7 @@ EOF
# Constants
+export BRANCH="master" # possible alternatives: "devel" or "feature_<myfeature>"
export INTERNET_TEST_SERVER="archlinux.org"
export INTERNET_TEST_PING_TIMEOUT=1 # seconds
export FIRST_STAGE_LINK=""
@@ -70,3 +71,9 @@ export path_to_timezone="/usr/share/zoneinfo/Europe/Berlin"
export locales_to_generate="de_DE.UTF-8 UTF-8;de_DE ISO-8859-1;de_DE@euro ISO-8859-15"
export keymap="de-latin1"
export hostname="archlinux" # will be set to a user-chosen hostname
+
+
+# Download and run first stage
+
+curl https://raw.githubusercontent.com/xengineering/archinstall/$BRANCH/stages/first_stage.sh > /root/first_stage.sh
+bash /root/first_stage.sh