Commit 0f7a035c authored by Dan Johansen's avatar Dan Johansen

refresh databases in the rootfs and fix dependency list

parent e6b6e4ac
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
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: ## Dependencies (Arch package names):
* bash * bash
* wget * wget
* git * git
...@@ -13,6 +13,7 @@ This script is "interactive". Meaning that it asks you questions when run to cus ...@@ -13,6 +13,7 @@ This script is "interactive". Meaning that it asks you questions when run to cus
* dialog * dialog
* parted * parted
* libarchive * libarchive
* binfmt-qemu-static
## Installing: ## Installing:
To use this script, please make sure that the following is correct: To use this script, please make sure that the following is correct:
......
...@@ -16,28 +16,28 @@ TIMEZONE="" ...@@ -16,28 +16,28 @@ TIMEZONE=""
LOCALE="" LOCALE=""
# Sanity checks for dependencies # Sanity checks for dependencies
if [ ! -f /usr/bin/sudo ] #if [ ! -f /usr/bin/sudo ]
echo "sudo command is missing! Please install sudo!" # echo "sudo command is missing! Please install sudo!"
exit 1 # exit 1
elif [ ! -f /usr/bin/git ] # elif [ ! -f /usr/bin/git ]
echo "git command is missing! Please install git!" # echo "git command is missing! Please install git!"
exit 1 # exit 1
elif [ ! -f /usr/bin/parted ] # elif [ ! -f /usr/bin/parted ]
echo "parted command is missing! Please install parted!" # echo "parted command is missing! Please install parted!"
exit 1 # exit 1
elif [ ! -f /usr/bin/systemd-nspawn ] # elif [ ! -f /usr/bin/systemd-nspawn ]
echo "systemd-nspawn command is missing! Please install systemd!" # echo "systemd-nspawn command is missing! Please install systemd!"
exit 1 # exit 1
elif [ ! -f /usr/bin/wget ] # elif [ ! -f /usr/bin/wget ]
echo "wget command is missing! Please install wget!" # echo "wget command is missing! Please install wget!"
exit 1 # exit 1
elif [ ! -f /usr/bin/dialog ] # elif [ ! -f /usr/bin/dialog ]
echo "dialog command is missing! Please install dialog!" # echo "dialog command is missing! Please install dialog!"
exit 1 # exit 1
elif [ ! -f /usr/bin/bsdtar ] # elif [ ! -f /usr/bin/bsdtar ]
echo "bsdtar command is missing! Please install libarchive!" # echo "bsdtar command is missing! Please install libarchive!"
exit 1 # exit 1
fi #fi
# Functions # Functions
...@@ -107,7 +107,7 @@ create_install() { ...@@ -107,7 +107,7 @@ create_install() {
msg "Installing packages for $EDITION on $DEVICE..." msg "Installing packages for $EDITION on $DEVICE..."
# Install device and editions specific packages # Install device and editions specific packages
sudo systemd-nspawn -D $TMPDIR/root pacman -S base $PKG_DEVICE $PKG_EDITION lsb-release --needed --noconfirm sudo systemd-nspawn -D $TMPDIR/root pacman -Syy base $PKG_DEVICE $PKG_EDITION lsb-release --needed --noconfirm
msg "Enabling services..." msg "Enabling services..."
# Enable services # Enable services
...@@ -410,7 +410,7 @@ fi ...@@ -410,7 +410,7 @@ fi
if [ ! -z "$TIMEZONE" ] if [ ! -z "$TIMEZONE" ]
then then
LOCALE=$(dialog --clear --title "Manjaro ARM Installer" \ LOCALE=$(dialog --clear --title "Manjaro ARM Installer" \
--inputbox "Enter locale (example en_US-utf8):" 8 50 \ --inputbox "Enter locale (example en_US.UTF-8):" 8 50 \
3>&1 1>&2 2>&3 3>&- \ 3>&1 1>&2 2>&3 3>&- \
) )
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment