summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/scripts/lib
Commit message (Collapse)AuthorAgeFilesLines
* wic: add support for sector size to sfdiskTrevor Woerner2025-05-081-6/+6
| | | | | | | | | | Recent versions of the 'sfdisk' utility support non-512 byte sized sector sizes by allowing the user to specify the size the wish to use on the command line. Update wic to provide this option in the case where a user wishes to generate an image with a sector size other than 512 bytes. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* wic: split out partition label from gpt nameTrevor Woerner2025-05-081-4/+3
| | | | | | | | | | | | | | | | | | | | | A partition's label is stored as part of a partition's meta-data. Whether or not labeling is supported depends on the filesystem type and whether or not that type supports labels. GPT partition names, on the other hand, are stored in the GPT table's metadata and only depends on whether or not GPT partitioning is used; support for GPT partition names is not required per-filesystem. In a wks configuration file, the user specifies they want a filesystem label applied to a filesystem by using the '--label <name>' directive. A user specifies they want a GPT partition name applied to a partition using the '--part-name <name>' directive. The wic code conflates these two and sets a partition's GPT name in either case when a user specifies '--part-name <name>' (correct) and '--label <name>' (not correct). Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* wic: add --sector-size cmdline arg to createTrevor Woerner2025-03-304-15/+26
| | | | | | | | | | | | | | Add a command-line argument, --sector-size <N>, to wic's "create" subcommand and allow it to propagate throughout the wic code so it can be used when generating a wic image. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Added scripts/lib/scriptpath.py change. Updated the wic version to make it clear it's from this layer. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Bring in a copy of wic from pokyMark Hatle2025-03-3032-0/+6514
Import a copy of wic and lib/oe as of poky commit: 8f74fa4073d4b2ba8e0d9559aa654f3cafcf373a Signed-off-by: Mark Hatle <mark.hatle@amd.com>