[Pkg-cryptsetup-devel] Bug#466240: Bug#466240: cryptsetup: /scripts/local-top/cryptroot: 22: basename: not found

Jonas Meurer jonas at freesources.org
Mon Feb 18 13:14:40 UTC 2008

On 17/02/2008 Adeodato Simó wrote:
> When I boot, I can see the following error repeated three times:
>   /scripts/local-top/cryptroot: 22: basename: not found
>   [: 22: cryptroot: unexpected operator
> I'm not very familiar with initram stuff, but it'd seem as if
> /usr/bin/basename is not available.

Did you disable busybox in /etc/initramfs-tools/initramfs.conf? busybox
provides basename, so if you enable it again in initramfs, this error
should disappear.

Nevertheless I'm happy to remove yet another dependency on a binary from
the initramfs script, so I applied your patch.


More information about the Pkg-cryptsetup-devel mailing list