Changelog |
* Tue Jun 12 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.11-1
- fix @VERSION@ processing in man pages (ktdreyer@ktdreyer.com)
- update testing.src.rpm to recent standard
- Allow --spec arg to be used with rebuild option (sfowler@redhat.com)
- Disable use_host_resolv by default (tmz@pobox.com)
- Add support for microdnf [GH#76] (zdenekirsax@gmail.com)
- skip running groupadd if gid is 0 (nhorman@tuxdriver.com)
- Allow overriding of mock chroot build user name (nhorman@tuxdriver.com)
- do not populate /etc/resolv.conf when networking is disabled (RHBZ#1514028)
(tmz@pobox.com)
- add version to EL check in _prepare_nspawn_command() (tmz@pobox.com)
- pass force-arch to builddep and resolvedep [GH#120]
- Support setting up foreign architecture chroots
- add support for bsdtar
- use fedora 28 for tests
* Thu May 10 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.10-1
- remove executable bit from trace_decorator.py
- Change sign plugint to sign only builded rpm and not every file in results
[RHBZ#1217495] (necas.marty@gmail.com)
- overlayfs plugin: added explicit mount support (zzambers@redhat.com)
- encode content before writing [RHBZ#1564035]
- allow to bind_mount just one file (necas.marty@gmail.com)
- added overlayfs plugin (zzambers@redhat.com)
- invoke chroot scan for 'initfailed' event (clime7@gmail.com)
- add support for .spec in --installdeps (necas.marty@gmail.com)
- revert workaround introduced in 057c51d6 [RHBZ#1544801]
- comment out macro in changelog (msuchy@redhat.com)
* Mon Feb 12 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.9-1
- "setup_cmd" of bootstrap container is the actuall $pm_install_command from
the main container [RHBZ#1540813]
- do not produce warning when we are using different PM for bootstrap container
- Honor the "cwd" flag when nspawn is being used and "chrootPath" is not set
(matthew.prahl@outlook.com)
- do not run ccache in bootstrap chroot [RHBZ#1540813]
- use DNF on EL7 when bootstrap is used [RHBZ#1540813]
- site-defaults: fix quoting in sign_opts example [RHBZ#1537797]
(tmz@pobox.com)
- Detect if essential mounts are already mounted (msimacek@redhat.com)
- Update Python 2 dependency declarations to new packaging standards
- improvement code/docs for opstimeout (Mikhail_Campos-Guadamuz@epam.com)
- simplifying of utils.do() (Mikhail_Campos-Guadamuz@epam.com)
- New config option 'opstimeout' has been added. (Mikhail_Campos-
Guadamuz@epam.com)
- Don't setup user mounts in the bootstrap buildroot (bkorren@redhat.com)
- el5 is sensitive to order of params
- Default for config_opts['dnf_warning'] according to docs
(praiskup@redhat.com)
- Avoid manual interpolation in logging of BUILDSTDERR (Mikhail_Campos-
Guadamuz@epam.com)
- Splitting stdout and stderr in build.log. All stderr output lines are
prefixed by 'BUILDSTDERR:' (Mikhail_Campos-Guadamuz@epam.com)
* Fri Dec 22 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.8-1
- orphanskill: send SIGKILL when SIGTERM is not enough [RHBZ#1495214]
- pass --non-unique to usermod because of old targets
- remove _selinuxYumIsSetoptSupported()
- only use -R if first umount failed
- use recursive unmount for tmpfs
- do not cd to dir if nspawn is used [GH#108]
- add new option --config-opts [GH#138]
- add --enable-network to bash_completation
- Strip trailing / from mountpath in ismounted()
- new cli option --enable-network [RHBZ#1513953]
- when creating yum/dnf.conf copy timestamp from host [RHBZ#1293910]
- do not populate /etc/resolv.conf when networking is disabled [RHBZ#1514028]
- soften mock-scm dependencies [RHBZ#1515989]
- mount /proc and /sys before executing any PM command [RHBZ#1467299]
* Tue Oct 31 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.7-1
- user and group is actually not used here since some logic moved to buildroot.py
- add config_opts['chrootgroup'] to site-defaults.cfg
- Enable chrootgroup as a config file option
- override some keys for bootstrap config
- Add support for DeskOS
- Delete rootdir as well when calling clean
- Fix mock & mock-core-config specs to support Mageia
- Ensure mock-core-configs will select the right default on Mageia
- ccache: use different bind mount directory
- new-chroot: set up new network namespace and add default route in it
- use primary key for F-27+ on s390x
- man: add dnf to see also
- man: escape @
- remove Seth email
- more grammar fixes
- fix typo in mock(1)
- sort debug-config output
* Fri Sep 15 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.6-1
- requires mock-core-configs
* Fri Sep 15 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.5-1
- introduce -N for --no-cleanup-after (jsynacek@redhat.com)
- add man page entry for --debug-config
- Added option --debug-config (matejkudera1@seznam.cz)
- site-defaults: Fix comment about nspawn/chroot default (ville.skytta@iki.fi)
- move chroot configs to mock-core-configs directory
- pass --private-network to every container spawning if specified
- add script to create default route in container to localhost
- [site-defaults] Fix umount_root documentation
- Fix keeping the LVM volume mounted
- suggest dnf-utils
- Always create /dev/loop nodes
* Tue Aug 22 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.4-1
- Rename group inside of chroot from mockbuild to mock
- add F27 configs
- populate /etc/dnf/dnf.conf even when using yum PM
- create /etc/dnf directory
- correct path is /etc/dnf/dnf.conf instead of /etc/dnf.conf
- perl dependency renamed to perl-interpreter
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
* Mon Aug 07 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.3-1
- selinux: do not try to import yum when PM is dnf [RHBZ#1474513]
- create /dev nodes even when using nspawn [RHBZ#1467299]
- scm: define _sourcedir to checkout directory
(ignatenkobrain@fedoraproject.org)
- mageia-cauldron: Change releasever to 7 (ngompa13@gmail.com)
- enhance detection of RHEL [RHBZ#1470189]
- Add detection of OL (Oracle Linux) distribution
(pixdrift@users.noreply.github.com)
- Make LVM sleep time configurable (mizdebsk@redhat.com)
- on fedoras use python3 to detect correct arch in %post [RHBZ#1462310]
- backend.py: quote check_opt (jlebon@redhat.com)
- Grammar fixes (ville.skytta@iki.fi)
- Docstring spelling fix (ville.skytta@iki.fi)
- Document python >= 2.7 requirement (ville.skytta@iki.fi)
- Remove obsolete internal_setarch config option (ville.skytta@iki.fi)
* Sat Jun 10 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.2-1
- define PermissionError for python2
- make /etc/yum.conf symlink to /etc/yum/yum.conf
- Do not use systemd-nspawn for EL6 chroots [RHBZ#1456421]
- umount all internal mounts before umounting lvm
- umountall try to umount several times in case there are deps between mounts
- unify behaviour of umount
- display which state start/stop, if normal or bootstrap
- do not umount LVM volumes if umount_root is set to true [RHBZ#1447658]
- use LC_ALL=C.UTF-8 rather than plain C
- add modularity options to custom chroots config
- initial support for modularity
- add boostrap options to bash completation
- set --no-bootstrap-chroot as default for now
- Use bash --login with systemd-nspawn as well (rhbz #1450516)
(orion@cora.nwra.com)
- docs: add note for subscription-manager.conf (#55)
(gitDeveloper@bitthinker.com)
- Pass canonical spelling False, not false to mock's setopt=deltarpm
(ville.skytta@iki.fi)
- make it easier to detect if buildroot is bootstrap or not
- document other lvm options in site-defaults.cfg
- do not call yum-deprecated from bootstrap chroot [RHBZ#1446294]
- do not use bootstrap for custom chroots [RHBZ#1448321]
- hard require dnf-plugins-core on Fedora
- we do not BuildRequire autoconf and automake any more
- do not require yum and yum-utils in Fedora
- Fix calls of yum-builddep and repoquery, and use 'dnf repoquery' for dnf
(ngompa13@gmail.com)
- call plugins of bootstrap when it has sense
- call scrub hook for bootstrap chroot too [RHBZ#1446297]
* Wed Apr 26 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.1-1
- remove leading space [RHBZ#1442005]
- copy nosync libraries to /var/tmp
- use tmpdir same as in in bootstrap chroot (Issue#59)
- do not ship distribution gpg keys
- pylint has been renamed
- Fix "init_install_output" error (marc.c.dionne@gmail.com)
- Epel5 has been EOLed (Issue#66)
- hw_info: Protect log output against non-ASCII, closes #68
(ville.skytta@iki.fi)
- secondary arch config cleanups (dennis@ausil.us)
- Point more links to github (ville.skytta@iki.fi)
- ignore exit codes from machinectl
- create bind mount paths just before mounting (#57)
- always print output of error in exception
- fix syntax in docs-examples (gitDeveloper@bitthinker.com)
- do not refer to fedorahosted.org in Source0
- Missed an instance of outer_buildroot (michael@cullen-online.com)
- Fixed up more PR comments, mostly being more consistent with naming
(michael@cullen-online.com)
- Fixed pylint errors introduced by previous commit and other review comments
(michael@cullen-online.com)
- Added command line options for overriding default bootstrap setting
(michael@cullen-online.com)
- Bootstrap package manager using outer chroot (michael@cullen-online.com)
- Add %distro_section macro to Mageia targets (ngompa13@gmail.com)
- test: ask for sudo password, so later we do not need to wait for password
- we cannot use /tmp for testing as that is automatically mounted as tmpfs by
systemd-nspawn
- add /dev/prandom device to chroot (#33)
- add /dev/hwrng device to chroot (#33)
- enable package_state plugin by default again [RHBZ#1277187]
(gitDeveloper@bitthinker.com)
- Use python errno module instead of hardcoding errno values.
(marcus.sundberg@aptilo.com)
- UidManager.changeOwner: Use _tolerant_chown for top level as well
(marcus.sundberg@aptilo.com)
- Buildroot: Ensure homedir and build dirs always have correct owner
(marcus.sundberg@aptilo.com)
- UidManager: Use os.lchown instead of os.chown
(marcus.sundberg@aptilo.com)
- Buildroot._init: Ensure chrootuser always has correct UID
(marcus.sundberg@aptilo.com)
- Buildroot._init: Ensure homedir is owned by correct user.
(marcus.sundberg@aptilo.com)
- change_home_dir: Actually set ownership of homedir
(marcus.sundberg@aptilo.com)
- fix permissions in chroot_scan's result dir, so user can delete it
(gitDeveloper@bitthinker.com)
- spec: simplify condition
- remove el6 references from spec file
- use systemd-nspawn by default
* Mon Feb 27 2017 Miroslav Suchý <msuchy@redhat.com> 1.3.4-1
- add support for dist-git to scm plugin (clime@redhat.com)
- preserve mode of files when doing chroot_scan [RHBZ#1297430]
(msuchy@redhat.com)
- spec: add to package pycache for subpackages (msuchy@redhat.com)
- restore permissions on chroot_scan dir (drop to unprivUid, unprivGid)
(gitDeveloper@bitthinker.com)
- add fedora 26 configs (msuchy@redhat.com)
- config: add best=1 also into rawhide configs (praiskup@redhat.com)
- rename package_state's log to have .log suffix (gitDeveloper@bitthinker.com)
- systemd-nspawn: run as PID2 #36 (msuchy@redhat.com)
- fix defaults for yum_builddep_opts (gitDeveloper@bitthinker.com)
- Support nspawn_args (walters@verbum.org)
- return exit code 2 when /usr/libexec/mock/mock run directly without
consolehelper (msuchy@redhat.com)
- change path of /usr/sbin/mock in error message (msuchy@redhat.com)
- Fix debuginfo repo naming (msimacek@redhat.com)
- more examples of PS1 [RHBZ#1183733] (msuchy@redhat.com)
- simplify PROMPT_COMMAND string (msuchy@redhat.com)
- "Rawhide" has been changed to "rawhide" in os-release file in current rawhide
(F26) [RHBZ#1409735] (msuchy@redhat.com)
- Update local repo URLs for rawhide (mizdebsk@redhat.com)
- Switch kojipkgs URLs to https (mizdebsk@redhat.com)
- run pylint on plugins too (msuchy@redhat.com)
- introduce hw_info plugin (msuchy@redhat.com)
- remove fedora-23 configs (msuchy@redhat.com)
* Sun Jan 01 2017 Miroslav Suchý <msuchy@redhat.com> 1.3.3-1
- use F25 for tests
- handle cwd directories with spaces [RHBZ#1389663]
- add config option `hostname` to set hostname
(constantine.peresypk@rackspace.com)
- use DNF on RHEL, when it is installed and configured [RHBZ#1405783]
- use best=1 for DNF
- error is not iterable [RHBZ#1387895]
- use best=true for dnf.conf for repos passed to mockchain using -a
- add epel-7-aarch64 config
- better naming for tmp directories
- Remove tmpdirs regardless of buildroot existence (msimacek@redhat.com)
- clarify examples of using more_buildreqs feature
(gitDeveloper@bitthinker.com)
- fix more_buildreqs case: correctly compare if req is basestring
(gitDeveloper@bitthinker.com)
- fix formating a bit (gitDeveloper@bitthinker.com)
- add missing step in 'getting & compiling' part (gitDeveloper@bitthinker.com)
- Add bash completion for .cfg files outside /etc/mock (#20)
(github@kayari.org)
- man: example how to use --plugin-option
- require most recent distribution-gpg-keys to get F25 keys
- man: state that shell does not produce logs
- Delay mounting of user-defined mountpoints (rhbz#1386544)
(msimacek@redhat.com)
- man: clarify chroot cleanups
* Mon Oct 17 2016 Miroslav Suchý 1.3.2-1
- flake8 fixes
- correctly escape --nocheck [GH#2] (msuchy@redhat.com)
- change hostname in container [RHBZ#1302040] (msuchy@redhat.com)
- example how to change hostname in container [RHBZ#1302040]
(msuchy@redhat.com)
- skip unshare() if running inside of Docker [RHBZ#1336750] (msuchy@redhat.com)
- Bring back logging.raiseExceptions = 0 (ville.skytta@iki.fi)
- Purge no longer needed Python < 2.5 workarounds (ville.skytta@iki.fi)
- Purge no longer needed six < 1.4.0 workaround (ville.skytta@iki.fi)
- run pylint during %check phase (msuchy@redhat.com)
* Tue Sep 27 2016 Miroslav Suchý <msuchy@redhat.com> 1.3.1-1
- remove F21 GPG keys
- remove F22 configs
- update upstream URL
- move /usr/sbin/mock to /usr/libexec/mock/mock [RHBZ#1246810]
- Initialized to use tito.
- add pylint config
* Tue Sep 13 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.21-1
- CVE-2016-6299 - fixed root rights escalation in mock-scm
- root_cache: Mention _root_ cache being created in state updates
- Rename mageia pubkey to RPM-GPG-KEY-Mageia
- require generic system-release rather than fedora-release [RHBZ#1367746]
* Wed Aug 17 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.20-1
- use epel GPG keys for epel
* Wed Aug 10 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.19-1
- disable tmpfs plugin for init-clean test
- pass cwd option to systemd-nspawn [RHBZ#1264508]
- pass unpriv id to doshell() [RHBZ#1298220]
- enable package_state plugin by default and create installed_pkgs file [RHBZ#1277187]
- installed_pkgs can be created even in offline mode
- Use context manager for drop/restore calls of uid manager [RHBZ#1362478]
- require /etc/os-release during post section [RHBZ#1358397]
- use mageia gpg keys from distribution-gpg-keys package
- use fedora gpg keys from distribution-gpg-keys package
- use epel gpg keys from distribution-gpg-keys package
- add F25 configs
- 'include' statement has been added [RHBZ#1272381]
- Handle file open/close more with "with", close more eagerly
- Use logging.warning instead of deprecated warn
- add chroot_additional_packages to custom chroots
- chroot_additional_packages: new option
* Fri Jun 10 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.18-1
- add custom config
- add Mageia configs
- copy just content of SRPM not the attributes [RHBZ#1301985]
- do not fail when we cannot link default.cfg [RHBZ#1305367]
- Build always fails when using --nocheck [RHBZ#1327594]
- Escape the escape sequences in PROMPT_COMMAND, improve prompt
- requires rpm-python
- Use root name instead config name for backups dir
- Unconditionally setup resolver config
- keep machine-id in /etc/machine-id [RHBZ#1344305]
- use DNF for F24
- Add MIPS personalities
- scm plugin: fix handling of submodules
* Fri Mar 11 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.17-1
- call rpmbuild correctly
* Tue Mar 08 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.16-1
- remove old %if statements
- systemd-nspawn is now in systemd-container package
- become root user correct way [RHBZ#1312820][RHBZ#1311796]
- remove the sparc config
- Let logging format messages on demand
- tell nspawn which variables it should set [RHBZ#1311796]
- do not call /bin/su and rather utilize --user of systemd-nspawn [RHBZ#1301953]
* Mon Feb 22 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.15-1
- ccache plugin disabled by default
- F21 configs removed
- F24 configs added
- typo fixed [RHBZ#1285630]
- read user config from ~/.config/mock.cfg too
- disable "local" dnf plugin [RHBZ#1264215]
- when removing buildroot, do that as root [RHBZ#1294979]
* Fri Nov 20 2015 Miroslav Suchý <msuchy@redhat.com> - 1.2.14-1
- after unpacking chroot, change back to $CWD [RHBZ#1281369]
- Fix package manager version handling for CentOS
- use --setopt=deltarpm=false as default value for dnf_common_opts [RHBZ#1281355]
- add arguments, do not over ride previous ones
- Add %(resultdir) placeholder for sign plugin. [RHBZ#1272123]
- decode shell output when running under Python3 [RHBZ#1267161]
- create tmpfs with unlimited inodes [RHBZ#1266453]
- typo [RHBZ#1241827]
- do not use machinectl --no-legend as it is not el7 compatible [RHBZ#1241827]
- directly tell yum which yum.conf he should use [RHBZ#1264462]
* Wed Sep 16 2015 Miroslav Suchý <msuchy@redhat.com> - 1.2.13-1
- Use 'machinectl terminate' inside orphanskill() when systemd-nspawn used [RHBZ#1171737]
- use quite systemd-nspawn in quite mode [RHBZ#1262889]
- when calling systemd-nspawn become root first [RHBZ#1241827]
- revert F23 configs back to yum
- Give user hint what to do if he miss scm plugin.
- when cleaning up /dev/ do not fail on mountpoins
- warn (but not fail) on RHELs when you try to use DNF
- migrate package_state to use dnf when package_manager is set to dnf
- redownload metadata if they changed on server [RHBZ#1230508]
- provide --scrub=dnf-cache as alias for yum-cache [RHBZ#1241296]
- copy files to correct location [RHBZ#1252088]
- do not install weak deps in chroot [RHBZ#1254634]
- Try to set PTY window size [RHBZ#1155199]
- Set default LVM pool name [RHBZ#1163008]
- better parsing of content-disposition header [RHBZ#1248344]
- backend: Ensure output files are owned by unpriv user with nspawn
- Add "rpmbuild_networking" key (False by default) for nspawn backend
- fdfd464 Update Fedora Wiki URLs
- use yum-deprecated as the yum_command if it exists
* Tue Jul 14 2015 clark Williams <williams@redhat.com> - 1.2.12-1
- from Dennis Gilmore <dennis@ausil.us>:
- setup support so loopback devices can work [RHBZ#1245401]
- from Miroslav Suchý <msuchy@redhat.com>:
- clarify path [RHBZ#1228751]
- document target_arch and legal_host_arches in site-defaults.cfg [RHBZ#1228751]
- document "yum.conf" in site-defaults.cfg [RHBZ#1228751]
- correctly specify requires of yum [RHBZ#1244475]
- bump up releasever in rawhide targets
- remove EOLed gpg keys
- add f23 configs
- removing EOLed f19 and f20 configs
* Tue Jul 14 2015 clark Williams <williams@redhat.com> - 1.2.11-1
- dropped code that does stray mount cleanup of chroot [RHBZ#1208092]
- modified package_manager resolvedep cmd to use repoquery when dnf is installed
|