Explorar o código

install debian-archive-keyring before creating the chroot environments

This is required on Ubuntu and validates that the Release signatures
are valid, and is already installed by default on Debian. Unfortunately,
there is no way we can do the same for Ubuntu as ubuntu-archive-keyring
is not yet present in the Debian stable release and the name differs
from the Ubuntu version (ubuntu-keyring vs ubuntu-archive-keyring).
Ashish Kulkarni %!s(int64=11) %!d(string=hai) anos
pai
achega
3abc05203f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/build.py

+ 1 - 1
scripts/build.py

@@ -418,7 +418,7 @@ def check_setup_schroot(config):
         error('Unable to determine the login for which schroot access is to be given.')
         error('Unable to determine the login for which schroot access is to be given.')
 
 
 def build_setup_schroot(config, basedir):
 def build_setup_schroot(config, basedir):
-    install_packages('git', 'debootstrap', 'schroot', 'rinse')
+    install_packages('git', 'debootstrap', 'schroot', 'rinse', 'debian-archive-keyring')
 
 
     login  = os.environ.get('SUDO_USER') or get_output('logname')
     login  = os.environ.get('SUDO_USER') or get_output('logname')
     chroot = config[1+config.rindex('-'):]
     chroot = config[1+config.rindex('-'):]