Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 59 lines (47 sloc) 1.37 KB
#!/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
#}