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
6c01ab8f
Unverified
Commit
6c01ab8f
authored
Nov 12, 2019
by
Igor Pečovnik
Committed by
GitHub
Nov 12, 2019
Browse files
Update debian-config-functions
parent
8f0ef1b0
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
6c01ab8f
...
@@ -412,6 +412,9 @@ function other_kernel_version ()
...
@@ -412,6 +412,9 @@ function other_kernel_version ()
CURRENT_VERSION_TEMP
=
$(
dpkg
-l
|
grep
'^ii'
|
grep
linux-image
)
CURRENT_VERSION_TEMP
=
$(
dpkg
-l
|
grep
'^ii'
|
grep
linux-image
)
CURRENT_VERSION
=
$(
echo
$CURRENT_VERSION_TEMP
|
awk
'{print $2}'
)
"="
$(
echo
$CURRENT_VERSION_TEMP
|
awk
'{print $3}'
)
CURRENT_VERSION
=
$(
echo
$CURRENT_VERSION_TEMP
|
awk
'{print $2}'
)
"="
$(
echo
$CURRENT_VERSION_TEMP
|
awk
'{print $3}'
)
# Merged families
[[
${
LINUXFAMILY
}
==
cubox
||
${
LINUXFAMILY
}
==
udoo
]]
&&
LINUXFAMILY
=
imx6
# 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:"
\
...
...
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