Re: [PATCH] lsinitrd: support symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Am 17.04.2012 11:31, schrieb Amadeusz Żołnowski:
> From: Nikoli <nikoli@xxxxxxxxxxx>
> 
> ---
>  lsinitrd.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lsinitrd.sh b/lsinitrd.sh
> index 1eaa37d..e6767dc 100755
> --- a/lsinitrd.sh
> +++ b/lsinitrd.sh
> @@ -34,7 +34,7 @@ image="${1:-/boot/initramfs-$(uname -r).img}"
>  [[ -f "$image" ]]    || { echo "$image does not exist" ; exit 1 ; }
>  
>  CAT=zcat
> -FILE_T=$(file "$image")
> +FILE_T=$(file --dereference "$image")
>  
>  if echo "test"|xz|xz -dc --single-stream >/dev/null 2>&1; then
>      XZ_SINGLE_STREAM="--single-stream"

pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux