Compare commits

..

3 Commits

Author SHA1 Message Date
clrbuilder 68cd34db8f Update packages file for version 23550
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-07-06 16:40:29 +00:00
clrbuilder b9952701c5 Update packages file for version 23480
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-07-04 03:33:26 +00:00
Patrick McCarty 3671774e8a Support newer versions of Mock (part 1)
In Mock version 1.4.4, the chroot group was changed from "mockbuild" to
"mock". This creates a problem for running Mock on Clear Linux because
(a) the distro already has group "mock", and (b) Mock tries to `groupdel
mock` within the chroot and fails, since the group is defined in
/usr/share/defaults/etc/group and not in /etc/group. Mock treats the
groupdel failure as fatal. Fortunately there is a workaround: set the
"chrootgroup" config to a group not already defined in the OS. I am
setting the group to "mockbuild" in the default config to restore the
behavior of previous Mock versions. Thanks to Mark Horn for adding this
feature upstream! It was merged for Mock 1.4.7.

Also, disable the new bootstrap container feature, added in Mock version
1.4.1. It was disabled by default in version 1.4.2, but keep the
explicit setting in case upstream enables it in the future.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-07-02 21:57:19 -07:00
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -8,6 +8,8 @@ config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['releasever'] = 'clear'
config_opts['package_manager'] = 'dnf'
config_opts['chrootgroup'] = 'mockbuild'
config_opts['use_bootstrap_container'] = False
config_opts['dnf.conf'] = """
+7
View File
@@ -755,6 +755,7 @@ asio
asn1crypto
aspell
aspell-en
assimp
astor
astroid
astunparse
@@ -1979,9 +1980,11 @@ perl-Time-Duration
perl-Time-Duration-Parse
perl-Time-Period
perl-TimeDate
perl-Tk-DoubleClick
perl-Try-Tiny
perl-Type-Tiny
perl-Type-Tiny-XS
perl-Types-Path-Tiny
perl-UNIVERSAL-can
perl-UNIVERSAL-require
perl-URI
@@ -1991,9 +1994,13 @@ perl-URI-Find
perl-UUID-Tiny
perl-Unicode-Map
perl-Variable-Magic
perl-WWW-Form-UrlEncoded-XS
perl-WWW-RobotRules
perl-X11-Protocol
perl-XML-Atom
perl-XML-Filter-BufferText
perl-XML-Handler-Trees
perl-XML-LibXML
perl-XML-NamespaceSupport
perl-XML-Parser
perl-XML-Parser-Lite