Porteus Kernel Builder

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
beny
Full of knowledge
Full of knowledge
Posts: 1987
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#1936 by beny » 11 Nov 2023, 21:55

hi roadie, you have to remove the old kernel version patch before to apply the new one,just for the record
patch -R -p1 < ../patch-x.y.z

fulalas
DEV Team
DEV Team
Posts: 2039
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus Kernel Builder

Post#1937 by fulalas » 11 Nov 2023, 23:38

@roadie, could you upload your 6.6.x kernel module so I can test it?

Thanks!

roadie
Full of knowledge
Full of knowledge
Posts: 385
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1938 by roadie » 12 Nov 2023, 00:13

fulalas wrote:
11 Nov 2023, 23:38
@roadie, could you upload your 6.6.x kernel module so I can test it?

Thanks!
@fulalas,

Here's the link, as you'll see, it's what might be called a sparse kernel. I think it may be of no use to you as it's built specifically for AMD machines, all Intel has been removed.

https://www.mediafire.com/file/xr6vhchn ... ar.gz/file

fulalas
DEV Team
DEV Team
Posts: 2039
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus Kernel Builder

Post#1939 by fulalas » 12 Nov 2023, 10:28

@roadie, thanks but it didn't work since I have an Intel machine.

Anyway, I managed to make everything work with this code:

Code: Select all

rm ../aufs_sources/tmpfs-idr.patch # this patch isn't useful
cp -r ../aufs_sources/{fs,Documentation} .
cp ../aufs_sources/include/uapi/linux/aufs_type.h include/uapi/linux
for i in ../aufs_sources/*.patch; do
	patch -N -p1 < "$i" > /dev/null 2>&1 || { echo "Failed to add AUFS patch '${i}'."; exit 1; }
done

User avatar
Blaze
DEV Team
DEV Team
Posts: 3768
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1940 by Blaze » 30 Nov 2023, 16:28

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.6.3 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.6.3.tar (~156 M)
https://www.mediafire.com/file/x09ttty3 ... l6.6.3.tar
5c60f6528ecb309490530c47c4cb51e3 64bit-ALL-kernel6.6.3.tar

Note 1: Compiler that was used.
for kernel 6.5.1: 11.2.0-x86_64

Note 2: Compilated under Porteus 5.01 (Slackware 15.0 base. Note. glibc-2.33 replaced on glibc-2.35)

Note 3: A new cryptsetup (version 2.3.5: presented by @ncmprhnsbl)

Note 4: ZSTD compression

Thanks to neko for support.
Linux 5.15.11-porteus #1 SMP Sat Dec 25 13:08:57 MSK 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ up to 4.60GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

peebee
Black ninja
Black ninja
Posts: 43
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#1941 by peebee » 04 Dec 2023, 15:34

There seems to be an aufs problem with kernel 6.6.4
https://github.com/sfjro/aufs-standalone/issues/32

beny
Full of knowledge
Full of knowledge
Posts: 1987
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#1942 by beny » 04 Dec 2023, 17:11

hi blaze the 6.6.4 kernel also with the kernel builder fail to add the devices to union, operation not permitted, but the build task is ok just for the record.
the message is mkdir can't create directory union operation not permitted

Post Reply