[Task]: Add sector size support to partitioning for UFS
Description
Task description
While working on Radxa Nio 12L support which uses 4096 byte native storage via UFS I noticed just setting offset isn’t enough as the build system always defaults to 512 byte's with the included sfdisk from the docker image.
Task description
While working on Radxa Nio 12L support which uses 4096 byte native storage via UFS I noticed just setting offset isn’t enough as the build system always defaults to 512 byte's with the included sfdisk from the docker image.
[ ] Find a solution to have --sector-size enabled for sfdisk in our build process which is a thing in newer versions. (See https://man7.org/linux/man-pages/man8/sfdisk.8.html)
[ ] Update partitioning.sh to make use of sector sizes in `sfdisk` and `losetup`
[ ] Add documentation for sector size env variable
Raised by: https://github.com/HeyMeco
https://github.com/armbian/build/issues/7942