Hi All,
I'm new in live-build world.
I would like to build an image through live-build and want to integrate
some customized packages through PPA and local package list.
For adding customized PPA, I've added:
1. live-build/ubuntu/archives/my.list.chroot
2. live-build/ubuntu/archives/my.key.chroot
and it works without error.
In the meantime, I need to add some customized packages through local
package list[1] for debugging purposes by following:
1. live-build/ubuntu/packages.chroot/my.deb
However, the build failed because not found key for my.list.chroot.
After some investigation, I found that chroot_archives will execute "apt
update" before copying my.key.chroot into /etc/apt/trusted.gpg.d/ if you
specify the debs in packages.chroot.
...
340 if Find_files chroot/root/packages/*.deb
341 then
342 # If we bootstrapped a minimal chroot,
we need
343 # to install apt-utils before we have
have
344 # completed all the indices.
345 if [ "${LB_BOOTSTRAP_FLAVOUR}" !=
"standard" ]
346 then
*347 Apt chroot update*
348 fi
349
350 # Check depends
351 Check_package
chroot/usr/bin/apt-ftparchive apt-utils
...
The log will show something like:
...
Err:3 http://ppa.launchpad.net/... bionic InRelease
The following signatures couldn't be verified because the public key is
not available: NO_PUBKEY XXXXXXXXXXXX
...
Any possible to use both custom PPA and local package list to install
customized packages?
Many thanks.
--
Sincerely,
Jeremy Su