Comments (4)
from aufs-linux.
Looks like I should have asked in https://github.com/sfjro/aufs-standalone
I use archlinux, the kernel is what comes with this OS. The assembly is carried out using a slightly modified PKGBUILD (only my changes):
makedepends=(
...
# htmldocs
...
source=(
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
$url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig}
config # the main kernel config file
aufs6-base.patch
aufs6-kbuild.patch
aufs6-mmap.patch
aufs6-standalone.patch
vfs-ino.patch
Kconfig.patch
regd.c.patch
)
...
prepare() {
cd $_srcname
echo "Setting version..."
echo "-$pkgrel" > localversion.10-pkgrel
echo "${pkgbase#linux}" > localversion.20-pkgname
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
src="${src%.zst}"
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
echo "Copy directory aufs..."
cp -ar $startdir/fs/aufs $srcdir/$_srcname/fs/
cp -ar $startdir/include/uapi/linux $srcdir/$_srcname/include/uapi/
echo "Setting config..."
cp ../config .config
make olddefconfig
diff -u ../config .config || :
make -s kernelrelease > version
echo "Prepared $pkgbase version $(<version)"
}
build() {
cd $_srcname
make all
#make htmldocs
}
Before this, my other script is executed, it prepares all the files:
#!/usr/bin/env bash
source ./linux_aufs.ver
cd /build
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/linux.git
cp -ar /compil_pkg/build_scripts/linux_kernel/PKGBUILD /build/linux/
sed -i -e "s|pkgver=.*|pkgver=$pkgver|" -e "s|pkgrel=.*|pkgrel=$pkgrel|" /build/linux/PKGBUILD
wget -P /build/linux https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config
if grep -q "CONFIG_AUFS_FS=m" /build/linux/config; then echo
else sed -i '/# File systems/aCONFIG_AUFS_FS=m' /build/linux/config
fi
git clone https://github.com/sfjro/aufs-standalone.git
cd /build/aufs-standalone
git checkout origin/aufs$aufsver
cp -ar ./aufs6-kbuild.patch /build/linux/
cp -ar ./aufs6-base.patch /build/linux/
cp -ar ./aufs6-mmap.patch /build/linux/
cp -ar ./aufs6-standalone.patch /build/linux/
cp -ar ./vfs-ino.patch /build/linux
mkdir -p /build/linux/fs && cp -ar /build/aufs-standalone/fs/aufs /build/linux/fs/
mkdir -p /build/linux/include/uapi && cp -ar /build/aufs-standalone/include/uapi/linux /build/linux/include/uapi/
cp -ar /compil_pkg/linux-kernel/changed_files/Kconfig.patch /build/linux/
cp -ar /compil_pkg/linux-kernel/changed_files/regd.c.patch /build/linux/
cd /build/linux
makepkg -g >> PKGBUILD
makepkg -C --skippgpcheck
linux_aufs.ver:
#!/usr/bin/env bash
pkgver=6.6.6.arch1
pkgrel=1
aufsver=6.6
linuxver=6.6.6
The problem started with kernel 6.6.5. On 6.6.6 the problem remains.
config.tar.gz
from aufs-linux.
from aufs-linux.
Yes, this solves the problem, even for kernel 6.6.7. Will this greatly harm stability? Apparently, this is someone's mistake and this is a fix, a temporary solution.
from aufs-linux.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aufs-linux.