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
46fdc800
Unverified
Commit
46fdc800
authored
Dec 20, 2020
by
Piotr Szczepanik
Committed by
GitHub
Dec 20, 2020
Browse files
Fixed kernel switching for rk3399 family (#127)
parent
e3a9a1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
46fdc800
...
@@ -444,10 +444,11 @@ function other_kernel_version ()
...
@@ -444,10 +444,11 @@ function other_kernel_version ()
[[
${
LINUXFAMILY
}
==
cubox
||
${
LINUXFAMILY
}
==
udoo
]]
&&
LINUXFAMILY
=
imx6
[[
${
LINUXFAMILY
}
==
cubox
||
${
LINUXFAMILY
}
==
udoo
]]
&&
LINUXFAMILY
=
imx6
[[
${
BOARD
}
==
odroidc2
||
${
BOARD
}
==
kvim1
||
${
BOARD
}
==
lafrite
||
${
BOARD
}
==
lepotato
||
${
BOARD
}
==
nanopik2-s905
]]
&&
HIDDEN
=
"legacy"
[[
${
BOARD
}
==
odroidc2
||
${
BOARD
}
==
kvim1
||
${
BOARD
}
==
lafrite
||
${
BOARD
}
==
lepotato
||
${
BOARD
}
==
nanopik2-s905
]]
&&
HIDDEN
=
"legacy"
[[
${
LINUXFAMILY
}
==
odroidn2
]]
&&
LINUXFAMILY
=
meson64
[[
${
LINUXFAMILY
}
==
odroidn2
]]
&&
LINUXFAMILY
=
meson64
[[
${
BOARDFAMILY
}
==
rk3399
]]
&&
LINUXFAMILY
=
"((current|dev)-rockchip64|legacy-rk3399)"
# check what is available from the repository
# check what is available from the repository
debconf-apt-progress
--
apt-get update
debconf-apt-progress
--
apt-get update
LIST
=(
$(
apt-cache show linux-image
*${
LINUXFAMILY
}
|
grep
-E
"Package:|Version:|version:"
\
LIST
=(
$(
apt-cache show linux-image
.
*${
LINUXFAMILY
}
|
grep
-E
"Package:|Version:|version:"
\
|
grep
-v
"Config-Version"
|
sed
-n
-e
's/^.*: //p'
|
sed
's/\.$//g'
)
)
|
grep
-v
"Config-Version"
|
sed
-n
-e
's/^.*: //p'
|
sed
's/\.$//g'
)
)
new_list
=()
new_list
=()
...
...
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