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
d8f8de0d
Commit
d8f8de0d
authored
Mar 23, 2021
by
Igor Pecovnik
Browse files
Supporting EDGE branch
parent
48ea2d23
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
d8f8de0d
...
@@ -363,7 +363,7 @@ function reload_bsp(){
...
@@ -363,7 +363,7 @@ function reload_bsp(){
[[
-n
"
$1
"
]]
&&
BRANCH
=
$1
[[
-n
"
$1
"
]]
&&
BRANCH
=
$1
# deal with exceptions
# deal with exceptions
if
[[
$BRANCH
==
current
||
$BRANCH
==
dev
]]
;
then
if
[[
$BRANCH
==
current
||
$BRANCH
==
dev
||
$BRANCH
==
edge
]]
;
then
[[
${
LINUXFAMILY
}
==
rk3399
]]
&&
LINUXFAMILY
=
rockchip64
[[
${
LINUXFAMILY
}
==
rk3399
]]
&&
LINUXFAMILY
=
rockchip64
fi
fi
...
@@ -493,6 +493,8 @@ function other_kernel_version ()
...
@@ -493,6 +493,8 @@ function other_kernel_version ()
[[
$TARGET_VERSION
==
*
next
*
]]
&&
UPGRADE_ROOT
=
"-next"
&&
UPGRADE_UBOOT
=
"next"
[[
$TARGET_VERSION
==
*
next
*
]]
&&
UPGRADE_ROOT
=
"-next"
&&
UPGRADE_UBOOT
=
"next"
[[
$TARGET_VERSION
==
*
current
*
]]
&&
UPGRADE_ROOT
=
"-current"
&&
UPGRADE_UBOOT
=
"current"
[[
$TARGET_VERSION
==
*
current
*
]]
&&
UPGRADE_ROOT
=
"-current"
&&
UPGRADE_UBOOT
=
"current"
[[
$TARGET_VERSION
==
*
dev
*
]]
&&
UPGRADE_ROOT
=
"-dev"
&&
UPGRADE_UBOOT
=
"dev"
[[
$TARGET_VERSION
==
*
dev
*
]]
&&
UPGRADE_ROOT
=
"-dev"
&&
UPGRADE_UBOOT
=
"dev"
[[
$TARGET_VERSION
==
*
edge
*
]]
&&
UPGRADE_ROOT
=
"-edge"
&&
UPGRADE_UBOOT
=
"dev"
# install packages
# install packages
PACKAGE_LIST
=
"
$TARGET_VERSION
"
PACKAGE_LIST
=
"
$TARGET_VERSION
"
...
...
debian-config-jobs
View file @
d8f8de0d
...
@@ -211,7 +211,7 @@ function jobs ()
...
@@ -211,7 +211,7 @@ function jobs ()
selection
=
$(
echo
$SOURCE_PKG_LIST
|
awk
'{ print $NF }'
)
selection
=
$(
echo
$SOURCE_PKG_LIST
|
awk
'{ print $NF }'
)
fi
fi
PACKAGE
=
$(
echo
"
$selection
"
|
sed
"s/-current//"
|
sed
"s/-dev//"
|
sed
"s/-legacy//"
)
PACKAGE
=
$(
echo
"
$selection
"
|
sed
"s/-current//"
|
sed
"s/-dev//"
|
sed
"s/-edge//"
|
sed
"s/-legacy//"
)
if
[[
-n
$PACKAGE
]]
;
then
if
[[
-n
$PACKAGE
]]
;
then
debconf-apt-progress
--
apt-get
-y
install
${
selection
}
debconf-apt-progress
--
apt-get
-y
install
${
selection
}
mkdir
-p
/usr/src/
$PACKAGE
mkdir
-p
/usr/src/
$PACKAGE
...
...
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