On 16:05-20210607, Priya N S wrote:
> From: Priya N S <[email protected]>
> 
> Hi All,
> Below are the patches to fix the issues observed in the create-sdcard
> script.

a) Do these apply to meta-arago?
b) why not use the wic and bmap files instead?

> 
> Issue:
> 1. The create-sdcard script uses 'rootfs' as a regex keyword to find
> and list the filesystem tarballs which are available in the SDK
> package. As in the current SDK packages, the tarball names are in the
> following format,
> tisdk-<IMAGE_TYPE>-image-<MACHINE>.tar.xz
> Which doesn't have the rootfs keyword. This fails to list the tarballs
> available in the package and crashes the script execution.
> 2. The create-sdcard script detects a partitioned SD card as not
> partitioned because of the failure of the size check condition in the
> script.
> 
> Fix:
> 1. The 'image' is used as the regex keyword to match the tarball names
> in the SDK packages.
> 2. The usage of the cylinder size unit for partitioning the SD card is
> removed since the cylinder size is SD card manufacturer dependent.
> The parted command is replaced with fdisk since fdisk is an available
> installed utility.
> 
> Priya N S (3):
>   create-sdcard.sh: fix regex used for rootfs tarball
>   create-sdcard: Fix wrong rootfs tarball selection
>   create-sdcard.sh: Stop using cylinder as unit for partition size
> 
>  create-sdcard.sh | 75 +++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 58 insertions(+), 17 deletions(-)
> 
> -- 
> 2.19.1.windows.1
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 
849D 1736 249D
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to