Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
7c9b52ad
Commit
7c9b52ad
authored
Oct 29, 2017
by
Igor Pecovnik
Browse files
If directory is there, go. Allwinner is hardcoded now
parent
c472c65d
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
7c9b52ad
...
...
@@ -753,7 +753,7 @@ function jobs ()
overlay_prefix
=
$(
cat
/boot/armbianEnv.txt |
grep
overlay_prefix |
sed
's/overlay_prefix=//g'
)
TARGET_BRANCH
=
$BRANCH
exceptions
"
$BRANCH
"
HOME
=
"/boot/dtb/overlay"
HOME
=
"/boot/dtb/
allwinner/
overlay"
MOTD
=()
LINES
=()
LIST_CONST
=
-3
...
...
debian-config-submenu
View file @
7c9b52ad
...
...
@@ -522,7 +522,7 @@ while true; do
[[
-f
/boot/armbianEnv.txt
]]
&&
LIST+
=(
"Bootenv"
"Edit boot environment"
)
[[
-f
/boot/boot.ini
]]
&&
LIST+
=(
"Bootscript"
"Edit boot script"
)
[[
-d
/boot/dtb/
overlay
&&
$LINUXFAMILY
==
sun
*
i
&&
$BRANCH
!=
default
]]
&&
\
[[
-d
/boot/dtb/
allwinner/overlay
]]
&&
\
LIST+
=(
"Hardware"
"Toggle hardware configuration: UART, I2C, etc."
)
[[
-f
/usr/bin/bin2fex
&&
"
$LINUXFAMILY
"
=
sun
*
i
&&
"
$BRANCH
"
=
"default"
]]
&&
LIST+
=(
"Fexedit"
"Board (fex) settings editor"
)
[[
$(
apt-cache search
--names-only
'^linux-'
$(
lsb_release
-cs
)
'-root.*.'
$BOARD
''
|
sed
's/.*(\(.*\))/\1/'
|
awk
'{print $1}'
\
...
...
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