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
be3d67e4
Commit
be3d67e4
authored
2 years ago
by
Pavel Vondruska
Browse files
Options
Downloads
Patches
Plain Diff
Vyrobeni pseudobaliku se zavislosti na posledni verzi kernelu
parent
bf7d14b6
Branches
master
No related tags found
No related merge requests found
Pipeline
#7577
passed
1 year ago
Stage: test
Changes
2
Pipelines
330
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
make.sh
+7
-1
7 additions, 1 deletion
make.sh
make_pkg
+33
-0
33 additions, 0 deletions
make_pkg
with
40 additions
and
1 deletion
make.sh
+
7
−
1
View file @
be3d67e4
...
...
@@ -37,9 +37,15 @@ fi
apt
install
-yqqq
git devscripts build-essential module-assistant gpg wget
${
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
m-a
-l
5.10.0-23-amd64 a-b openafs
>
/dev/null 2>&1
cp
/usr/src/openafs-modules-
*
_amd64.deb
.
VER_PKG
=
$(
ls
-1
/usr/src/openafs-modules-
*
_amd64.deb |
tail
-1
|
grep
-Po
".*
\+\K
[^_]+"
)
VER_KER
=
$(
ls
-1
/usr/src/openafs-modules-
*
_amd64.deb |
tail
-1
|
grep
-Po
"modules
\-\K
[^_]+"
)
./make_pkg
${
VER_PKG
}
${
VER_KER
}
mkdir
build
mv
*
.deb build/
...
...
This diff is collapsed.
Click to expand it.
make_pkg
0 → 100755
+
33
−
0
View file @
be3d67e4
#!/bin/bash
VER_PKG
=
$1
VER_KER
=
$2
echo
$VER_PKG
echo
$VER_KER
rm
-rf
openafs-modules-meta
mkdir
-p
openafs-modules-meta/DEBIAN
cat
>
openafs-modules-meta/DEBIAN/control
<<
EOF
Package: openafs-modules-meta
Source: openafs-modules (1.8.6-5)
Version: 1.8.6-5+
${
VER_PKG
}
Architecture: amd64
Maintainer: Russ Allbery <rra@debian.org>
Installed-Size: 31807
Recommends: linux-image-
${
VER_KER
}
Breaks: openafs-client (<< 1.5.61)
Provides: openafs-modules3
Section: kernel
Priority: optional
Description: AFS distributed filesystem kernel module
AFS is a distributed filesystem allowing cross-platform sharing of
files among multiple computers. Facilities are provided for access
control, authentication, backup and administrative management.
.
This package provides the compiled AFS kernel module for kernel
version
${
VER_KER
}
.
EOF
dpkg-deb
-b
openafs-modules-meta openafs-modules-meta.deb
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