Sabayon / genkernel-next

An improved and modern remake of Gentoo genkernel (in: udev, plymouth; out: cross compiler support)
47 stars 45 forks source link

In 00-crypt.sh the key-file option (-d) is defined multiple time with multiple crypt_roots #83

Closed duxsco closed 3 years ago

duxsco commented 5 years ago

If you use multiple "crypt_roots" kernel options together with "root_key", only the first device is opened by cryptsetup. Opening further devices fails. The reason lies with the use of multiple "-d" (--key-file) options. I had to change 00-crypt.sh the following way in order to get it fixed:

https://github.com/dasa123/genkernel-next/commit/d2617d011f3eb14feffd203b6ae309c7ebf5c878