tce-load -i compiletc cmake qt-5.x-dev curl-dev libarchive-dev util-linux wget https://github.com/raspberrypi/rpi-imager/archive/refs/tags/v1.6.2.tar.gz cd rpi-imager-1.6.2 patch -Np1 -i ../rpi-imager-1.6.2_delay.patch mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ [-fno-exceptions fails] make [0m 33.94s] sudo make install needs /usr/local/lib/qt5/qml/QtQuick to be actual files needs /etc/ssl symlink needs dosfstools needs parted if run as root $ sudo rpi-imager QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' libEGL warning: DRI2: failed to authenticate QObject::setParent: Cannot set parent, new parent is in a different thread : url is undefined. Adding an object with a undefined member does not create a role for it. : extract_sha256 is undefined. Adding an object with a undefined member does not create a role for it. : release_date is undefined. Adding an object with a undefined member does not create a role for it. Telemetry done. cURL status code = 0 sfdisk: "Checking that no-one is using this disk right now ... OK\n\nDisk /dev/mmcblk0: 14.45 GiB, 15510536192 bytes, 30294016 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical/physical): 512 bytes / 512 bytes\nI/O size (minimum/optimal): 512 bytes / 512 bytes\nDisklabel type: dos\nDisk identifier: 0x91330fc4\n\nOld situation:\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 30294015 30285824 14.4G e W95 FAT16 (LBA)\n\n>>> Created a new DOS disklabel with disk identifier 0x2ddfd8be.\n/dev/mmcblk0p1: Created a new partition 1 of type 'W95 FAT16 (LBA)' and of size 14.4 GiB.\nPartition #1 contains a vfat signature.\n/dev/mmcblk0p2: Ignoring partition.\n/dev/mmcblk0p3: Ignoring partition.\n/dev/mmcblk0p4: Ignoring partition.\n/dev/mmcblk0p5: Done.\n\nNew situation:\nDisklabel type: dos\nDisk identifier: 0x2ddfd8be\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 30294015 30285824 14.4G e W95 FAT16 (LBA)\n\nThe partition table has been altered.\nCalling ioctl() to re-read partition table.\nSyncing disks.\n" mkfs.fat: "mkfs.fat: unable to open /dev/mmcblk0p1: No such file or directory\nmkfs.fat 4.2 (2021-01-31)\n" with udisks $ rpi-imager "Checking that no-one is using this disk right now ... FAILED\n\nThis disk is currently in use - repartitioning is probably a bad idea.\nUmount all file systems, and swapoff all swap partitions on this disk.\nUse the --no-reread flag to suppress this check.\n\nsfdisk: Use the --force flag to overrule all checks.\n" Telemetry done. cURL status code = 0 $ udisksctl status MODEL REVISION SERIAL DEVICE -------------------------------------------------------------------------- - sda - mmcblk0 - sdb