When using image customization with an NVMe drive under RPI OS on a CM4,
the system will prompt non-root users for password when mounting the FAT file system.
(Passwordless mounting does is available for removable storage,
but the NVMe drive qualifies as internal storage instead).
- The mount command we send to udisks2 over dbus2 may timeout
before the user completed the password prompt.
Raise timeout to counter this.
- Print mount error details to console
- On mount error report error mounting in GUI instead of
"/config.txt does not exist" (which happened when mountDevice()
returned empty string)
On bullseye it seems to default to 'make -j4' which will results
in OOM when it runs out of swap
==
[ 3004.100215] Out of memory: Killed process 6983 (cc1plus) total-vm:211660kB, anon-rss:170332kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:428kB oom_score_adj:0
==
Mention how to disable parallel build in README.md
Set keyboard through systemd's localectl instead of writing to
Debian specific /etc/default/keyboard directly, as this also
works for other Linux distributions.
On Debian/Ubuntu one does still need to run a distro specific
command to have the keyboard change be effective without
reboot first (setupcon).
Allows specifying a default OS and destination
(the last for Imager embedded only) in the repository json.
Like:
==
"imager": {
"latest_version": "1.6",
"url": "https://www.raspberrypi.org/software/",
"default_os": "Raspberry Pi OS (32-bit)",
"embedded_default_destination": "/dev/mmcblk0p1"
},
==
- after writing new partition table, make sure auto-mount has
not mounted any old FAT filesystems that were previously
on disks at the same offset.
- error out on format errors. (timeout was raised to prevent
false positives on formatting time'ing out)
If mounting partition after FAT32 format fails, check if race
occurs in which the Linux distribution was faster in auto-mounting
the partition then we were in manually mounting it.
- Enclose SSID within brackets, to allow SSIDs with spaces
- Call 'setupcon' to have keyboard layout change applied
Setting wifi country code on Ubuntu still broken
The FAT partition /dev node is supposed to be already available
after running partprobe, but since there is a user report that
is not always the case, double check and delay if necessary.
Closes#237
In order to be consistent with other services moving to raspberrypi.com,
send telemetry there instead of raspberrypi.org.
Note that the raspberrypi.org endpoint will continue to work
indefinitely in order to support existing clients.