Package Details: linux-cachyos-hardened 6.11.9-1

Git Clone URL: https://aur.archlinux.org/linux-cachyos-hardened.git (read-only, click to copy)
Package Base: linux-cachyos-hardened
Description: The Linux BORE scheduler and hardened Kernel by CachyOS with other patches and improvements kernel and modules
Upstream URL: https://github.com/CachyOS/linux-cachyos
Licenses: GPL-2.0-only
Provides: KSMBD-MODULE, NTSYNC-MODULE, UKSMD-BUILTIN, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Submitter: ptr1337
Maintainer: ptr1337 (sir_lucjan)
Last Packager: sir_lucjan
Votes: 1
Popularity: 0.000000
First Submitted: 2022-06-10 08:57 (UTC)
Last Updated: 2024-11-18 08:01 (UTC)

Dependencies (17)

Required by (11)

Sources (6)

Latest Comments

sp1d3rmxn commented on 2023-06-19 14:25 (UTC)

This is happening this time:

Hunk #1 succeeded at 1312 (offset -4 lines).
patching file kernel/sched/core.c
Hunk #1 succeeded at 4378 (offset 3 lines).
Hunk #2 FAILED at 4406.
Hunk #3 succeeded at 4626 (offset 5 lines).
Hunk #4 succeeded at 9071 (offset 5 lines).
Hunk #5 succeeded at 9741 (offset 5 lines).
1 out of 5 hunks FAILED -- saving rejects to file kernel/sched/core.c.rej
patching file kernel/sched/debug.c
patching file kernel/sched/fair.c
Hunk #6 succeeded at 5185 (offset 47 lines).
Hunk #7 succeeded at 5234 (offset 47 lines).
Hunk #8 succeeded at 6533 (offset 59 lines).
Hunk #9 succeeded at 7995 (offset 83 lines).
Hunk #10 succeeded at 8021 (offset 83 lines).
Hunk #11 succeeded at 8134 (offset 83 lines).
Hunk #12 succeeded at 8375 (offset 83 lines).
patching file kernel/sched/features.h
==> ERROR: A failure occurred in prepare().
    Aborting...

and the only thing I changed in the PKGBUILD was:

### Tweak kernel options prior to a build via nconfig
_makenconfig=${_makenconfig-y}

Thoughts?

ptr1337 commented on 2023-03-11 17:33 (UTC)

@sp1d3rmxn

Hi. Actually this is not really possible at all. The patchsets gets with each major version. If people change something on the PKGBUILD and use additonal patches, they should regenerate the checksums.

Otherwise we would need to add everywhere a SKIP or do a if option xyz; then sha256sums+=(checksum...)

That would be massive to maintain. Otherwise use the cachyos kernel builder, where you can select over a GUI your options and it does generate the checksum before building correctly.

sp1d3rmxn commented on 2023-03-11 17:21 (UTC)

It might be helpful to those that want to use this with the "bcachefs" enabled or maybe without to have the actual sha256sum array correct in the PKGBUILD:

you have this: sha256sums=('842ac15eff0e6fb0c150fdf83f4f6aaf6b4c1239dcf8c14e2227620ec0ae141e' '4c756bc4cc45c4cbea8e59398612f8582b68b3276fc9c78f0f34a1c903a99e81' '41c34759ed248175e905c57a25e2b0ed09b11d054fe1a8783d37459f34984106' '94f901671a4b10994aed58650e657c425fed932ad5e5e01b3800628d6d5a48c6' '142ffdd165a83643e9e5d85f613c6c65621f68394a8014dfb90fadd9d33c6462' '07dd83252dba452113f2a1f7650117edb725ca92a149ec4fec03fd389abbc81c' '944b736d518210b5a433e1a300ecccbdb450e79904d72e9f98fadfdafca2f3d8')

it needs to be this: sha256sums=('842ac15eff0e6fb0c150fdf83f4f6aaf6b4c1239dcf8c14e2227620ec0ae141e' '4c756bc4cc45c4cbea8e59398612f8582b68b3276fc9c78f0f34a1c903a99e81' '41c34759ed248175e905c57a25e2b0ed09b11d054fe1a8783d37459f34984106' '94f901671a4b10994aed58650e657c425fed932ad5e5e01b3800628d6d5a48c6' '142ffdd165a83643e9e5d85f613c6c65621f68394a8014dfb90fadd9d33c6462' '07dd83252dba452113f2a1f7650117edb725ca92a149ec4fec03fd389abbc81c' '944b736d518210b5a433e1a300ecccbdb450e79904d72e9f98fadfdafca2f3d8' 'c7a84384113775f32ce8fb5a0a21780d9e0e83d85472b675040f446609a3782c')

Not sure how it was missed since it is only adding one more...