clearing variables and updated README

This commit is contained in:
Dan Johansen 2018-12-23 14:21:47 +01:00
parent 1bf2facc3d
commit e510a96989
2 changed files with 36 additions and 0 deletions

View File

@ -3,3 +3,31 @@
[WIP] Scripts for installing Manjaro ARM directly to SD/eMMC cards without the need for images. [WIP] Scripts for installing Manjaro ARM directly to SD/eMMC cards without the need for images.
This script is "interactive". Meaning that it asks you questions when run to customize your install. Like username, password etc. This script is "interactive". Meaning that it asks you questions when run to customize your install. Like username, password etc.
## Dependencies:
* wget
* git
* systemd
* ncurses
## Installing:
To use this script, please make sure that the following is correct:
* /var/tmp/ is present.
* an SD card with at least 4 GB storage is plugged in.
## Known Issues:
* none
## Usage:
To use this script, simple run it as normal user after you make it executable:
```
chmod +x manjaro-arm-installer
sh manjaro-arm-installer
```
## other notes:
This script will soon by available as a **Arch** (*pkg.tar.xz*) package in my **Manjaro Strit** repo.
This script **should** be distro-agnostic, which means you can install *Manjaro ARM* from **any** distro, as long as the dependencies are met.

View File

@ -5,6 +5,14 @@ TMPDIR=/var/tmp/manjaro-arm-installer
PROFILES=/var/tmp/manjaro-arm-installer/profiles PROFILES=/var/tmp/manjaro-arm-installer/profiles
ARCH='aarch64' ARCH='aarch64'
# clearing variables
DEVICE=""
EDITION=""
USER=""
PASSWORD=""
ROOTPASSWORD=""
SDCARD=""
# Functions # Functions
msg() { msg() {