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
d43f68b2
Commit
d43f68b2
authored
Aug 27, 2017
by
Igor Pecovnik
Browse files
Enabled overlays for sun8i branch
parent
719a175b
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-submenu
View file @
d43f68b2
...
...
@@ -581,7 +581,7 @@ while true; do
[[
-f
/etc/apt/sources.list.d/armbian.list
]]
&&
[[
-n
$(
grep
-w
beta /etc/apt/sources.list.d/armbian.list
)
]]
\
&&
LIST+
=(
"Stable"
"Switch to stable builds"
)
fi
[[
-d
/boot/dtb/overlay
&&
$LINUXFAMILY
==
sun
x
i
&&
$BRANCH
!=
default
]]
&&
LIST+
=(
"Overlays"
"Toggle board functions: UART, I2C, SPI, ..."
)
[[
-d
/boot/dtb/overlay
&&
$LINUXFAMILY
==
sun
*
i
&&
$BRANCH
!=
default
]]
&&
LIST+
=(
"Overlays"
"Toggle board functions: UART, I2C, SPI, ..."
)
[[
$(
apt-cache search
--names-only
'^linux-'
$(
lsb_release
-cs
)
'-root.*.'
$BOARD
''
|
sed
's/.*(\(.*\))/\1/'
|
awk
'{print $1}'
\
|
wc
-l
)
-gt
1
]]
&&
LIST+
=(
"Switch"
"Switch to alternative kernels"
)
...
...
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