You are not logged in.

#1 2024-04-02 00:05:40

gcb
Member
Registered: 2014-02-12
Posts: 213

[SOLVED] what provides /etc/mkinitcpio.d/linux.preset?

`pacman -Qo` says no package owns that file.

Most places mention `linux` install it. e.g. https://bbs.archlinux.org/viewtopic.php … 6#p1894916

But I can't find the contents of that file in the linux-* packages.

Last edited by gcb (2024-04-03 17:09:01)

Offline

#2 2024-04-02 00:36:12

edacval
Member
From: .LT
Registered: 2008-10-23
Posts: 98

Re: [SOLVED] what provides /etc/mkinitcpio.d/linux.preset?

it is generated dynamically by the /usr/share/libalpm/scripts/mkinitcpio script invoked from /usr/share/libalpm/hooks/90-mkinitcpio-install.hook pacman hook.

Offline

#3 2024-04-02 00:39:06

goro9922
Member
Registered: 2019-04-12
Posts: 45

Re: [SOLVED] what provides /etc/mkinitcpio.d/linux.preset?

Looks like it's the archiso package. In my case:

$ sudo pacman -F linux.preset
extra/archiso 74-1
    usr/share/archiso/configs/baseline/airootfs/etc/mkinitcpio.d/linux.preset
    usr/share/archiso/configs/releng/airootfs/etc/mkinitcpio.d/linux.preset

And then you can just look up the archiso package at https://archlinux.org/packages/extra/any/archiso/

Offline

#4 2024-04-03 17:08:45

gcb
Member
Registered: 2014-02-12
Posts: 213

Re: [SOLVED] what provides /etc/mkinitcpio.d/linux.preset?

Thanks!

always try to forget about the package hooks there. I should put a note on /etc/pacman.d/hooks/ to look for libalpm too.

The archiso ones are special purpose i think. not what we get on a regular install.

Offline

Board footer

Powered by FluxBB