From: Priya N S <priya...@ti.com>

Hi All,
Below are the patches to fix the issues observed in the create-sdcard
script.

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
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to