Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
manjaro-arm
applications
manjaro-arm-installer
Commits
0f7a035c
Commit
0f7a035c
authored
Dec 27, 2018
by
Dan Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refresh databases in the rootfs and fix dependency list
parent
e6b6e4ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
25 deletions
+26
-25
README.md
README.md
+2
-1
manjaro-arm-installer
manjaro-arm-installer
+24
-24
No files found.
README.md
View file @
0f7a035c
...
...
@@ -5,7 +5,7 @@
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
*
wget
*
git
...
...
@@ -13,6 +13,7 @@ This script is "interactive". Meaning that it asks you questions when run to cus
*
dialog
*
parted
*
libarchive
*
binfmt-qemu-static
## Installing:
To use this script, please make sure that the following is correct:
...
...
manjaro-arm-installer
View file @
0f7a035c
...
...
@@ -16,28 +16,28 @@ TIMEZONE=""
LOCALE
=
""
# Sanity checks for dependencies
if
[
!
-f
/usr/bin/sudo
]
echo
"sudo command is missing! Please install sudo!"
exit
1
elif
[
!
-f
/usr/bin/git
]
echo
"git command is missing! Please install git!"
exit
1
elif
[
!
-f
/usr/bin/parted
]
echo
"parted command is missing! Please install parted!"
exit
1
elif
[
!
-f
/usr/bin/systemd-nspawn
]
echo
"systemd-nspawn command is missing! Please install systemd!"
exit
1
elif
[
!
-f
/usr/bin/wget
]
echo
"wget command is missing! Please install wget!"
exit
1
elif
[
!
-f
/usr/bin/dialog
]
echo
"dialog command is missing! Please install dialog!"
exit
1
elif
[
!
-f
/usr/bin/bsdtar
]
echo
"bsdtar command is missing! Please install libarchive!"
exit
1
fi
#
if [ ! -f /usr/bin/sudo ]
#
echo "sudo command is missing! Please install sudo!"
#
exit 1
#
elif [ ! -f /usr/bin/git ]
#
echo "git command is missing! Please install git!"
#
exit 1
#
elif [ ! -f /usr/bin/parted ]
#
echo "parted command is missing! Please install parted!"
#
exit 1
#
elif [ ! -f /usr/bin/systemd-nspawn ]
#
echo "systemd-nspawn command is missing! Please install systemd!"
#
exit 1
#
elif [ ! -f /usr/bin/wget ]
#
echo "wget command is missing! Please install wget!"
#
exit 1
#
elif [ ! -f /usr/bin/dialog ]
#
echo "dialog command is missing! Please install dialog!"
#
exit 1
#
elif [ ! -f /usr/bin/bsdtar ]
#
echo "bsdtar command is missing! Please install libarchive!"
#
exit 1
#
fi
# Functions
...
...
@@ -107,7 +107,7 @@ create_install() {
msg
"Installing packages for
$EDITION
on
$DEVICE
..."
# 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
-S
yy
base
$PKG_DEVICE
$PKG_EDITION
lsb-release
--needed
--noconfirm
msg
"Enabling services..."
# Enable services
...
...
@@ -410,7 +410,7 @@ fi
if
[
!
-z
"
$TIMEZONE
"
]
then
LOCALE
=
$(
dialog
--clear
--title
"Manjaro ARM Installer"
\
--inputbox
"Enter locale (example en_US
-utf
8):"
8 50
\
--inputbox
"Enter locale (example en_US
.UTF-
8):"
8 50
\
3>&1 1>&2 2>&3 3>&-
\
)
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment