I just applied a backlog of upgrades to my laptop, which has an encrypted
root volume. I discovered that the initramfs that got created didn't
include all the libraries that cryptsetup needs, so I couldn't boot. I'm
not sure whether the correct fix is to:
1. Tell mkinitfs to install the additional libraries to the initramfs.
This can be done by adding the following line:
/lib/libpthread*.so*
to the end of /etc/mkinitfs/files.d/cryptsetup.
Or:
2. Make cryptsetup build without depending on the threading library, as
I presume was the former behavior. I don't know whether this can be done
with current versions, or if it can, whether it's desirable.
--
Dubiousjim
dubiousjim@gmail.com
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
On Sat, Nov 30, 2013 at 08:17:14PM -0500, Dubiousjim wrote:
> I just applied a backlog of upgrades to my laptop, which has an encrypted
> root volume. I discovered that the initramfs that got created didn't
> include all the libraries that cryptsetup needs, so I couldn't boot. I'm
> not sure whether the correct fix is to:
>
> 1. Tell mkinitfs to install the additional libraries to the initramfs.
> This can be done by adding the following line:
>
> /lib/libpthread*.so*
>
> to the end of /etc/mkinitfs/files.d/cryptsetup.
>
> Or:
>
> 2. Make cryptsetup build without depending on the threading library, as
> I presume was the former behavior. I don't know whether this can be done
> with current versions, or if it can, whether it's desirable.
I should have checked the bugtracker before emailing, but this wasn't
listed there. Bug #2360 (which has been fixed) is similar, but involves
a different missing dependency.
I added this as Issue #2445.
--
Dubiousjim
dubiousjim@gmail.com
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---