Bug#1099409: live-build removes 3rd party repositories public keys
Hello again guys!
I noticed that creating a copy of "offline_repo.key.chroot" and naming it "offline_repo.key.binary" will allow the build to complete, the problem is that the "offline_repo.key.binary" will end up on the final image..
ll config/archives/offline_repo.key.*
-rw-r--r-- 1 root root 1.7K Mar 3 19:34 config/archives/offline_repo.key.chroot
-rw-r--r-- 1 root root 1.7K Mar 3 19:34 config/archives/offline_repo.key.binary
Another way is to comment out one line of "/lib/live/build/chroot_archives", which will allow the build to complete without having an aditional file on the final image..
--- /lib/live/build/chroot_archives 2025-03-03 21:16:45.392029253 +1100
+++ /lib/live/build/chroot_archives2 2025-03-03 21:37:52.979999668 +1100
@@ -472,7 +472,7 @@
done
# Updating indices
- Apt chroot update
+ #Apt chroot update
# Unmount local repository - after apt update or it will fail due to missing files
Chroot_try_unbind_path chroot "${LB_PARENT_MIRROR_CHROOT}"
KR,
Raph
Reply to: