-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel-440-nfsd-replacement: Add version 1.0
This package installs an nfsd kernel module for the Linux 5.15.77-440 kernel, which has a fix for the 'chgrp' problem with sec=mariux nfs mounts. The nfsd module can be reloaded without a system reboot: systemctl stop nfsd systemctl stop proc-fs-nfsd.mount rmmod nfsd systemctl start proc-fs-nfsd.mount systemctl start nfsd
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION kernel-440-nfsd-replacement-1.0-0 | ||
|
||
# This package installs an nfsd kernel module for the Linux 5.15.77-440 kernel, | ||
# which has a fix for the 'chgrp' problem with sec=mariux nfs mounts. | ||
# | ||
# The nfsd module can be reloaded without a system reboot: | ||
# | ||
# systemctl stop nfsd | ||
# systemctl stop proc-fs-nfsd.mount | ||
# rmmod nfsd | ||
# systemctl start proc-fs-nfsd.mount | ||
# systemctl start nfsd | ||
# | ||
# The nfsd.ko file has been produced by: | ||
# | ||
# cd /scratch/local | ||
# tar xf /src/mariux/beeroot/build-archives/linux-5.15.77-440.x86_64.beebuild.tar.bz2 | ||
# cd linux-5.15.77-440.x86_64/build | ||
# patch -p1 < /src/mariux/patches/nfsd-Do-no-try-to-us-idmapd-for-sec-mariux.patch | ||
# make | ||
# | ||
# This package is ugly in the sense that it overwrites nfsd.ko from the | ||
# linux-5.15.77-440 package. But its a workaround which will become obsolete | ||
# with system booting to later kernel versions. | ||
|
||
SRCURL[0]="https://beehive.molgen.mpg.de/3b6dda7e31957725c92e220dfb5ea7f1/nfsd.ko" | ||
|
||
# PATCHURL+=() | ||
|
||
# build_in_sourcedir | ||
|
||
# sourcesubdir_append src | ||
|
||
mee_extract() { | ||
cp $1 $S/ | ||
} | ||
|
||
#mee_patch() { | ||
# bee_patch "${@}" | ||
#} | ||
|
||
mee_configure() { | ||
true | ||
} | ||
|
||
mee_build() { | ||
true | ||
} | ||
|
||
mee_install() { | ||
mkdir -p $D/lib/modules/5.15.77.mx64.440/kernel/fs/nfsd | ||
cp $S/nfsd.ko $D/lib/modules/5.15.77.mx64.440/kernel/fs/nfsd/nfsd.ko | ||
} | ||
|
||
#mee_install_post() { | ||
# exit | ||
#} |