mkosi icon indicating copy to clipboard operation
mkosi copied to clipboard

Empty directories and a module remain under `.../kernel/drivers/firmware/`

Open Winterhuman opened this issue 1 year ago • 0 comments

mkosi commit the issue has been seen with

26673f65e17ae099bb0cf65928fe70c93b8a6a37 (v24.3)

Used host distribution

Arch Linux

Used target distribution

Arch Linux

Linux kernel version used

6.11.2-arch1-1

CPU architectures issue was seen on

x86_64

Unexpected behaviour you saw

/usr/lib/modules/*/kernel/drivers/firmware/{cirrus,efi,google}/ are left as empty directories after their modules are removed, but also, KernelModulesExclude=drivers/firmware doesn't remove cirrus/cs_dsp.ko.zst.

The behaviour doesn't change regardless of -fi or -ffi (the --debug logs are from running mkosi -fi --debug).

Used mkosi config

[Distribution]
Distribution=arch

[Content]
Packages=
	base
	linux

KernelModulesExclude=
	drivers/firmware

[Output]
Format=uki
ImageId=debug
PackageCacheDirectory=mkosi.pkgcache

mkosi output

Pasting the log returned: "There was an error creating your issue: body is too long, body is too long (maximum is 65536 characters)."

https://gist.github.com/Winterhuman/03b4f1c4e54577454995b1be7645feed

Winterhuman avatar Oct 10 '24 17:10 Winterhuman