Bug#497133: initramfs-tools: explodes when kernel is booted with root=mtd0
On Mon, Sep 01, 2008 at 11:22:34AM -0400, Andres Salomon wrote:
<snipp>
> How about something like the following (untested) patch? It's not foolproof,
> but it at least ignores things that can't possibly be hex strings.
looks good to me, i'll apply it, tested on dash,
right you can still have non hex but it starts to exclude.
> --- /usr//share/initramfs-tools/scripts/functions.orig 2008-09-01 11:14:11.000000000 -0400
> +++ /usr//share/initramfs-tools/scripts/functions 2008-09-01 11:18:57.000000000 -0400
> @@ -242,11 +242,14 @@ parse_numeric() {
what i'd be interested is the failure that happens with this patch
applied, there is no way $ROOT aka mtd0 will be found?!
--
maks
Reply to: