sys-boot/rpi-imager: fix 9999 and add 1.7.2
This MR fixes rpi-imager-9999.ebuild and adds rpi-imager-1.7.2.ebuild.
Background
rpi-imager has moved its source files to /src as of v1.7.2 (commit: raspberrypi/rpi-imager@033ff07). It breaks rpi-imager-9999.ebuild.
$ sudo emerge sys-boot/rpi-imager
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-boot/rpi-imager-9999::src_prepare-overlay
>>> Unpacking source...
* Repository id: raspberrypi_rpi-imager.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_RASPBERRYPI_RPI_IMAGER
* EGIT_OVERRIDE_BRANCH_RASPBERRYPI_RPI_IMAGER
* EGIT_OVERRIDE_COMMIT_RASPBERRYPI_RPI_IMAGER
* EGIT_OVERRIDE_COMMIT_DATE_RASPBERRYPI_RPI_IMAGER
*
* Fetching https://github.com/raspberrypi/rpi-imager.git ...
git fetch https://github.com/raspberrypi/rpi-imager.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/sys-boot/rpi-imager/0/__main__ refs/git-r3/HEAD
* Checking out https://github.com/raspberrypi/rpi-imager.git to /var/tmp/portage/sys-boot/rpi-imager-9999/work/rpi-imager-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
repository: https://github.com/raspberrypi/rpi-imager.git
at the commit: cb415a6a026ff91da1f5e93933e10c940641f402
>>> Source unpacked in /var/tmp/portage/sys-boot/rpi-imager-9999/work
>>> Preparing source in /var/tmp/portage/sys-boot/rpi-imager-9999/work/rpi-imager-9999 ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-boot/rpi-imager-9999/work/rpi-imager-9999"
* Build directory (BUILD_DIR): "/var/tmp/portage/sys-boot/rpi-imager-9999/work/rpi-imager-9999_build"
* Unable to locate CMakeLists.txt under:
* "/var/tmp/portage/sys-boot/rpi-imager-9999/work/rpi-imager-9999/CMakeLists.txt"
* Consider not inheriting the cmake eclass.
* ERROR: sys-boot/rpi-imager-9999::src_prepare-overlay failed (prepare phase):
* FATAL: Unable to find CMakeLists.txt
*
* Call stack:
* ebuild.sh, line 127: Called src_prepare
* environment, line 2616: Called cmake_src_prepare
* environment, line 1179: Called die
* The specific snippet of code:
* die "FATAL: Unable to find CMakeLists.txt";
*
* If you need support, post the output of `emerge --info '=sys-boot/rpi-imager-9999::src_prepare-overlay'`,
* the complete build log and the output of `emerge -pqv '=sys-boot/rpi-imager-9999::src_prepare-overlay'`.
* The complete build log is located at '/var/tmp/portage/sys-boot/rpi-imager-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/rpi-imager-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sys-boot/rpi-imager-9999/work/rpi-imager-9999'
* S: '/var/tmp/portage/sys-boot/rpi-imager-9999/work/rpi-imager-9999'
TODO
-
Disable version check updates and telemetry -
Add missing deps -
Mark udisks2 as a optfeature - Solved by bc270ff2
-
Remove debug flag - Solved by ac1c29c7
-
Require either GnuTLS or OpenSSL in 9999 - Solved by af212e54
-
Squash needless commits
Edited by vzvu3k6k