Commit graph

609 commits

Author SHA1 Message Date
cmclark00
cc19e9c445 test 2024-08-13 22:35:14 -04:00
cmclark00
3256a525ba Merge branch 'qml' of https://github.com/cmclark00/retro-imager into qml 2024-08-13 22:33:21 -04:00
cmclark00
7b6a951a3a aasads 2024-08-13 22:31:59 -04:00
cmclark00
b6230c7797
Update build-ubuntu-deb.yml 2024-08-13 22:28:32 -04:00
cmclark00
bc403096d5
Update build-ubuntu-deb.yml 2024-08-13 22:25:08 -04:00
cmclark00
80577b90a5
Update build-ubuntu-deb.yml 2024-08-13 22:23:06 -04:00
cmclark00
2dc3868298
Update build-ubuntu-deb.yml 2024-08-13 22:21:04 -04:00
cmclark00
83ce4979f0
Update build-ubuntu-deb.yml 2024-08-13 22:19:42 -04:00
cmclark00
34812938f7
Update build-ubuntu-deb.yml 2024-08-13 22:16:11 -04:00
cmclark00
670238dd5a
Create main1.yml 2024-08-13 22:10:53 -04:00
cmclark00
45bf4a683c Merge branch 'qml' of https://github.com/cmclark00/retro-imager into qml 2024-08-13 22:04:51 -04:00
cmclark00
72a4356e4a idk 2024-08-13 22:04:42 -04:00
cmclark00
75e8a2a1fd
Create main.yml 2024-08-13 22:01:41 -04:00
cmclark00
26260bc11c
Update build-ubuntu-deb.yml 2024-08-13 21:59:58 -04:00
cmclark00
8e667f8d8c update 2024-08-13 21:52:18 -04:00
cmclark00
578cd52030
Update build-ubuntu-deb.yml 2024-08-13 21:41:01 -04:00
cmclark00
0dcad8e27a trying automation 2024-08-13 21:37:50 -04:00
cmclark00
499cf67ff2 updating url location 2024-08-13 01:51:45 -04:00
cmclark00
a686115ca8 more updates 2024-08-13 01:50:28 -04:00
cmclark00
73962713b0 fixed icons 2024-08-12 23:33:19 -04:00
cmclark00
9b237d42ff added device icons 2024-08-12 23:20:30 -04:00
cmclark00
deb90458ec blegh 2024-08-12 23:06:18 -04:00
cmclark00
875f0fe590 added some flair! 2024-08-12 22:42:25 -04:00
cmclark00
110b23f1fb Merge branch 'qml' of https://github.com/cmclark00/retro-imager into qml 2024-08-12 20:26:44 -04:00
cmclark00
0f5642e281 updates 2024-08-12 20:25:44 -04:00
cmclark00
ba8c94b6ae changing assets 2024-08-10 21:07:21 -04:00
cmclark00
71198f45fa blegfh 2024-08-10 20:29:47 -04:00
cmclark00
1450730ab8 fixed file size 2024-08-10 20:13:24 -04:00
cmclark00
06a0b621de change os list location 2024-08-10 20:03:20 -04:00
cmclark00
509a26fe4a first updates 2024-08-10 20:01:17 -04:00
Alistair Buxton
7725ce7a40 Linux/OSX: Fix reversed fsync check
This if() condition checks the result of seek, write, flush
and fsync. The first three are methods on QFile, so return
a truthy value on success. write() returns number of bytes
written while seek() and flush() return bool true on success.
Therefore they have to be inverted to detect errors. However,
fsync() is a posix system call, so it returns zero (false) on
success. Therefore it should not be inverted.

Note that currently this entire code block can never run.
knownsize is always zero because QFile.size() currently
cannot determine the size of a block device. However, when I
asked to confirm this behavior, a Qt maintainer decided to
implement it, so there is now a PR. If that is released then
this code block will become live and the reversed fsync check
will cause a problem.

PR: https://codereview.qt-project.org/c/qt/qtbase/+/581443
2024-08-07 11:45:20 +01:00
Jason Kridner
c1c8c5a7dd Fix GPT signature test
gpt.Signature is not a null-terminated string, but an 8-byte character array. Using `strcmp` will not provide a valid result. Use `strncmp` over the first 8 bytes instead.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
2024-07-17 10:44:13 +01:00
Tom Dewey
686ad14308 embedded: Change how buildroot patch is applied
- Apply with p1, using a patch generated from git-format-patch.
- Use POSIX 'cd' over 'pushd, popd'
- Use OLDPWD to the find the patch, rather than making assumptions
  about the relative location of it.
2024-06-25 10:10:55 +01:00
Tom Dewey
725d651f96 buildroot: Apply patch inside buildroot directory 2024-06-25 10:10:55 +01:00
Tom Dewey
1c39a198f7 buildroot: Add BCM2712d0 Mesa Patch 2024-06-25 10:10:55 +01:00
Tom Dewey
7e5de45038 buildroot-2024.02.3 2024-06-25 10:10:55 +01:00
Tom Dewey
4c7342af08 bcm2712d0 support 2024-06-25 10:10:55 +01:00
Tom Dewey
98f5f62e91 embedded: Update defconfig, build script 2024-06-25 10:10:55 +01:00
Tom Dewey
eee59445d2 embedded: Favour CoreAppliation over Application 2024-06-25 10:10:55 +01:00
Tom Dewey
c793c34b46 embedded: Use 2024.02.2 2024-06-25 10:10:55 +01:00
ykla
78b7f7418e Add Simplified Chinese translations to the desktop files 2024-06-13 11:44:47 +01:00
ykla
fd9e44f11f The terms related to public keys were replaced with translations more in line with the localization habits of Simplified Chinese. 2024-06-13 11:44:47 +01:00
ykla
6a09f27bea Translate the Simplified Chinese translation of Raspberry Pi Imager to better match the original text. 2024-06-13 11:44:47 +01:00
ykla
ef49eb3dd4 To make Simplified Chinese translations more accurate 2024-06-13 11:44:47 +01:00
ykla
b66496e324 Update zh-CN (Simplified Chinese) translation 2024-06-13 11:44:47 +01:00
ykla
41f504c7a0 Update zh-CN translation 2024-06-13 11:44:47 +01:00
Dave Jones
4b6ee9bb4b localectl doesn't work on modern Debian/Ubuntu [1] [2]
The keyboard: section should be used instead, which should do the right
thing on whatever platform cloud-init is being used on (writes
/etc/default/keyboard on Debian/Ubuntu, uses localectl on RHEL/Fedora,
runs setup-keymap on Alpine).

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038762

[2]: 2030788
2024-06-03 09:57:08 +01:00
Dave Jones
b00815058f Fix timeout on systems with large numbers of loops
On systems with a very large number of snap packages installed, there
are a considerable number of loop devices. In this case, the `lsblk`
command in linuxdrivelist fills the stdout pipe, blocks, and the
rpi-imager process assumes it has timed out [1].

This is a trivial work-around that simply excludes loop devices
(major=7) from the `lsblk` output. Given subsequent code excludes
everything starting with `/dev/loop` anyway, there should be no change
in user experience with this exclusion.

[1]: https://github.com/waveform80/imager-snap/issues/6
2024-05-23 10:25:59 +01:00
Dima
f79a6874d8 Corrected the spelling for Kyiv 2024-05-22 17:30:35 +01:00
Tom Dewey
16c298beb4 cli: Connect disable-eject flag to ImageWriter 2024-05-01 13:38:22 +01:00