# changelog

author: Miroslav Suchý <msuchy@redhat.com> 1.3.3-1
changelog:
  - 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


author: Miroslav Suchý <msuchy@redhat.com> 1.3.4-1
changelog:
  - 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)


author: Miroslav Suchý <msuchy@redhat.com> 1.4.1-1
changelog:
  - 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


author: Miroslav Suchý <msuchy@redhat.com> 1.4.2-1
changelog:
  - 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]


author: Miroslav Suchý <msuchy@redhat.com> 1.4.3-1
changelog:
  - 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)


author: Miroslav Suchý <msuchy@redhat.com> 1.4.4-1
changelog:
  - 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>


author: Miroslav Suchý <msuchy@redhat.com> 1.4.5-1
changelog:
  - 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


author: Miroslav Suchý <msuchy@redhat.com> 1.4.7-1
changelog:
  - 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


author: Miroslav Suchý <msuchy@redhat.com> 1.4.8-1
changelog:
  - 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]


