Commit 787b1702 authored by intrigeri's avatar intrigeri

Have debootstrap install gnupg when setting up the chroot.

Otherwise the build fails after debootstrap has done its job
and live-build tries to use apt-key:

  I: Base system installed successfully.
  P: Begin caching bootstrap stage...
  P: Begin unmounting filesystems...
  P: Setting up cleanup function
  P: Begin caching chroot stage...
  P: Begin mounting /dev/pts...
  P: Begin mounting /proc...
  P: Begin mounting /sys...
  P: Configuring file /etc/debian_chroot
  P: Configuring file /sbin/start-stop-daemon
  P: Configuring file /usr/sbin/policy-rc.d
  P: Configuring file /usr/sbin/initctl
  P: Configuring file /etc/hosts
  P: Configuring file /etc/resolv.conf
  P: Configuring file /etc/hostname
  P: Configuring file /bin/hostname
  P: Configuring file /etc/apt/apt.conf
  P: Configuring file /etc/apt/sources.list
  E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
parent fc0665e2
......@@ -94,6 +94,11 @@ if [ $(dpkg --print-architecture) != amd64 ] ; then
exit 1
fi
# space-separated list of additional packages debootstrap installs
# - gnupg: needed by apt-key, not installed by default anymore on Buster
export LB_BOOTSTRAP_INCLUDE="gnupg"
# init variables
RUN_LB_CONFIG="lb config noauto"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment