Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
manjaro-arm-installer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
manjaro-arm
applications
manjaro-arm-installer
Commits
2ac3554d
Commit
2ac3554d
authored
Dec 27, 2018
by
Dan Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
timezone and locale requires a bootes system, commented it out
parent
0f7a035c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
manjaro-arm-installer
manjaro-arm-installer
+26
-26
No files found.
manjaro-arm-installer
View file @
2ac3554d
...
@@ -12,8 +12,8 @@ USER=""
...
@@ -12,8 +12,8 @@ USER=""
PASSWORD
=
""
PASSWORD
=
""
ROOTPASSWORD
=
""
ROOTPASSWORD
=
""
SDCARD
=
""
SDCARD
=
""
TIMEZONE
=
""
#
TIMEZONE=""
LOCALE
=
""
#
LOCALE=""
# Sanity checks for dependencies
# Sanity checks for dependencies
#if [ ! -f /usr/bin/sudo ]
#if [ ! -f /usr/bin/sudo ]
...
@@ -144,8 +144,8 @@ create_install() {
...
@@ -144,8 +144,8 @@ create_install() {
#system setup
#system setup
sudo
systemd-nspawn
-D
$TMPDIR
/root
chmod
u+s /usr/bin/ping 1> /dev/null 2>&1
sudo
systemd-nspawn
-D
$TMPDIR
/root
chmod
u+s /usr/bin/ping 1> /dev/null 2>&1
sudo
systemd-nspawn
-D
$TMPDIR
/root update-ca-trust 1> /dev/null 2>&1
sudo
systemd-nspawn
-D
$TMPDIR
/root update-ca-trust 1> /dev/null 2>&1
sudo
systemd-nspawn
-D
$TMPDIR
/root timedatectl set-timezone
"
$TIMEZONE
"
#
sudo systemd-nspawn -D $TMPDIR/root timedatectl set-timezone "$TIMEZONE"
sudo
systemd-nspawn
-D
$TMPDIR
/root localectl set-locale
"
$LOCALE
"
#
sudo systemd-nspawn -D $TMPDIR/root localectl set-locale "$LOCALE"
msg
"Doing device specific setups for
$DEVICE
..."
msg
"Doing device specific setups for
$DEVICE
..."
if
[[
"
$DEVICE
"
=
"rpi2"
]]
||
[[
"
$DEVICE
"
=
"rpi3"
]]
;
then
if
[[
"
$DEVICE
"
=
"rpi2"
]]
||
[[
"
$DEVICE
"
=
"rpi3"
]]
;
then
...
@@ -395,28 +395,28 @@ else
...
@@ -395,28 +395,28 @@ else
fi
fi
if
[
!
-z
"
$SDCARD
"
]
#
if [ ! -z "$SDCARD" ]
then
#
then
TIMEZONE
=
$(
dialog
--clear
--title
"Manjaro ARM Installer"
\
#
TIMEZONE=$(dialog --clear --title "Manjaro ARM Installer" \
--inputbox
"Enter timezone (example Europe/London):"
8 50
\
#
--inputbox "Enter timezone (example Europe/London):" 8 50 \
3>&1 1>&2 2>&3 3>&-
\
#
3>&1 1>&2 2>&3 3>&- \
)
#
)
else
#
else
clear
#
clear
exit
1
#
exit 1
fi
#
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.UTF-8):"
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
clear
#
clear
exit
1
#
exit 1
fi
#
fi
# List all the responses upon completion to be verified
# List all the responses upon completion to be verified
clear
clear
...
@@ -426,8 +426,8 @@ echo "User name = $USER"
...
@@ -426,8 +426,8 @@ echo "User name = $USER"
echo
"Password for
$USER
= (
$PASSWORD
)"
echo
"Password for
$USER
= (
$PASSWORD
)"
echo
"Root Password = (
$ROOTPASSWORD
)"
echo
"Root Password = (
$ROOTPASSWORD
)"
echo
"SDCard =
$SDCARD
"
echo
"SDCard =
$SDCARD
"
echo
"Timezone =
$TIMEZONE
"
#
echo "Timezone = $TIMEZONE"
echo
"Locale =
$LOCALE
"
#
echo "Locale = $LOCALE"
echo
"Are the above settings correct?"
echo
"Are the above settings correct?"
select
yn
in
"Yes"
"No"
;
do
select
yn
in
"Yes"
"No"
;
do
...
...
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