Bug#624702: initramfs-tools: mkinitramfs doesn't honor setting of BOOTDIR when searching for config-... files
On Mon, May 02, 2011 at 09:07:41AM -0400, Stirling Westrup wrote:
> On Mon, May 2, 2011 at 9:01 AM, maximilian attems <firstname.lastname@example.org> wrote:
> > On Mon, May 02, 2011 at 07:00:46AM -0400, Stirling Westrup wrote:
> >> BOOTDIR is a variable used in update-initramfs and controls where the
> >> script expects to find initrd.img files. By default it is set to
> >> '/boot' but can be overridden with a setting in update-initramfs.conf
> >> or by passing the -b option to update-initramfs.
> > right mkinitramfs does it only at one place and it is a bug.
> > I'd prefer to have it no knownledge of bootdir and not do such funky things.
> > usually blocking those, there i overlooked.
> Okay, but how will it handle the case of grepping config files if it
> can't find them?
well the grepping is wrong.
it should only do version comparison for XZ and LZO with appropriate cut off.