You are not logged in.

#1 2020-12-06 18:46:47

dedushka
Member
Registered: 2020-12-06
Posts: 1

So what's the point of the --generatedir command switch in mkinitcpio?

My ESP is mounted at /efi. Initially I opted to use /boot for entries in systemd-boot, but it won't look outside of /efi. Fine, I'll move the files inside of /efi using the --generatedir switch in mkinitcpio.

Except it doesn't put the images in the directory I choose. It just dumps them in /boot anyway.

So what exactly is --generatedir supposed to do?

Offline

#2 2020-12-06 21:37:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,678

Re: So what's the point of the --generatedir command switch in mkinitcpio?

man mkinitcpio wrote:

       -d, --generatedir directory
           Set directory as the location where the initramfs is built. This might be useful to
           generate a shutdown ramfs in /run/initramfs.

Offline

Board footer

Powered by FluxBB