[Tails-dev] RFH: Including a Debian package via config/chro…

Delete this message

Reply to this message
Author: Daniel Leidert
Date:  
To: tails-dev
Subject: [Tails-dev] RFH: Including a Debian package via config/chroot_local-packages/ fails
Hi,

I'm creating a custom tails image. The process works nicely so far. So kudos
for your documentation and the build procedere. However I need to include a
third party Debian package. I put it into config/chroot_local-packages/. But
then the build process fails with:

> P: Configuring file /etc/apt/apt.conf
> P: Configuring file /etc/apt/sources.list
>
> E: Invalid archive signature
> E: Errors apply to file './bisq_1.3.9_amd64.deb'
> gpg: WARNING: unsafe permissions on homedir '/root/.gnupg'
> gpg: keybox '/root/.gnupg/pubring.kbx' created
> gpg: agent_genkey failed: Inappropriate ioctl for device
> gpg: key generation failed: Inappropriate ioctl for device
> cp: cannot create regular file 'cache/': Not a directory
> P: Begin unmounting filesystems...
>
> real    0m33.892s
> user    0m33.419s
> sys    0m5.192s
> + kill -9 11684


I tried to find out how I can make this local repository trustworthy (e.g. by
setting trusted=yes) - at least this I guess is the issue - but I even cannot
find the source for this entry and suspect it being encrypted
in config/chroot_sources/tails.chroot.gpg(?). Can you help me out here please?
How do I include the package in the image? Did I miss anything or did I hit a
bug/limitation?

PS: I sent my question to the chat room too.

Regards, Daniel