Re: [PATCH] x86, efi: Allow slash in file path of initrd

From: Matt Fleming
Date: Mon Jan 07 2013 - 11:44:05 EST


On Thu, 2012-12-20 at 19:33 +0800, Lee, Chun-Yi wrote:
> When initrd file didn't put at the same place with stub kernel, we
> need give the file path of initrd, but need use backslash to separate
> directory and file. It's not friendly to unix/linux user, and not so
> intuitive for bootloader forward paramters to efi stub kernel by
> chainloading.
>
> This patch add support to handle_ramdisks for allow slash in file path
> of initrd, it convert slash to backlash when parsing path.
>
> In additional, this patch also separates print code of efi_char16_t from
> efi_printk, and print out the path/filename of initrd when failed to open
> initrd file. It's good for debug and discover typo.
>
> Cc: Matthew Garrett <mjg59@xxxxxxxxxxxxx>
> Cc: H. Peter Anvin <hpa@xxxxxxxxx>
> Cc: Matt Fleming <matt.fleming@xxxxxxxxx>
> Signed-off-by: Lee, Chun-Yi <jlee@xxxxxxxx>
> ---
> arch/x86/boot/compressed/eboot.c | 26 +++++++++++++++++++-------
> 1 files changed, 19 insertions(+), 7 deletions(-)

Thanks, I've queued this up.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/