convert list to string

This commit is contained in:
Mikhail Novosyolov 2019-03-08 18:00:39 +03:00
parent 2a864a20b0
commit 79d79f2fe9
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@
import selinux
import rpm
@@ -577,17 +578,23 @@
@@ -577,17 +578,24 @@
urpmi_conf = self.__builddir + "/urpmi_conf"
print urpmi_conf
time.sleep(5)
@ -35,7 +35,8 @@
+ print "Let's bootstrap chroot with all packages that must be installed into ISO..."
+ os.environ["urpmiRoot"] = urpmi_conf
+ os.environ["rpmRoot"] = self._instroot
+ os.environ["packagesList"] = packages
+ packages_list = ' '.join(packages)
+ os.environ["packagesList"] = packages_list
+ #subprocess.check_call(["/usr/sbin/urpmi", "--auto", "--no-suggests", "--fastunsafe", "--debug", "--urpmi-root", urpmi_conf, "--root", self._instroot] + packages)
+ subprocess.check_call("/usr/sbin/livecd-urpmi-bootstrapper")
+ except subprocess.CalledProcessError, err:

View file

@ -3,7 +3,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 21.1
Release: 34
Release: 35
Epoch: 1
License: GPLv2+
Group: System/Base