Comment 18 for bug 638384

Revision history for this message
Mattias Backman (mabac) wrote :

Hi,

To me it seems like the solution in #8 is near trivial after all. I've just had a quick look at this so let me know if I'm oversimplifying.

> * Copy the apt trustdb in to the chroot before running hwpack-install. [...]

Sounds trivial, assuming that it just involves copying /etc/apt/trustdb.gpg to chroot_dir/apt/trustdb.gpg at the top of install_hwpacks.

> * Ship PPA keys that we use a lot (overlay, kernel, PPAs) with linaro-image-tools. We could either load them in to the machines trustdb, or have a custom trustdb that we copy over as well. [...]

Shipping separate keys would mean to just add them to the machines trustdb before the step above, I guess.

I could give it a go if you all think it's worth doing it this way?

Thanks,

Mattias