stable

mock-1.4.2-1.el7

FEDORA-EPEL-2017-65be829503 created by msuchy 7 years ago for Fedora EPEL 7

There are new features:

  • The bootstrap feature is now disabled by default. There were too many issues with it. You can enable it localy with --bootstrap-chroot, but first see knows bugs and issues.
  • There is initial support for Fedora Modularity. You can add to config:

    config_opts['module_enable'] = ['list', 'of', 'modules'] config_opts['module_install'] = ['module1/profile', 'module2/profile']

This will call dnf module enable list of modules and dnf module install module1/profile module2/profile during the init phase.

There are some bugfixes:

  • NSpawn chroot is switched off for EL6 targets [#1456421].
  • LVM root is not umounted when umount_root is set to false [#1447658]
  • Shell in NSpawn container is now called with --login so profile.d scripts are executed [#1450516] [#1462373]
  • yum rather then yum-deprecated is used when using bootstrap chroot [#1446294]
  • Custom chroot does not use bootstrap [#1448321]
  • Mock now use dnf repoquery instead of repoquery for chroots which uses DNF.
  • LVM's scrub hook for bootstrap chroot is called [#1446297]
  • --mount will mount LVM volumes [#1448017]

This update has been submitted for testing by msuchy.

7 years ago

This update has been pushed to testing.

7 years ago
User Icon anonymous commented & provided feedback 7 years ago

No. This doesn't work on el7. systemd-nspawn doesn't have command line option -a.

DEBUG util.py:450: /usr/bin/systemd-nspawn: invalid option -- 'a' DEBUG util.py:588: Child return code was: 1

karma: -1

msuchy edited this update.

7 years ago
User Icon msuchy commented & provided feedback 7 years ago

@anonymous can you update BZ or issue about it. There is condition in code which should not use -a on RHEL/CentOS, so I'm really courious how you get this error. But this is not best place for such discussion.

This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes

7 years ago

This update has been submitted for stable by msuchy.

7 years ago

This update has been pushed to stable.

7 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
7 years ago
in testing
7 years ago
in stable
7 years ago
modified
7 years ago
BZ#1446294 No such file or directory: '/usr/bin/yum-deprecated'
0
0
BZ#1446297 "--scrub all" does not remove the bootsrap volume
0
0
BZ#1447658 [lvm] The buildroot volume is not kept mounted after build
0
0
BZ#1448017 [lvm] --mount does not mount the bootstrap volume
0
0
BZ#1448321 Problem with dnf_install_command in custom1 chroot
0
0
BZ#1450516 Login shell with systemd-nspawn
0
0
BZ#1456421 Cannot build packages in epel-6 with mock-1.14 due to new chroot
0
0
BZ#1462373 module load fails with "module unknown" error when running under mock --new-chroot
0
0

Automated Test Results