Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openafs-module-debian
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Provoz
openafs-module-debian
Commits
e34f4e90
Commit
e34f4e90
authored
2 years ago
by
Pavel Vondruska
Browse files
Options
Downloads
Patches
Plain Diff
odhadnuti vsech existujicich jader a build modulu pro vsechny
parent
82d2148b
No related branches found
No related tags found
No related merge requests found
Pipeline
#2082
failed
2 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
make.sh
+8
-5
8 additions, 5 deletions
make.sh
with
8 additions
and
5 deletions
make.sh
+
8
−
5
View file @
e34f4e90
...
@@ -24,13 +24,16 @@ deb-src http://ftp.zcu.cz/pub/linux/debian ${VERSION_CODENAME}-updates main cont
...
@@ -24,13 +24,16 @@ deb-src http://ftp.zcu.cz/pub/linux/debian ${VERSION_CODENAME}-updates main cont
deb-src http://ftp.zcu.cz/pub/linux/debian-security
$(
get_debian_security
)
main contrib non-free
deb-src http://ftp.zcu.cz/pub/linux/debian-security
$(
get_debian_security
)
main contrib non-free
EOSOURCES
EOSOURCES
# Instalace buildovacich veci a zavislosti
#echo 'deb [trusted=yes] https://repo.metacentrum.cz/ ${VERSION_CODENAME} main pilot' >> /etc/apt/sources.list
apt update
-qqq
apt
install
-yqqq
git devscripts build-essential linux-image-amd64 linux-headers-amd64 module-assistant
echo
'deb [trusted=yes] https://repo.metacentrum.cz/ bullseye main pilot'
>>
/etc/apt/sources.list
PACKAGES
=
"linux-image-amd64 linux-headers-amd64"
if
[
"
${
VERSION_ID
}
"
-eq
"11"
]
;
then
PACKAGES
=
"
$(
apt search linux-headers-5.10.0- 2>/dev/null |
grep
-Po
"linux-headers-
\K\d
+
\.\d
+
\.\d
+
\-\d
+
\-
amd64"
|
sort
-u
|
while
read
v
;
do
echo
"linux-image-
$v
linux-headers-
$v
"
;
done
|
paste
-s
-d
' '
)
"
fi
# Instalace buildovacich veci a zavislosti
apt update
-qqq
apt update
-qqq
apt
install
-yqqq
linux-headers-5.10.0-13-amd64 linux-image-5.10.0-13-amd64-unsigned
apt
install
-yqqq
git devscripts build-essential module-assistant
${
PACKAGES
}
m-a
-l
$(
dpkg
-l
|
grep
-Po
"linux-image-
\K\d
+.*
\-
amd64"
|
paste
-s
-d
','
)
a-b openafs
>
/dev/null 2>&1
m-a
-l
$(
dpkg
-l
|
grep
-Po
"linux-image-
\K\d
+.*
\-
amd64"
|
paste
-s
-d
','
)
a-b openafs
>
/dev/null 2>&1
...
...
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