anatol / booster

Fast and secure initramfs generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build error - key ** maps to multiple values

medzine-us opened this issue · comments

Hello.

I'm using Booster on Arch (kernel 6.1).

I kept getting this error on build -

2022/12/20 14:14:26 key wl maps to multiple values (kernel/drivers/net/wireless/wl.ko.zst,updates/dkms/wl.ko.zst)

I kind of resolved this by deleting the DKMS kernel module.

Now I'm getting this error, and I'm not sure why, since the two files mentioned in the error message point to the same file!

2022/12/20 15:12:37 key regmap_i2c maps to multiple values (kernel/drivers/base/regmap/regmap-i2c.ko.zst,kernel/drivers/base/regmap/regmap-i2c.ko)

To be clear, regmap-i2c.ko.zst exists, while there's no such file as regmap-i2c.ko at the location indicated.

Any suggestions?

Thanks!

Follow-up --

I tried building again after removing the "offending" module, kernel/drivers/base/regmap/regmap-i2c.ko.zst, followed by depmod but got the same error for another module. Which I deleted, only to get the same error for a subsequent module.

It looks like a booster bug.

Could you please provide the content of your /etc/booster.yaml file?
And could you please run booster with verbose flag like this booster build --verbose --force foo.img and then post the application output here.

commented

Also receiving this error

key xone_gip maps to multiple values (kernel/drivers/input/joystick/xone-gip.ko.zst,updates/dkms/xone-gip.ko.zst)

@Fxzzi your issue is duplicate of #192 and is fixed in master.

@medzine-us this error message 2022/12/20 15:12:37 key regmap_i2c maps to multiple values (kernel/drivers/base/regmap/regmap-i2c.ko.zst,kernel/drivers/base/regmap/regmap-i2c.ko) is really strange one as it indeed points to the same file. How to reproduce this problem? What is your booster config file?