X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FInstallBootstrapFS.py;h=72cfe16e85c152ea0b6278729db407a536d7a514;hb=05fcdf2237fe6100cc31828ca206d42b24e8ae5a;hp=b9862ef745ec51e36259a45cab66c0d16af1b914;hpb=e56dca286266de0ffda334ad80d89db198641624;p=bootmanager.git diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index b9862ef..72cfe16 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -229,8 +229,7 @@ def Run( vars, log ): utils.sysexec("gpg --homedir=/root --export --armor" \ " --no-default-keyring --keyring %s/usr/boot/pubring.gpg" \ " >%s/etc/pki/rpm-gpg/RPM-GPG-KEY-planetlab" % (SYSIMG_PATH, SYSIMG_PATH)) - utils.sysexec("chroot %s rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-planetlab" % \ - SYSIMG_PATH) + utils.sysexec_chroot(SYSIMG_PATH, "rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-planetlab") # the yum config has changed entirely; # in addition yum installs have more or less never worked - let's forget about this