Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS Gluon
Commits
92d4631f
Commit
92d4631f
authored
9 months ago
by
Grische
Browse files
Options
Downloads
Patches
Plain Diff
scripts: update-modules: read feeds from modules
parent
10728bc8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/update-modules.sh
+5
-2
5 additions, 2 deletions
scripts/update-modules.sh
with
5 additions
and
2 deletions
scripts/update-modules.sh
+
5
−
2
View file @
92d4631f
...
...
@@ -16,7 +16,11 @@ git diff --quiet ./modules || {
LOCAL_BRANCH
=
$(
git branch
--show-current
)
[[
$LOCAL_BRANCH
!=
*
-updates
]]
&&
LOCAL_BRANCH+
=
-updates
for
MODULE
in
"OPENWRT"
"PACKAGES_PACKAGES"
"PACKAGES_ROUTING"
"PACKAGES_GLUON"
;
do
for
MODULE
in
"OPENWRT"
${
GLUON_FEEDS
}
;
do
if
[[
$MODULE
!=
"OPENWRT"
]]
;
then
MODULE
=
PACKAGES_
${
MODULE
^^
}
fi
_REMOTE_URL
=
${
MODULE
}
_REPO
_REMOTE_BRANCH
=
${
MODULE
}
_BRANCH
_LOCAL_HEAD
=
${
MODULE
}
_COMMIT
...
...
@@ -66,4 +70,3 @@ for MODULE in "OPENWRT" "PACKAGES_PACKAGES" "PACKAGES_ROUTING" "PACKAGES_GLUON";
# remove the checkout
rm
-fr
"
${
CHECKOUT
}
"
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment