Browse code

Adding Dynamic DNS Client (ddclient) package

ddclient requires 2 perl-module:
* IO::Socket::SSL perl library for ssl-support which requires Net::SSLeay
* JSON::Any perl library for JSON support

Change-Id: Idbe98bec2aa287c1201e4f49bda46eeeca6f211e
Reviewed-on: http://photon-jenkins.eng.vmware.com/667
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George

mbassiouny authored on 2016/03/29 06:16:36
Showing 7 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,58 @@
0
+Name:           ddclient
1
+Version:        3.8.3
2
+Release:        1%{?dist}
3
+Url:            https://sourceforge.net/p/ddclient/wiki/Home/
4
+Summary:        Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Service Provider
5
+License:        GPLv2
6
+Group:          Applications
7
+Source0:        http://downloads.sourceforge.net/project/ddclient/ddclient/ddclient-3.8.3.tar.bz2
8
+%define sha1 ddclient=8668d8828a74ef4e7bca90890d7bbe414c37c3ff
9
+
10
+Requires:       perl
11
+Requires:       perl-IO-Socket-SSL
12
+Requires:       perl-JSON-Any
13
+
14
+BuildArch:      x86_64
15
+
16
+%description
17
+DDclient is a Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Service Provider. It was originally written by Paul Burry and is now mostly by wimpunk. It has the capability to update more than just dyndns and it can fetch your WAN-ipaddress in a few different ways.
18
+
19
+%prep
20
+%setup -q -n %{name}-%{version}
21
+
22
+%install
23
+
24
+install -vdm755 %{buildroot}/usr/sbin
25
+cp ddclient %{buildroot}/usr/sbin/
26
+
27
+install -vdm755 %{buildroot}/etc/ddclient
28
+install -vdm755 %{buildroot}/var/cache/ddclient
29
+install -vdm755 %{buildroot}/usr/lib/systemd/system
30
+
31
+cp sample-etc_ddclient.conf %{buildroot}/etc/ddclient/ddclient.conf
32
+
33
+cat << EOF >> %{buildroot}/usr/lib/systemd/system/ddclient.service
34
+[Unit]
35
+Description=Dynamic DNS Update Client
36
+After=network.target
37
+PartOf=network-online.target
38
+
39
+[Service]
40
+Type=forking
41
+PIDFile=/var/run/ddclient.pid
42
+ExecStart=/usr/sbin/ddclient
43
+
44
+[Install]
45
+WantedBy=network-online.target
46
+EOF
47
+
48
+%files
49
+%defattr(-,root,root)
50
+%{_sysconfdir}/ddclient/ddclient.conf
51
+%{_sbindir}/ddclient
52
+%{_lib}/systemd/system/ddclient.service
53
+%dir /var/cache/ddclient
54
+
55
+%changelog
56
+* Tue Mar 22 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 3.8.3-1
57
+- Initial packaging for Photon
0 58
new file mode 100644
... ...
@@ -0,0 +1,42 @@
0
+Summary:        SSL sockets with IO::Socket interface
1
+Name:           perl-IO-Socket-SSL
2
+Version:        2.024
3
+Release:        1%{?dist}
4
+License:        Perl Artistic License 2.0
5
+Group:          Development/Libraries
6
+URL:            http://search.cpan.org/~sullr/IO-Socket-SSL-2.024/lib/IO/Socket/SSL.pod
7
+Source:         http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
8
+%define sha1 IO-Socket-SSL=2c624f52d1c53c36f8cc0b21c15575e64114f53c
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+BuildArch:      x86_64
12
+Requires:       perl-Net-SSLeay
13
+BuildRequires:  perl-Net-SSLeay
14
+
15
+%description
16
+IO::Socket::SSL makes using SSL/TLS much easier by wrapping the necessary functionality into the familiar IO::Socket interface and providing secure defaults whenever possible. This way, existing applications can be made SSL-aware without much effort, at least if you do blocking I/O and don't use select or poll.
17
+
18
+%prep
19
+%setup -q -n IO-Socket-SSL-%{version}
20
+
21
+%build
22
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
23
+make %{?_smp_mflags}
24
+
25
+%install
26
+make pure_install DESTDIR=%{buildroot}
27
+find %{buildroot} -type f \( -name .packlist -o \
28
+            -name '*.bs' -size 0 \) -exec rm -f {} ';'
29
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
30
+
31
+%check
32
+make test
33
+
34
+%files
35
+%{perl_vendorlib}/*
36
+%{_mandir}/man?/*
37
+
38
+%changelog
39
+*    Mon Mar 28 2016 Mahmoud Bassiouny <mbassiounu@vmware.com> 2.024-1
40
+-    Initial version.
41
+
0 42
new file mode 100644
... ...
@@ -0,0 +1,43 @@
0
+Summary:        Wrapper Class for the various JSON classes
1
+Name:           perl-JSON-Any
2
+Version:        1.39
3
+Release:        1%{?dist}
4
+License:        Perl Artistic License 2.0
5
+Group:          Development/Libraries
6
+URL:            http://search.cpan.org/~ether/JSON-Any-1.39/lib/JSON/Any.pm
7
+Source:         http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-Any-%{version}.tar.gz
8
+%define sha1 JSON-Any=2c7e404fc4a398359693d62e9c74994f9273dd4c
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+BuildArch:      noarch
12
+Requires:       perl
13
+BuildRequires:  perl
14
+
15
+%description
16
+This module tries to provide a coherent API to bring together the various JSON modules currently on CPAN. This module will allow you to code to any JSON API and have it work regardless of which JSON module is actually installed.
17
+
18
+
19
+%prep
20
+%setup -q -n JSON-Any-%{version}
21
+
22
+%build
23
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
24
+make %{?_smp_mflags}
25
+
26
+%install
27
+make pure_install DESTDIR=%{buildroot}
28
+find %{buildroot} -type f \( -name .packlist -o \
29
+            -name '*.bs' -size 0 \) -exec rm -f {} ';'
30
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
31
+
32
+%check
33
+make test
34
+
35
+%files
36
+%{perl_vendorlib}/*
37
+%{_mandir}/man?/*
38
+
39
+%changelog
40
+*    Mon Mar 28 2016 Mahmoud Bassiouny <mbassiounu@vmware.com> 1.39-1
41
+-    Initial version.
42
+
0 43
new file mode 100644
... ...
@@ -0,0 +1,49 @@
0
+Summary:        Perl extension for using OpenSSL
1
+Name:           perl-Net-SSLeay
2
+Version:        1.72
3
+Release:        1%{?dist}
4
+License:        Perl Artistic License 2.0
5
+Group:          Development/Libraries
6
+URL:            http://search.cpan.org/~mikem/Net-SSLeay-1.72/lib/Net/SSLeay.pod
7
+Source:         http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz
8
+%define sha1 Net-SSLeay=29c6cec280396df3f535a08a4fbdda62df783726
9
+Vendor:         VMware, Inc.
10
+Distribution:   Photon
11
+BuildArch:      x86_64
12
+Requires:       perl
13
+Requires:       openssl
14
+BuildRequires:  perl
15
+BuildRequires:  openssl-devel
16
+
17
+%description
18
+Net::SSLeay module contains perl bindings to openssl (http://www.openssl.org) library.
19
+
20
+Net::SSLeay module basically comprise of:
21
+* High level functions for accessing web servers (by using HTTP/HTTPS)
22
+* Low level API (mostly mapped 1:1 to openssl's C functions)
23
+* Convenience functions (related to low level API but with more perl friendly interface)
24
+* There is also a related module called Net::SSLeay::Handle included in this distribution that you might want to use instead. It has its own pod documentation.
25
+
26
+%prep
27
+%setup -q -n Net-SSLeay-%{version}
28
+
29
+%build
30
+env PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
31
+make %{?_smp_mflags}
32
+
33
+%install
34
+make pure_install DESTDIR=%{buildroot}
35
+find %{buildroot} -type f \( -name .packlist -o \
36
+            -name '*.bs' -size 0 \) -exec rm -f {} ';'
37
+
38
+%check
39
+make test
40
+
41
+%files
42
+%{perl_vendorlib}/*
43
+%{_mandir}/man?/*
44
+
45
+%changelog
46
+*    Mon Mar 28 2016 Mahmoud Bassiouny <mbassiounu@vmware.com> 1.72-1
47
+-    Initial version.
48
+
... ...
@@ -1,34 +1,262 @@
1 1
 {
2
-    "packages":["unzip", "gmp-devel", "sudo", "bzip2-devel", "XML-Parser", "intltool", "mercurial", "libsigc++", "boost", 
3
-                "libgomp-devel", "libstdc++-devel", "libgcc-devel", "gcc", "bison", "gdb", "libpipeline", "python2-devel", 
4
-                "python2-tools", "linux-api-headers","gawk","check", "libltdl", "libltdl-devel", "pcre-devel", "glib-devel", 
5
-                "glibc-devel", "glibc-lang", "zlib-devel", "gettext", "git", "git-lang", "autoconf", "perl", "perl-DBI","perl-Config-IniFiles", "perl-File-HomeDir", "perl-File-Which",
6
-                "perl-DBIx-Simple", "perl-DBD-SQLite","perl-Exporter-Tiny","perl-JSON-XS","perl-List-MoreUtils","perl-Module-Install",
7
-                "perl-Module-ScanDeps","perl-Module-Build","perl-Object-Accessor","perl-Types-Serialiser","perl-WWW-Curl","perl-YAML-Tiny","perl-YAML","perl-common-sense","perl-libintl","perl-CGI","tcsh",
8
-                "gobject-introspection", "gobject-introspection-devel", "gobject-introspection-python", "procps-ng-devel", 
9
-                "bash-lang", "kbd", "coreutils-lang", "libxslt", "docbook-xml", "docbook-xsl", "gtk-doc", "popt-devel", "texinfo", "tar", 
10
-                "kubernetes", "cyrus-sasl", "openldap", "binutils", "binutils-devel", "python-iniparse", "psmisc", "etcd", "openssl-devel", 
11
-                "util-linux-lang", "util-linux-devel", "db-docs", "linux-dev", "linux-docs", "mpc", "json-glib", "json-glib-devel", 
12
-                "automake", "libpcap", "tcpdump", "elfutils-libelf-devel", "elfutils", "elfutils-devel", "elfutils-devel-static", "elfutils-libelf-devel-static", 
13
-                "go", "grub2","grub2-lang", "diffutils", "groff", "man-db", "mpfr-devel", "man-pages", 
14
-                "hawkey-devel", "python-hawkey", "libxml2-devel", "ruby", "readline-devel", "wget",
15
-                "Linux-PAM-lang", "make", "bindutils", "gperf", "lua-devel", "less",
16
-                "cmake", "gpgme-devel", "parted", "nano", "xz-devel", "xerces-c-devel", "xml-security-c-devel", 
17
-                "nss-devel", "ncurses-devel", "tzdata", "itstool", "sed-lang", "gptfdisk", "ntp", "flex", "patch", "m4", "dracut", "dracut-tools", 
18
-                "libarchive", "libarchive-devel", "libsoup", "libsoup-devel", "asciidoc", "mkinitcpio",
19
-                "ostree", "tdnf-devel", "librepo-devel", "libhif", "libhif-devel", "rpm-ostree", "createrepo", "glibmm", "deltarpm", "cdrkit", "libgsystem",
20
-                "rpm-ostree-toolbox","libsepol","libselinux","device-mapper-libs","device-mapper",
21
-                "acl","btrfs-progs","btrfs-progs-devel","device-mapper-devel","device-mapper-event","device-mapper-event-devel",
22
-                "device-mapper-event-libs","libacl","libacl-devel","libselinux-devel","libselinux-python","libselinux-utils","libsepol-devel",
23
-                "libaio","libaio-devel","thin-provisioning-tools","lvm2","lvm2-devel","lvm2-libs","lvm2-python-libs","lzo","lzo-devel","lzo-minilzo","swig",
24
-                "rpm-devel","pycurl","urlgrabber","yum-metadata-parser","yum", "rocket", "strace", "cracklib-python",
25
-                "haveged", "haveged-devel", "vim-extra",
26
-                "postgresql", "openjdk", "apr", "apr-util", "httpd", "openvswitch", "openvswitch-devel", "openvswitch-doc", "eventlog", "syslog-ng", "syslog-ng-devel", "zookeeper", "fuse", "fleet",
27
-                "nss-altfiles", "apache-maven", "subversion", "mesos", "python3", "python3-libs", "python3-devel", "python3-tools", "fakeroot-ng", "ctags",
28
-                "libtirpc", "libtirpc-devel", "lsof", "nfs-utils", "cve-check-tool", "flannel", "rpm-build", "dkms", "openssl-perl", "openssl-c_rehash", "xinetd", "tftp", "tftp-server",
29
-                "audit","audit-devel","libcap-ng","libcap-ng-devel","tcp_wrappers","tcp_wrappers-devel", "apr-util-devel", "apr-util-ldap", 
30
-                "apr-util-pgsql", "apr-util-sqlite","openjre", "sshpass", "openjdk-src", "openjdk-sample", "openjdk-doc", "e2fsprogs-devel", "haproxy","libcap-devel",
31
-		"cython","python-lxml","python-pycparser","python-cffi","python-cryptography","cifs-utils","cifs-utils-devel","python-curses","c-ares","c-ares-devel"]
2
+    "packages":[
3
+        "unzip",
4
+        "gmp-devel",
5
+        "sudo",
6
+        "bzip2-devel",
7
+        "XML-Parser",
8
+        "intltool",
9
+        "mercurial",
10
+        "libsigc++",
11
+        "boost",
12
+        "libgomp-devel",
13
+        "libstdc++-devel",
14
+        "libgcc-devel",
15
+        "gcc",
16
+        "bison",
17
+        "gdb",
18
+        "libpipeline",
19
+        "python2-devel",
20
+        "python2-tools",
21
+        "linux-api-headers",
22
+        "gawk",
23
+        "check",
24
+        "libltdl",
25
+        "libltdl-devel",
26
+        "pcre-devel",
27
+        "glib-devel",
28
+        "glibc-devel",
29
+        "glibc-lang",
30
+        "zlib-devel",
31
+        "gettext",
32
+        "git",
33
+        "git-lang",
34
+        "autoconf",
35
+        "perl",
36
+        "perl-DBI",
37
+        "perl-Config-IniFiles",
38
+        "perl-File-HomeDir",
39
+        "perl-File-Which",
40
+        "perl-DBIx-Simple",
41
+        "perl-DBD-SQLite",
42
+        "perl-Exporter-Tiny",
43
+        "perl-JSON-XS",
44
+        "perl-List-MoreUtils",
45
+        "perl-Module-Install",
46
+        "perl-Module-ScanDeps",
47
+        "perl-Module-Build",
48
+        "perl-Object-Accessor",
49
+        "perl-Types-Serialiser",
50
+        "perl-WWW-Curl",
51
+        "perl-YAML-Tiny",
52
+        "perl-YAML",
53
+        "perl-common-sense",
54
+        "perl-libintl",
55
+        "perl-CGI",
56
+        "perl-JSON-Any",
57
+        "perl-Net-SSLeay",
58
+        "perl-IO-Socket-SSL",
59
+        "tcsh",
60
+        "gobject-introspection",
61
+        "gobject-introspection-devel",
62
+        "gobject-introspection-python",
63
+        "procps-ng-devel",
64
+        "bash-lang",
65
+        "kbd",
66
+        "coreutils-lang",
67
+        "libxslt",
68
+        "docbook-xml",
69
+        "docbook-xsl",
70
+        "gtk-doc",
71
+        "popt-devel",
72
+        "texinfo",
73
+        "tar",
74
+        "kubernetes",
75
+        "cyrus-sasl",
76
+        "openldap",
77
+        "binutils",
78
+        "binutils-devel",
79
+        "python-iniparse",
80
+        "psmisc",
81
+        "etcd",
82
+        "openssl-devel",
83
+        "util-linux-lang",
84
+        "util-linux-devel",
85
+        "db-docs",
86
+        "linux-dev",
87
+        "linux-docs",
88
+        "mpc",
89
+        "json-glib",
90
+        "json-glib-devel",
91
+        "automake",
92
+        "libpcap",
93
+        "tcpdump",
94
+        "elfutils-libelf-devel",
95
+        "elfutils",
96
+        "elfutils-devel",
97
+        "elfutils-devel-static",
98
+        "elfutils-libelf-devel-static",
99
+        "go",
100
+        "grub2",
101
+        "grub2-lang",
102
+        "diffutils",
103
+        "groff",
104
+        "man-db",
105
+        "mpfr-devel",
106
+        "man-pages",
107
+        "hawkey-devel",
108
+        "python-hawkey",
109
+        "libxml2-devel",
110
+        "ruby",
111
+        "readline-devel",
112
+        "wget",
113
+        "Linux-PAM-lang",
114
+        "make",
115
+        "bindutils",
116
+        "gperf",
117
+        "lua-devel",
118
+        "less",
119
+        "cmake",
120
+        "gpgme-devel",
121
+        "parted",
122
+        "nano",
123
+        "xz-devel",
124
+        "xerces-c-devel",
125
+        "xml-security-c-devel",
126
+        "nss-devel",
127
+        "ncurses-devel",
128
+        "tzdata",
129
+        "itstool",
130
+        "sed-lang",
131
+        "gptfdisk",
132
+        "ntp",
133
+        "flex",
134
+        "patch",
135
+        "m4",
136
+        "dracut",
137
+        "dracut-tools",
138
+        "libarchive",
139
+        "libarchive-devel",
140
+        "libsoup",
141
+        "libsoup-devel",
142
+        "asciidoc",
143
+        "mkinitcpio",
144
+        "ostree",
145
+        "tdnf-devel",
146
+        "librepo-devel",
147
+        "libhif",
148
+        "libhif-devel",
149
+        "rpm-ostree",
150
+        "createrepo",
151
+        "glibmm",
152
+        "deltarpm",
153
+        "cdrkit",
154
+        "libgsystem",
155
+        "rpm-ostree-toolbox",
156
+        "libsepol",
157
+        "libselinux",
158
+        "device-mapper-libs",
159
+        "device-mapper",
160
+        "acl",
161
+        "btrfs-progs",
162
+        "btrfs-progs-devel",
163
+        "device-mapper-devel",
164
+        "device-mapper-event",
165
+        "device-mapper-event-devel",
166
+        "device-mapper-event-libs",
167
+        "libacl",
168
+        "libacl-devel",
169
+        "libselinux-devel",
170
+        "libselinux-python",
171
+        "libselinux-utils",
172
+        "libsepol-devel",
173
+        "libaio",
174
+        "libaio-devel",
175
+        "thin-provisioning-tools",
176
+        "lvm2",
177
+        "lvm2-devel",
178
+        "lvm2-libs",
179
+        "lvm2-python-libs",
180
+        "lzo",
181
+        "lzo-devel",
182
+        "lzo-minilzo",
183
+        "swig",
184
+        "rpm-devel",
185
+        "pycurl",
186
+        "urlgrabber",
187
+        "yum-metadata-parser",
188
+        "yum",
189
+        "rocket",
190
+        "strace",
191
+        "cracklib-python",
192
+        "haveged",
193
+        "haveged-devel",
194
+        "vim-extra",
195
+        "postgresql",
196
+        "openjdk",
197
+        "apr",
198
+        "apr-util",
199
+        "httpd",
200
+        "openvswitch",
201
+        "openvswitch-devel",
202
+        "openvswitch-doc",
203
+        "eventlog",
204
+        "syslog-ng",
205
+        "syslog-ng-devel",
206
+        "zookeeper",
207
+        "fuse",
208
+        "fleet",
209
+        "nss-altfiles",
210
+        "apache-maven",
211
+        "subversion",
212
+        "mesos",
213
+        "python3",
214
+        "python3-libs",
215
+        "python3-devel",
216
+        "python3-tools",
217
+        "fakeroot-ng",
218
+        "ctags",
219
+        "libtirpc",
220
+        "libtirpc-devel",
221
+        "lsof",
222
+        "nfs-utils",
223
+        "cve-check-tool",
224
+        "flannel",
225
+        "rpm-build",
226
+        "dkms",
227
+        "openssl-perl",
228
+        "openssl-c_rehash",
229
+        "xinetd",
230
+        "tftp",
231
+        "tftp-server",
232
+        "audit",
233
+        "audit-devel",
234
+        "libcap-ng",
235
+        "libcap-ng-devel",
236
+        "tcp_wrappers",
237
+        "tcp_wrappers-devel",
238
+        "apr-util-devel",
239
+        "apr-util-ldap",
240
+        "apr-util-pgsql",
241
+        "apr-util-sqlite",
242
+        "openjre",
243
+        "sshpass",
244
+        "openjdk-src",
245
+        "openjdk-sample",
246
+        "openjdk-doc",
247
+        "e2fsprogs-devel",
248
+        "haproxy",
249
+        "libcap-devel",
250
+        "cython",
251
+        "python-lxml",
252
+        "python-pycparser",
253
+        "python-cffi",
254
+        "python-cryptography",
255
+        "cifs-utils",
256
+        "cifs-utils-devel",
257
+        "python-curses",
258
+        "c-ares",
259
+        "c-ares-devel",
260
+        "ddclient"
261
+    ]
32 262
 }
33
-
34
-
... ...
@@ -1,6 +1,9 @@
1 1
 {
2 2
     "dummy_package": { 
3
-        "files": ["path_to_file1_to_be_copied","path_to_file2_to_be_copied"], 
3
+        "files": [
4
+                     {"src": "path_to_file1_to_be_copied", "dst": "file1_destination"}, 
5
+                     {"src": "path_to_file2_to_be_copied", "dst": "file2_destination"}
6
+        ], 
4 7
         "macros": ["macro1 value1","macro2 value2"]
5 8
     }
6 9
 }
... ...
@@ -136,13 +136,16 @@ class PackageUtils(object):
136 136
             self.logger.info("Copying... Source path :" + source + " Source filename: " + sourcePath[0])
137 137
             shutil.copy2(sourcePath[0], destDir)
138 138
     
139
-    def copyAdditionalBuildFiles(self,listAdditionalFiles,destDir):
139
+    def copyAdditionalBuildFiles(self,listAdditionalFiles,chrootID):
140 140
         cmdUtils = CommandUtils()
141
-        index=0
142
-        for source in listAdditionalFiles:
141
+        for additionalFile in listAdditionalFiles:
142
+            source = additionalFile["src"].encode('utf-8')
143
+            destDir = chrootID + additionalFile["dst"].encode('utf-8')
143 144
             if os.path.exists(source):
144
-                shutil.copytree(source, destDir+str(index))
145
-                index = index + 1
145
+                if os.path.isfile(source):
146
+                    shutil.copy(source, destDir)
147
+                else:
148
+                    shutil.copytree(source, destDir)
146 149
         
147 150
     def buildRPMSForGivenPackage(self,package,chrootID,listBuildOptionPackages,pkgBuildOptionFile,destLogPath=None):
148 151
         self.logger.info("Building rpm's for package:"+package)
... ...
@@ -175,13 +178,12 @@ class PackageUtils(object):
175 175
                 if p == package:
176 176
                     filelist = pkg[1]["files"]
177 177
                     for f in filelist:
178
-                        listAdditionalFiles.append(str(f.encode('utf-8')))
178
+                        listAdditionalFiles.append(f)
179 179
                     macrolist = pkg[1]["macros"]
180 180
                     for macro in macrolist:
181 181
                         macros.append(str(macro.encode('utf-8')))
182 182
             
183
-            chrootAdditionalPath=chrootID+constants.topDirPath+"/ADDITIONAL"
184
-            self.copyAdditionalBuildFiles(listAdditionalFiles,chrootAdditionalPath)
183
+            self.copyAdditionalBuildFiles(listAdditionalFiles,chrootID)
185 184
 
186 185
         listRPMFiles=[]
187 186
         listSRPMFiles=[]