$ ./buildrpms.sh
$ ./buildrpms.sh -c
$ ./buildrpms.sh -s
$ ./buildrpms.sh -b
$ ./buildrpms.sh [flags] -u
This generates an RPM with release .git<short commit ID>
It is possible to execute mock
using the 'old chroot' behavior (which does not uses systemd-nspawn
) setting
the environment variable _MOCK_OLD_CHROOT
before running buildrpms.sh
:
export _MOCK_OLD_CHROOT=1
This may be useful when running mock
inside environments that do not play well with systemd-nspawn
(LXC/LXD, Docker...).