can not build kernel53, need mkinitcpio>=27

Hi,

I would like to patch my kernel to allow me to reset my vega card.

so I try to build mykernel with manjaro kernel git:

git clone https://gitlab.manjaro.org/packages/core/linux53.git
cd linux53
# add my patch as 0014-fix-vega-reset-patch
# add 0014-fix-vega-reset-patch references to PKGBUILD
time MAKEFLAGS="-j26" makepkg -s
# ...
8935.25s user 1078.15s system 1552% cpu 10:44.82 total
sudo pacman -U ./linux53-5.3.9-1-x86_64.pkg.tar.xz ./linux53-headers-5.3.9-1-x86_64.pkg.tar.xz
loading packages...
warning: linux53-headers-5.3.9-1 is up to date -- reinstalling
resolving dependencies...
warning: cannot resolve "mkinitcpio>=27", a dependency of "linux53"
:: The following package cannot be upgraded due to unresolvable dependencies:
      linux53

:: Do you want to skip the above package for this upgrade? [y/N]

mkinitcpio minimal version had just been update to >=27 yesterday.

is there a way to install mkinitcpio 27 on my Manjaro without breaking everything ?
or should I use a previous version, but witch one/commit ?

Switch to unstable branch.

There are only subjective answers to this question ...

1 Like

I'm running on the stable version.

I try to setup lastest AUR mkinitcpio with yay. but The last visible version is a 26.

when using aur avoid stable branch at all cost

when considering aur
stable becomes unstable
and unstable becomes stable.

2 Likes

I prefer using stable branch and not to use AUR package.
I just wan to add 2 source code line to my kernel, be able to reset my vega64.
So I should use a previous version of manjaro kernel build script, but do not know le commit ID I should pull.
this is the first time I use a rolling release. to the version number should only be a date ?

1 Like

I use a previous verison of the kernel5.3 git

git checkout git rev-list -n 1 --first-parent --before="2019-10-01 18:30:00" master``

The date had been randomly choose, and for now it works, I'm on my new kernel, I have to test if the patch works.

Forum kindly sponsored by