Added public key used to sign conclusive apt repository
About
Fixes the following error when trying to update repo cache:
~# apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:3 http://apt.conclusive.pl jammy InRelease [12.2 kB]
Ign:3 http://apt.conclusive.pl jammy InRelease
Fetched 185 kB in 10min 41s (288 B/s)
Reading package lists... Done
W: GPG error: http://apt.conclusive.pl jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AE7A1BDBB0352839
Test
Image tested on WHLE-LS1026A. Right after the first boot-up:
apt-update
root@whle-ls1046a:~# date -s "2024-05-27 20:22:15"
Mon May 27 20:22:15 UTC 2024
root@whle-ls1046a:~# apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://apt.conclusive.pl focal InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Reading package lists... Done
root@whle-ls1046a:~#
(Without setting the date properly apt can raise an error related to the relase files not being valid yet.)
Sample package install
root@whle-ls1046a:~# apt list fmc -a
Listing... Done
fmc/focal 1.0~241.gbpb4ad38 arm64
fmc/focal 1.0~240.gbp062e7a arm64
fmc/focal 1.0~239.gbpcbe27f arm64
root@whle-ls1046a:~# apt-get install -q0 fmc
sudo apt-get install -q0 fmc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
fmc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 928 kB of archives.
After this operation, 4578 kB of additional disk space will be used.
Get:1 http://apt.conclusive.pl focal/main arm64 fmc arm64 1.0~241.gbpb4ad38 [928 kB]
Fetched 928 kB in 0s (7170 kB/s)
Selecting previously unselected package fmc.
(Reading database ... 21702 files and directories currently installed.)
Preparing to unpack .../fmc_1.0~241.gbpb4ad38_arm64.deb ...
Unpacking fmc (1.0~241.gbpb4ad38) ...
Setting up fmc (1.0~241.gbpb4ad38) ...
root@whle-ls1046a:~# fmc -h
fmc -h
USAGE:
fmc [-x] [-p <pcd_file>] [-c <data_file>] [-a] [-f] [-d <pdl_file>] [-s
<custom_protocol_file>] [-l <level>] [--sp_only] [-t <offset>] [--]
[--version] [-h]
...
Comments
The public key is copied directly from https://gitlab.conclusive.pl/devices/apt-repository/-/blob/master/public.key?ref_type=heads. There shouldn't be two instances of this. Ideally it should be in one, publicly available place, and be downloaded during ubuntu image preparation. To discuss.
Edited by Marcin Wcisło