diff --git a/.gitignore b/.gitignore index c8324b0..eafabad 100644 --- a/.gitignore +++ b/.gitignore @@ -137,3 +137,18 @@ /lorax-29.10.tar.gz /lorax-29.11.tar.gz /lorax-29.12.tar.gz +/lorax-29.16.tar.gz +/lorax-29.17.tar.gz +/lorax-29.18.tar.gz +/lorax-29.19.tar.gz +/lorax-29.20.tar.gz +/lorax-29.21.tar.gz +/lorax-29.22.tar.gz +/lorax-29.23.tar.gz +/lorax-29.24.tar.gz +/lorax-29.25.tar.gz +/lorax-29.26.tar.gz +/lorax-29.27.tar.gz +/lorax-29.28.tar.gz +/lorax-29.29.tar.gz +/lorax-29.30.tar.gz diff --git a/lorax.spec b/lorax.spec index 35f1ff2..d087749 100644 --- a/lorax.spec +++ b/lorax.spec @@ -3,11 +3,10 @@ %define debug_package %{nil} Name: lorax -Version: 29.12 +Version: 29.30 Release: 1%{?dist} Summary: Tool for creating the anaconda install images -Group: Applications/System License: GPLv2+ URL: https://github.com/weldr/lorax # To generate Source0 do: @@ -37,8 +36,10 @@ Requires: module-init-tools Requires: parted Requires: squashfs-tools >= 4.2 Requires: util-linux +Requires: xz-lzma-compat Requires: xz Requires: pigz +Requires: pbzip2 Requires: dracut >= 030 Requires: kpartx @@ -46,8 +47,8 @@ Requires: kpartx Requires: libselinux-python3 Requires: python3-mako Requires: python3-kickstart -Requires: python3-dnf >= 2.0.0 - +Requires: python3-dnf >= 3.2.0 +Requires: python3-librepo %if 0%{?fedora} # Fedora specific deps @@ -134,9 +135,13 @@ Requires: libgit2 Requires: libgit2-glib Requires: python3-flask Requires: python3-gevent -Requires: anaconda-tui +Requires: anaconda-tui >= 29.19-1 Requires: qemu-img Requires: tar +Requires: python3-rpmfluff +Requires: git +Requires: xz +Requires: createrepo_c %{?systemd_requires} BuildRequires: systemd @@ -151,7 +156,7 @@ Summary: A command line tool for use with the lorax-composer API server Requires: python3-urllib3 %description -n composer-cli -A command line tool for use with the lorax-composer API server. Examine recipes, +A command line tool for use with the lorax-composer API server. Examine blueprints, build images, etc. from the command line. %prep @@ -202,6 +207,7 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %config(noreplace) %{_sysconfdir}/lorax/lorax.conf %dir %{_datadir}/lorax %{_mandir}/man1/*.1* +%{_tmpfilesdir}/lorax.conf %files lmc-virt @@ -230,6 +236,294 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %{_sysconfdir}/bash_completion.d/composer-cli %changelog +* Wed Aug 14 2019 Brian C. Lane 29.30-1 +- livemedia-creator: Increase the root partition to 7000 (bcl@redhat.com) +- Remove fedora-productimg-workstation, now included with anaconda (bcl@redhat.com) +- Fix live/x86.tmpl indents removed by commit 6aa0a3fdf (bcl@redhat.com) + +* Thu May 09 2019 Brian C. Lane 29.29-1 +- Revert "Pass ssl certificate options to anaconda" (bcl@redhat.com) + +* Tue May 07 2019 Brian C. Lane 29.28-1 +- New lorax documentation - 29.28 (bcl@redhat.com) +- Change customizations.firewall to append items instead of replace (bcl@redhat.com) +- Update customizations.services documentation (bcl@redhat.com) +- lorax-composer: Add services support to blueprints (bcl@redhat.com) +- lorax-composer: Add firewall support to blueprints (bcl@redhat.com) +- lorax-composer: Add locale support to blueprints (bcl@redhat.com) +- lorax-composer: Fix customizations when creating a recipe (bcl@redhat.com) +- Update docs for new timezone section (bcl@redhat.com) +- lorax-composer: Add timezone support to blueprint (bcl@redhat.com) +- Proposal for adding to the blueprint customizations (bcl@redhat.com) +- Add test for starting compose with deleted blueprint (jikortus@redhat.com) +- Update VMware info for VMware testing (chrobert@redhat.com) +- tests: Cleanup on failure of in_tempdir (bcl@redhat.com) +- Change [[modules]] to [[packages]] in tests (atodorov@redhat.com) +- Add new test to verify compose paths exist (atodorov@redhat.com) +- Add new sanity tests for blueprints (atodorov@redhat.com) +- Fixes for locked root account test (jikortus@redhat.com) +- Correct "recipes" use to "blueprints" in composer-cli description (kwalker@redhat.com) +- Fix keeping files on Amazon s3 (jstodola@redhat.com) +- Allow to keep objects in AWS (jstodola@redhat.com) +- Fix the google cloud boot console settings (dshea@redhat.com) +- Add a compose type for alibaba. (dshea@redhat.com) +- Add a new compose type for Hyper-V (dshea@redhat.com) +- Add a compose check for google cloud images. (dshea@redhat.com) +- Add a compose type for Google Compute Engine (dshea@redhat.com) +- Add a new output type, tar-disk. (dshea@redhat.com) +- Support compressing single files. (dshea@redhat.com) +- Add an option to align the image size to a multiplier. (dshea@redhat.com) +- Add documentation references to lorax-composer service files (bcl@redhat.com) +- Add more tests for gitrpm.py (bcl@redhat.com) +- lorax-composer: Fix installing files from [[repos.git]] to / (bcl@redhat.com) +- Make it easier to generate docs for the next release (bcl@redhat.com) +- pylorax.ltmpl: Add a test for missing quotes (bcl@redhat.com) +- Don't remove chmem and lsmem from install.img (bcl@redhat.com) +- Add checks for disabled root account (jikortus@redhat.com) +- Update datastore for VMware testing (chrobert@redhat.com) +- Add tests using repos.git in blueprints (bcl@redhat.com) +- Move git repo creation into tests/lib.py (bcl@redhat.com) +- rpmgit: catch potential errors while running git (bcl@redhat.com) +- tests: Add test for Recipe.freeze() function (bcl@redhat.com) +- Add repos.git support to lorax-composer builds (bcl@redhat.com) +- Add pylorax.api.gitrpm module and tests (bcl@redhat.com) +- Add support for [[repos.git]] section to blueprints (bcl@redhat.com) +- tests: Add python3-mock and python3-sphinx_rtd_theme (bcl@redhat.com) +- Use make ci inside test-in-copy target (atodorov@redhat.com) +- Allow overriding $CLI outside test scripts (atodorov@redhat.com) +- New test: Build live-iso and boot with KVM (atodorov@redhat.com) +- lorax-composer: Return UnknownBlueprint errors when using deleted blueprints (bcl@redhat.com) +- lorax-composer: Delete workspace copy when deleting blueprint (bcl@redhat.com) +- New test: Build qcow2 compose and test it with QEMU-KVM (atodorov@redhat.com) +- lorax-composer: pass customization.kernel append to extra_boot_args (bcl@redhat.com) +- Improve logging for template syntax errors (bcl@redhat.com) +- Add extra boot args to the livemedia-creator iso templates (bcl@redhat.com) +- lorax-composer: Add the ability to append to the kernel command-line (bcl@redhat.com) +- qemu wasn't restoring the terminal if it was terminated early (bcl@redhat.com) +- Switch the --virt-uefi method to use SecureBoot (bcl@redhat.com) +- Fix pylint problems with vmware_list_vms.py (bcl@redhat.com) +- Makefile: Make the .test-results directory (bcl@redhat.com) +- Add a ppc64le template for live iso creation (bcl@redhat.com) +- Move the package requirements for live-iso setup out of the template (bcl@redhat.com) +- Remove exclusions from lorax-composer templates (bcl@redhat.com) +- Add LiveTemplateRunner to parse per-arch live-iso package requirements (bcl@redhat.com) +- Move the run part of LoraxTemplateRunner into new TemplateRunner class (bcl@redhat.com) +- lorax-composer: Use reqpart --add-boot for partitioned disk templates (bcl@redhat.com) +- livemedia-creator: Add support for reqpart kickstart command (bcl@redhat.com) +- Make the lorax-composer ks templates more generic (bcl@redhat.com) +- Add script for removing old artifacts from VMware (jstodola@redhat.com) +- Clarify the ks repo only error message (bcl@redhat.com) +- tests: Fix makeFakeRPM calls (bcl@redhat.com) +- Drop _unique_dicts function (bcl@redhat.com) +- Remove unsupported anaconda-docker-addon (#619) (jkonecny@redhat.com) +- New test: Verify tar images with Docker and systemd-nspawn (atodorov@otb.bg) +- Update OpenStack flavor and network settings in tests (atodorov@redhat.com) +- Remove 3G minimum from lorax-composer (bcl@redhat.com) +- Run as root/weldr by default. (clumens@redhat.com) +- Pass ssl certificate options to anaconda (lars@karlitski.net) +- Drop auth from the kickstart examples (bcl@redhat.com) +- Keep OpenStack VMs with Tag keep_me (atodorov@redhat.com) +- Make sure compose build tests run with SELinux in enforcing mode (jikortus@redhat.com) +- Update with instructions about commit log referencing Bugzilla (atodorov@redhat.com) +- Add script for removing old artifacts from Azure (jstodola@redhat.com) +- Use existing storage account (jstodola@redhat.com) +- Record date/time of VM creation (jstodola@redhat.com) +- Remove obsolete Group tag (ignatenkobrain@fedoraproject.org) +- fedora-livemedia.ks: Add packages needed to boot livecd on UEFI systems (bcl@redhat.com) +- Export OS_PROJECT_NAME variable in openstack scripts (jstodola@redhat.com) +- Collect results from all cleanup scripts (jstodola@redhat.com) +- Typo in PR template (atodorov@redhat.com) +- Expand parameters as separate words (jstodola@redhat.com) +- Add PR template with instructions for repo members (atodorov@redhat.com) +- Add script for removing old artifacts from OpenStack (jstodola@redhat.com) +- Add script for removing old artifacts from AWS (jstodola@redhat.com) +- Add timestamps to program.log and dnf.log (bcl@redhat.com) +- tests: use the first IP address if more than 1 retruned from OpenStack (atodorov@redhat.com) +- tests: remove a debugging command (atodorov@redhat.com) +- Add openstack to the image type list in the docs (dshea@redhat.com) +- Teach OpenStack test to distinguish between RHEL and Fedora (atodorov@redhat.com) +- Use full path for Azure playbook as well (atodorov@redhat.com) +- Use a temporary dir for ssh keys during testing (atodorov@redhat.com) +- Update V_DATASTORE b/c defaults appear to have been changed (atodorov@redhat.com) +- Clone pyvmomi samples in the correct directory (atodorov@redhat.com) +- Use full path when pushing toml files during testing (atodorov@redhat.com) +- Add empty ci_after_success target for Jenkins (atodorov@redhat.com) +- Implicitly specify ssh key directory/files for testing (atodorov@redhat.com) +- [test] Clean up containers.json (atodorov@redhat.com) +- Teach AWS test to distinguish between RHEL and Fedora (atodorov@redhat.com) +- Use a temporary shared dir when testing (atodorov@redhat.com) +- Copy blueprints used for testing to temporary directory (atodorov@redhat.com) +- Add make targets for Jenkins (atodorov@redhat.com) +- Teach test_cli.sh to execute test scripts via arguments (atodorov@redhat.com) +- new test: build an image and deploy it on Azure (atodorov@redhat.com) +- Fix typo in comment (atodorov@redhat.com) +- Fix reporting of coverage results to coverall.io (bcl@redhat.com) +- For OpenStack build image with rng-tools installed (atodorov@redhat.com) +- Add tests for partitioned disk images (bcl@redhat.com) +- Create a kpartx_disk_img function (bcl@redhat.com) +- Add tests for pylorax.imgutils (bcl@redhat.com) +- Add tests to test_creator.py (bcl@redhat.com) +- Fix make_appliance and the libvirt.tmpl (bcl@redhat.com) +- Add some tests for creator.py (bcl@redhat.com) +- tests: Add executils test (bcl@redhat.com) +- tests: Add sysutils test (bcl@redhat.com) +- tests: Add discinfo test (bcl@redhat.com) +- tests: Add treeinfo test (bcl@redhat.com) +- Stop using build to run the tests, allow using podman (bcl@redhat.com) +- new test: build and deploy an image in OpenStack (atodorov@redhat.com) +- Fix typos in VM_NAME and cleanup command (atodorov@redhat.com) +- new test: build and deploy images on vSphere (atodorov@redhat.com) +- Update docs with info about ssh keys (atodorov@redhat.com) +- new test: build and deploy images on AWS (atodorov@redhat.com) +- Disable execution of new tests which need Docker privileged mode (atodorov@redhat.com) +- New tests: build ext4-filesystem and partitioned-disk composes (atodorov@redhat.com) +- Add --squashfs-only option to drop inner rootfs.img layer (marmarek@invisiblethingslab.com) +- lorax: Log when SOURCE_DATE_EPOCH is used for the current time (bcl@redhat.com) +- Drop non-determinism from default templates (marmarek@invisiblethingslab.com) +- Use SOURCE_DATE_EPOCH for volumeid of efi boot image (marmarek@invisiblethingslab.com) +- Preserve timestamps when building fs image (marmarek@invisiblethingslab.com) +- Use SOURCE_DATE_EPOCH for metadata timestamps (marmarek@invisiblethingslab.com) + +* Thu Feb 28 2019 Brian C. Lane 29.27-1 +- Add some extra cancel_func protection to QEMUInstall (bcl@redhat.com) +- installer: make sure cancel_func has a value (#612) (yuvalt@gmail.com) + Resolves: rhbz#1683825 + +* Wed Jan 30 2019 Brian C. Lane 29.26-1 +- Remove duplicate repositories from the sources list (bcl@redhat.com) +- lorax: Move default tmp dir to /var/tmp/lorax (bcl@redhat.com) + +* Fri Jan 18 2019 Brian C. Lane 29.25-1 +- Don't exclude /dev from the `setfiles` in `novirt_install` (awilliam@redhat.com) +- dracut-fips is no longer a subpackage, it is included in dracut. (bcl@redhat.com) + +* Tue Jan 08 2019 Brian C. Lane 29.24-1 +- Remove unneeded else from for/else loop. It confuses pylint (bcl@redhat.com) +- Turn off pylint warning about docstring with backslash (bcl@redhat.com) +- Turn off smartquotes in Sphinx documentation (bcl@redhat.com) +- fixes #543 qemu -nodefconfig deprecated (afm404@gmail.com) +- fix spinx build warnings (afm404@gmail.com) +- Allow customizations to be specified as a toml list (dshea@redhat.com) +- Revert "lorax-composer: Cancel running Anaconda process" (bcl@redhat.com) +- Make sure cancel_func is not None (bcl@redhat.com) + +* Mon Dec 17 2018 Brian C. Lane 29.23-1 +- lorax: Save information about rootfs filesystem size and usage (bcl@redhat.com) +- Turn on signed tags when using tito. (bcl@redhat.com) +- lorax-composer: Cancel running Anaconda process (bcl@redhat.com) +- Add cancel_func to virt and novirt_install functions (bcl@redhat.com) +- lorax-composer: Check for STATUS before deleting (bcl@redhat.com) +- Check for existing CANCEL request, and exit on FINISHED (bcl@redhat.com) +- Fix vhd images (vponcova@redhat.com) + +* Thu Dec 06 2018 Brian C. Lane 29.22-1 +- lorax-composer: Handle packages with multiple builds (bcl@redhat.com) +- lorax-composer: Check the queue and results at startup (bcl@redhat.com) + +* Thu Nov 29 2018 Brian C. Lane 29.21-1 +- New lorax documentation - 29.21 (bcl@redhat.com) +- lorax-composer: Install selinux-policy-targeted in images (bcl@redhat.com) +- Remove setfiles from mkrootfsimage (bcl@redhat.com) +- Remove SELinux Permissive checks (bcl@redhat.com) +- Add --no-system-repos to lorax-composer (bcl@redhat.com) + +* Mon Oct 29 2018 Brian C. Lane 29.20-1 +- New lorax documentation - 29.20 (bcl@redhat.com) +- Add tests for ltmpl.py (bcl@redhat.com) +- Move get_dnf_base_object into a module (bcl@redhat.com) +- Build manpages for composer-cli and lorax-composer (bcl@redhat.com) +- Fix singlerepo test for f29 (bcl@redhat.com) +- Update the projects tests to use DNF Repo object (bcl@redhat.com) +- dnf changed the type of gpgkey to a tuple (bcl@redhat.com) +- Install python3-librepo in the test container (bcl@redhat.com) + +* Fri Oct 12 2018 Brian C. Lane 29.19-1 +- Update depsolving with suggestions from dnf (#1636239) (bcl@redhat.com) +- Disable false context-manager pylint error (bcl@redhat.com) +- Fix directory creation for blueprints (bcl@redhat.com) +- Update the tests for new make_dnf_dir arguments. (bcl@redhat.com) +- Change make_dnf_dirs to be run as root (bcl@redhat.com) + +* Tue Oct 09 2018 Brian C. Lane 29.18-1 +- Add an openstack image type (bcl@redhat.com) +- Add cloud-init to vhd images. (dshea@redhat.com) +- Replace /etc/machine-id with an empty file (dshea@redhat.com) + +* Mon Oct 08 2018 Brian C. Lane 29.17-1 +- Update cli tests to use composer-cli name (bcl@redhat.com) +- Revert "Rename composer-cli to composer" (bcl@redhat.com) + +* Fri Oct 05 2018 Brian C. Lane 29.16-1 +- Work around dnf problem with multiple repos (bcl@redhat.com) +- Add and enable cloud-init for ami images (lars@karlitski.net) +- Switch default platform id to f29 (bcl@redhat.com) +- Report an error if the blueprint doesn't exist (bcl@redhat.com) +- cli: Clarify error message for unprivileged access (lars@karlitski.net) +- Write a rootpw line if no root customizations in the blueprint (bcl@redhat.com) +- Add beakerlib to Dockerfile.test (bcl@redhat.com) +- Adjust the new templates for locked root (bcl@redhat.com) +- Adjust projects test for DNF 3.6.1 tuple issue (bcl@redhat.com) +- Don't try to append to DNF config value that can't take it (awilliam@redhat.com) +- Always update repo metadata when building an image (bcl@redhat.com) +- Add a test for repo metadata expiration (bcl@redhat.com) +- Add tests for setting root password and ssh key with blueprints (bcl@redhat.com) +- Use rootpw for setting the root password instead of user (bcl@redhat.com) +- Lock the root account, except on live-iso (bcl@redhat.com) +- Add new compose types to compose sanity test (dshea@redhat.com) +- Add virt guest agents to the qcow2 compose (dshea@redhat.com) +- Add a vmdk compose type. (dshea@redhat.com) +- Add a vhd compose type for Azure images (dshea@redhat.com) +- Add an ami compose type for AWS images (dshea@redhat.com) +- Remove --fstype from the generated part line (dshea@redhat.com) +- Also run `make check` on travis (lars@karlitski.net) +- Fix pylint errors and warnings (lars@karlitski.net) +- New cli test covering basic compose commands (atodorov@redhat.com) +- Execute bash tests for composer-cli (atodorov@redhat.com) +- Rename composer-cli to composer (lars@karlitski.net) +- Include python3-pyatspi on boot.iso (#1506595) (bcl@redhat.com) +- Start a HACKING.md file and document how to run the tests (stefw@redhat.com) +- tests: Fix tests so they run on Fedora 28 (stefw@redhat.com) +- Ignore files created by tests (stefw@redhat.com) +- Makefile: Fix the 'make install' target (stefw@redhat.com) +- Replace CJK fonts with Google Noto CJK (akira@tagoh.org) +- Fix a DeprecationWarning (dshea@redhat.com) +- Fix the expected versions of blueprint components (dshea@redhat.com) +- Automatic commit of package [lorax] release [29.15-1]. (bcl@redhat.com) +- Add a Makefile target for building html docs using a rawhide environment (bcl@redhat.com) +- Revert "Don't activate default auto connections after switchroot" (rvykydal@redhat.com) +- New lorax documentation - 29.14 (bcl@redhat.com) +- Automatic commit of package [lorax] release [29.14-1]. (bcl@redhat.com) +- Add the create ISO component for ARMv7 (pbrobinson@gmail.com) +- Don't activate default auto connections after switchroot (rvykydal@redhat.com) +- Ignore a pylint warning about UnquotingConfigParser get args (bcl@redhat.com) +- Ditch all use of pyanaconda's simpleconfig (awilliam@redhat.com) +- Automatic commit of package [lorax] release [29.13-1]. (bcl@redhat.com) +- Update the example blueprints for rawhide (bcl@redhat.com) +- Bump required dnf version to 3.2.0 for module_platform_id support (bcl@redhat.com) +- Add support for DNF 3.2 module_platform_id config value (bcl@redhat.com) +- lorax: Only run depmod on the installed kernels (bcl@redhat.com) +- Make no-virt generated images sparser (dshea@redhat.com) +- Update Dockerfile.test to use f29 from fedora registry (bcl@redhat.com) +- Need to explicitly require python3-librepo (#1626413) (bcl@redhat.com) + +* Fri Sep 07 2018 Brian C. Lane 29.15-1 +- Add a Makefile target for building html docs using a rawhide environment (bcl@redhat.com) +- Revert "Don't activate default auto connections after switchroot" (rvykydal@redhat.com) +- Need to explicitly require python3-librepo (#1626413) (bcl@redhat.com) +- New lorax documentation - 29.14 (bcl@redhat.com) + +* Thu Sep 06 2018 Brian C. Lane 29.14-1 +- Add the create ISO component for ARMv7 (pbrobinson@gmail.com) +- Don't activate default auto connections after switchroot (rvykydal@redhat.com) +- Ignore a pylint warning about UnquotingConfigParser get args (bcl@redhat.com) +- Ditch all use of pyanaconda's simpleconfig (awilliam@redhat.com) + +* Wed Aug 29 2018 Brian C. Lane 29.13-1 +- Update the example blueprints for rawhide (bcl@redhat.com) +- Bump required dnf version to 3.2.0 for module_platform_id support (bcl@redhat.com) +- Add support for DNF 3.2 module_platform_id config value (bcl@redhat.com) +- lorax: Only run depmod on the installed kernels (bcl@redhat.com) + * Tue Aug 28 2018 Brian C. Lane 29.12-1 - Minor package fixes for aarch64/ARMv7 (pbrobinson@gmail.com) diff --git a/sources b/sources index 6886bc2..6bbd127 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lorax-29.12.tar.gz) = f81e9556400cb1348b969d7407c51694649efddf9376f59906fd3310d24def8be7a41eb72b7b9198b7739547e8bd2556f5bd53a8dd9c70d7e2da3ba3904213f4 +SHA512 (lorax-29.30.tar.gz) = 300b87398b879dc2b108000a6c8f43d6ce70461d8fdcea131ad95ed48776aba34dbd8a7c8ce64632609bcfdc85b9849d49caceb55af0ec242a423ba558794cd4