Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advisories
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
linuxsupport
cronjobs
advisories
Merge requests
!14
Updates
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Updates
updates
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Alex Iribarren
requested to merge
updates
into
master
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
585f7a23
2 commits,
2 years ago
1 file
+
3
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
advisories/updateinfo.sh
+
3
−
6
Options
#!/bin/bash -x
TOP
=
"/advisories"
DISTS
=
"
slc6X
cc7X c8X"
DISTS
=
"cc7X c8X
CS9
"
REPOS
=
"repos"
ARCHS
=
"
i386 x86_
64"
ARCHS
=
"
x86_64 aarch
64"
UPDINFO
=
"/root/updateinfo.pl"
UPDINFOPY
=
"/root/updateinfo.py"
UPDARGS
=
"-X"
for
DIST
in
${
DISTS
}
;
do
for
ARCH
in
$ARCHS
;
do
if
[
$DIST
==
"cc7X"
-a
$ARCH
==
"i386"
]
;
then
continue
fi
if
[
$DIST
==
"c8X"
-a
$ARCH
==
"i386"
]
;
then
if
[
$DIST
==
"cc7X"
-a
$ARCH
==
"aarch64"
]
;
then
continue
fi
# Keep a backup db file to be used in case another script needs to read it at the same time this cronjob runs
Loading