RPi-Distro / pi-gen

Tool used to create the official Raspberry Pi OS images
BSD 3-Clause "New" or "Revised" License
2.58k stars 1.61k forks source link

Feature Request: Add more information to issue.txt file on boot partition of Pi OS. #650

Open Jibun-no-Kage opened 1 year ago

Jibun-no-Kage commented 1 year ago

Feature Request: Add more information to issue.txt file on boot partition of Pi OS.

Please add the following to issue.txt file:

Architecture (bit width, i.e. 32 or 64), Format is not critical, just requesting some way to know the image on SD card is 32 or 64 bit OS variant.

Change this... Raspberry Pi reference 2022-09-22 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 005a8c73b05a2cab394073150208bf4f069e861a, stage2

To this, suggestion... Raspberry Pi reference 2022-09-22, 32 bit Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 005a8c73b05a2cab394073150208bf4f069e861a, stage2

Raspberry Pi reference 2022-09-22, 64 bit Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 005a8c73b05a2cab394073150208bf4f069e861a, stage2

I am writing a PowerShell script, later a true application, that allows for greater customization of cmdline.txt and config.txt files, and would like to be able have a better method of knowing the image as 32 or 64 bit, than relying on config.txt 'arm_64bit=' setting which operator could change or delete in error. Plan to have my script warn operator this is a configuration mismatch, if operator selects such option.

If there is a better way to determine image architecture width from the image content/file system when not live or mounted, please suggest.