15
0

Compare commits

66 Commits

Author SHA256 Message Date
684ca1a027 Accepting request 1061807 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1061807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=32
2023-01-29 13:11:01 +00:00
f13414ee2e Accepting request 1061790 from home:dirkmueller:Factory
- update to 3.26.0:
  * cache-url: Give up on curl install for Redhat platforms
  * Clean up tox.ini for tox v4
  * Grow thin pool metadata by 1GiB
  * Add variable for check installing python3 in yum element
  * tox jobs: pin to correct nodesets; use host networking for containerfile
  * Fix issue in extract image
  * Added example configuration
  * Added cloud-init growpart element
  * Add Rocky 9 ARM64 functional test

OBS-URL: https://build.opensuse.org/request/show/1061790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=67
2023-01-28 21:13:03 +00:00
17d28b7c37 Accepting request 1041266 from devel:languages:python
- update to 3.25.0:
  * Start running dib-lint again
  * Install Fedora ifcfg NM compat package
  * added elrepo element
  * changed release check logic in lvm element
  * Allow flake8 version 5
  * Support LVM thin provisioning
  * Add thin provisioning support to growvols
  * rocky : create machine-id in 9
  * Allow setting ROOT\_LABEL from environment
  * Do dmsetup remove device in rollback
  * Add Rockylinux 9 build configuration and update jobs for 8 and 9
  * Add subscription-manager repo names for RHEL-9
  * Disable the opensuse functest
  * Upgrade openEuler to 22.03 LTS
  * rockylinux : create machine-id early
  * cache-url: turn off -x by default
  * opensuse: better report checksum errors
  * ubuntu: more exact match on squashfs file, containerfile: use focal
  * Allow Gentoo to manage python versions by itself
  * Parse block device lvm lvs size attributes
  * update default python for gentoo to 3.10
  * Removing old grub removal step
  * Use internal dhcp client for centos 9-stream and beyond
  * Fix BLS entries for /boot partitions
  * Add Fedora 36 support
  * containerfile: warn if we don't have a Dockerfile
  * Add support for Python 3.10
  * Revert "CentOS 9-stream : work around selinux permissions issue"
  * Fix backward regex match

OBS-URL: https://build.opensuse.org/request/show/1041266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=31
2022-12-08 15:51:56 +00:00
cd1bbd7a36 - update to 3.25.0:
* Start running dib-lint again
  * Install Fedora ifcfg NM compat package
  * added elrepo element
  * changed release check logic in lvm element
  * Allow flake8 version 5
  * Support LVM thin provisioning
  * Add thin provisioning support to growvols
  * rocky : create machine-id in 9
  * Allow setting ROOT\_LABEL from environment
  * Do dmsetup remove device in rollback
  * Add Rockylinux 9 build configuration and update jobs for 8 and 9
  * Add subscription-manager repo names for RHEL-9
  * Disable the opensuse functest
  * Upgrade openEuler to 22.03 LTS
  * rockylinux : create machine-id early
  * cache-url: turn off -x by default
  * opensuse: better report checksum errors
  * ubuntu: more exact match on squashfs file, containerfile: use focal
  * Allow Gentoo to manage python versions by itself
  * Parse block device lvm lvs size attributes
  * update default python for gentoo to 3.10
  * Removing old grub removal step
  * Use internal dhcp client for centos 9-stream and beyond
  * Fix BLS entries for /boot partitions
  * Add Fedora 36 support
  * containerfile: warn if we don't have a Dockerfile
  * Add support for Python 3.10
  * Revert "CentOS 9-stream : work around selinux permissions issue"
  * Fix backward regex match

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=65
2022-12-07 22:08:24 +00:00
0da5a63421 Accepting request 959734 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/959734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=30
2022-03-06 17:48:44 +00:00
27858a4cbe Accepting request 959336 from home:pgajdos:python
- version update to 3.19.1
  lot of changes, see ChangeLog

OBS-URL: https://build.opensuse.org/request/show/959336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=63
2022-03-06 16:31:43 +00:00
7dc90b29db - add python-rpm-macros dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=62
2022-01-15 18:48:11 +00:00
5101a4c4fa Accepting request 800946 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/800946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=29
2020-05-07 12:56:11 +00:00
Tomáš Chvátal
e0d1e26b41 Accepting request 800830 from home:dimstar:Factory
- Run test-suite using python3: export PYTHON=%{_bindir}/python3
  before running testr.
- Replace all python2-* BuildRequires with their python3
  equivalents.

OBS-URL: https://build.opensuse.org/request/show/800830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=60
2020-05-07 07:02:23 +00:00
facbf478f9 Accepting request 737144 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/737144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=28
2019-10-11 13:17:30 +00:00
Tomáš Chvátal
2bcc143f82 Accepting request 737037 from home:markoschandras:sysinstall
- Update to 2.28.0
  * Add NetworkManager and dhcp-client for CentOS 8
  * Fix networking for CentOS 8
  * simple-init: Use wrappers to call pip for glean install
  * simple-init: default to NetworkManager for CentOS and Fedora
  * Add security mirror override for debian-minimal
  * pip-and-virtualenv : deprecate source for CentOS 8, new variables
  * yum-minimal: Don't install yum, install libcurl
  * Use $YUM instead of direct calls in more places
  * Add environment switch for centos8 to use dnf
  * Update redhat-common pkg-map for centos 8
  * Update locales for Centos 8
  * dib-python : handle centos 8
  * yum-minimal : update mirrors for Centos 8
  * Remove "failovermethod=priority" for Fedora (dnf)
  * Install Python 3 libselinux packages for Fedora
  * Revert "Fixed use of flake8"
  * Only install doc requirements if needed
  * Use x86 architeture specific grub2 packages for RHEL
  * Move doc related modules to doc/requirements.txt

OBS-URL: https://build.opensuse.org/request/show/737037
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=58
2019-10-10 14:15:49 +00:00
94910d1d61 Accepting request 729467 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/729467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=27
2019-09-09 22:01:08 +00:00
Tomáš Chvátal
ff5ce86605 Accepting request 729426 from home:markoschandras:sysinstall
- Update to 2.27.0
  * Uninstall linux-firmware and linux-firmware-whence
  * Fixed use of flake8
  * Allow configurable gzip binary name
  * Do not delete cracklib from /usr/share
  * Fedora 30 functional and boot tests
  * rpm-distro: ensure we selinux relabel underlying directories
  * Allow extra repositories to be added to images
  * yum-minimal: install fedora-release-cloud

OBS-URL: https://build.opensuse.org/request/show/729426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=56
2019-09-09 13:07:20 +00:00
1a2d2aa744 Accepting request 725237 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/725237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=26
2019-08-22 13:04:59 +00:00
Tomáš Chvátal
f7caa61663 Accepting request 725213 from home:markoschandras:sysinstall
- Update to 2.26.1
  * zypper-minimal: Don't get confused by etc/resolv.conf symlink
  * simple-init: add configurable RA timeout with network-manager
  * update gentoo systemd profile to 17.1 from 17.0
  * block-device-efi : expand disk size calculation
  * Don't show all elements found
  * dracut-regenerate: catch failures and exit code
  * Fixes packages for arm64 bootloader
  * Fixes DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE matching when empty
  * Fix the pypi element for multiple mirror URLs
  * Stop regex warning
  * Create /etc/machine-id for RHEL images
  * fix comments / spelling errors in gentoo element
  * support alternate portage directories
  * journal-to-console: element to send systemd journal to console
  * update version of open-iscsi that is installed on musl
  * Cleanup: remove useless statement

OBS-URL: https://build.opensuse.org/request/show/725213
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=54
2019-08-22 08:24:08 +00:00
dfb6df06d0 Accepting request 715642 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/715642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=25
2019-07-22 10:19:37 +00:00
Tomáš Chvátal
ba51256fc6 Accepting request 715466 from home:markoschandras:sysinstall
- Update to 2.25.0
  * Only enable dbus-daemon on fedora-29
  * Set router solicitation delay with using NM
  * [RHEL-8] Set _clear_old_files=0 in install-pip element
  * disable autounmask for emerge
  * ironic-agent: Use targetcli & python3-devel on rhel8
  * Mailing lists change openstack-dev to openstack-discuss
  * install gnupg2 by default in debian-minimal
  * set default sources conf for buster as it now has a release
  * Enable nodepool testing for opensuse 15.1
  * Replace nodepool func jobs
  * Move existing Zuul project config to projects.yaml
  * Move Zuul config in-repo
  * Add DIB_UBUNTU_KERNEL to ubuntu-minimal
  * Sync Sphinx requirement
  * Update test coverage for openSUSE/-minimal to 15.1
  * Remove the rhel 8 check for xfs
  * debootstrap: make default network interface names configurable
  * Move pypi to dib-python
  * ironic-agent: install mdadm on the ramdisk
  * Use architecture-specific grub2 RPMs on RHEL8
  * Increase size of EFI system partition (again)
  * bindep: exclude zypper from debian-stretch
  * Makes image caching more resilient
  * fail early when lates build information can not be fetched
  * Deprecate rhel7 in favor of rhel
  * Add version-less RHEL element for RHEL7 and RHEL8
  * allow the use of non-bzip compressed stages for building gentoo
  * Replace git.openstack.org URLs with opendev.org URLs
  * Use megabyte granularity for image extra space

OBS-URL: https://build.opensuse.org/request/show/715466
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=52
2019-07-16 10:54:45 +00:00
6c09a337f9 Accepting request 704183 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=24
2019-05-22 09:14:31 +00:00
Tomáš Chvátal
7a1996bbdd Accepting request 703278 from home:jesusaur:branches:devel:languages:python
- Upgrade to 2.22.0
  * Only enable dbus-daemon for fedora-29 and below
  * Switch simple-init to support python3
  * openssh-server: harden sshd config
  * Support defining the free space in the image
  * Allow specification of filesystem journal size
  * Document the various global filesystem options
  * Constraint networkx to <2.3 for Python 2
  * Fix Fedora aarch64 image location
  * debian-minimal buster support
  * Also use selinuxenabled to check selinux status

OBS-URL: https://build.opensuse.org/request/show/703278
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=50
2019-05-20 09:19:42 +00:00
d5da04e905 Accepting request 693800 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/693800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=23
2019-04-14 10:23:17 +00:00
Tomáš Chvátal
3302995681 Accepting request 693769 from home:markoschandras:sysinstall
- Version bump to 2.21.0
  * Minor clarifications in centos7 element docs
  * Unmount internal mounts on finalise errors
  * Add DIB_APT_MINIMAL_CREATE_INTERFACES toggle
  * [lvm] Add Ubuntu bionic as supported distro

OBS-URL: https://build.opensuse.org/request/show/693769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=48
2019-04-12 19:24:33 +00:00
ad529561c5 Accepting request 686317 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/686317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=22
2019-03-20 12:19:41 +00:00
Tomáš Chvátal
b8ccd9d055 Accepting request 686257 from home:jayvdb:flake8
- Relax egg-info requirement flake8 >=2.5.4,<2.6.0 which is
  incompatible with available flake8 3.x

OBS-URL: https://build.opensuse.org/request/show/686257
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=46
2019-03-19 08:31:22 +00:00
Stephan Kulow
aefe514835 Accepting request 682594 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=21
2019-03-10 08:36:46 +00:00
Tomáš Chvátal
5f6163ef26 Accepting request 682520 from home:markoschandras:sysinstall
- Version bump to 2.20.3
  * Update gentoo-releng gpg key
  * Fix opensuse 42.3 pip-and-virtualenv
  * Keep git after ironic-agent post
  * set rhel minor release
  * update spelling errors

OBS-URL: https://build.opensuse.org/request/show/682520
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=44
2019-03-07 16:39:49 +00:00
d66880c049 Accepting request 676958 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=20
2019-02-27 14:05:46 +00:00
Tomáš Chvátal
2c76fdabbd Accepting request 676537 from home:markoschandras:sysinstall
- Version bump to 2.20.1
  * pip-and-virtualenv: handle centos image-based builds
  * pip-and-virtualenv : only remove system files on centos
  * Enable dbus-broker for Fedora 29
  * fix systemd import-tar for gentoo
  * Add python3-setuptools to bindep.txt for Fedora
  * support cracklib in pam for Gentoo's musl profile
  * Make sure $TMP_BUILD_DIR/mnt is owned by root
  * change to python36 for gentoo
  * source-repositories: Replace documentation http with https links
  * Delete the duplicate words in  50-zipl
  * Change phase to check for dracut-regenerate in iscsi-boot
  * Add policycoreutils-python-utils to bindep
  * Use template for lower-constraints
  * simple-init: allow for NetworkManager support
  * package-installs: provide for skip from env var
  * Add an element to configure iBFT network interfaces
  * move selinux-permissive configure to pre-install phase
  * Update to Fedora 29
  * Increase size of EFI system partition

OBS-URL: https://build.opensuse.org/request/show/676537
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=42
2019-02-18 08:50:02 +00:00
85e340afce Accepting request 646589 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/646589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=19
2018-11-08 08:48:39 +00:00
08b2540d2b Accepting request 646577 from home:markoschandras:sysinstall
- Version bump to 2.18.0
  * Add ubuntu-systemd-container operating-system element
  * Turn on quiet mode when logfile specified
  * Fix epel repo rewrite, add to testing
  * Add a post-root.d phase
  * Fix DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE regex typo
  * Add support for Fedora 28, remove EOL Fedora 26
  * ubuntu: Add options to ignore mirror components and use insecure repos
  * simplify overlay logic for Gentoo
  * simplify python3.6 selection on gentoo
  * Turn down pkg-map and hook copy tracing output
  * enable caching for gentoo builds
  * Add a pre-finalise.d phase
  * Minor documentation updates
  * Allow debootstrap to cleanup without a kernel
  * Fail build due to missing kauditd only when SELinux is enabled
  * Fix DIB ubuntu-minimal running on bionic (18.04)
  * ubuntu-common: Update default DIB_RELEASE to bionic
  * Move common ubuntu environment setting to ubuntu-common element
  * allow building non-gentoo images on gentoo hosts

OBS-URL: https://build.opensuse.org/request/show/646577
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=40
2018-11-06 09:18:50 +00:00
eb18d26550 Accepting request 635709 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/635709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=18
2018-09-18 09:43:21 +00:00
6eda34ea9b Accepting request 635708 from home:markoschandras:sysinstall
- Version bump to 2.17.0
  * Only append DIB_BOOTLOADER_DEFAULT_CMDLINE to default grub entry
  * Fix CentOS image build failure when dib runs on system where audit disabled
  * Fix bootloader packages for aarch64
  * Install ca-certificate with redhat-common
  * Add netcat to redhat-common map-packages
  * Only detach device if all partitions have been cleaned
  * Move LVM cleanup phase into cleanup
  * Add DIB element to blacklist nouveau
  * modprobe DIB_MODPROBE_BLACKLIST should be optional
  * cache-url requires curl
  * Fix for proper LVM support
  * Call kpartx remove in umount, not cleanup
  * block-device lvm: fix umount phase
  * Don't quote names with sgdisk
  * better handle existing keywords files/directories
  * IPA requires iptables
  * Install sudo on Gentoo images by deault

OBS-URL: https://build.opensuse.org/request/show/635708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=38
2018-09-14 09:29:09 +00:00
245f015ab5 Accepting request 624031 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/624031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=17
2018-07-21 08:24:53 +00:00
aae6daab03 Accepting request 623931 from home:markoschandras:sysinstall
- Version bump to 2.16.0
  * Update pylint to 1.7.6, uncap networkx
  * Add expected semicolons for dhclient.conf
  * Add keyring if supplied
  * Add new modprobe element
  * Add iscsi-boot element for CentOS images
  * Fix /etc/network/interfaces file contents
  * Convert labels to upper case
  * Fix bootloader for efi on rhel systems
  * Don't run setfiles on /boot/efi
  * Add iscsi-boot element
  * Fix bootloader packages for rhel
  * Don't install zypper on bionic
  * Rename output log files
  * Save and close stdout on exit
  * Reduce path length in PS4 for debug
  * Use surrogateescape with outfilter.py
  * Fix encoding issue during processing output
- Package improvements
  * convert to python3
  * Improve description
  * spec-cleaner fixes

OBS-URL: https://build.opensuse.org/request/show/623931
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=36
2018-07-19 11:04:57 +00:00
801cca4124 Accepting request 616235 from devel:languages:python
- Version bump to 2.15.1 (bsc#1097115)
  * elements: pip-and-virtualenv: Handle openSUSE Leap 15
  * Allow to rebuild arbitrary images
  * Replace the ubuntu-minimal trusty test with a bionic one
  * Remove non-maintained ubuntu-core element
  * elements: zypper-minimal: Add support for openSUSE Leap 15.X
  * Add Ubuntu 18.04 support
  * Remove duplicate GRUB command line entry
  * rpm-distro: set the contentdir yum var
  * Trivial: update url to new url
  * Fixes add-apt-keys in dpkg element
  * Add pip cache cleanup to pip-and-virtualenv
  * pip-and-virtualenv: fix install-pip when centos-release-openstack is enabled
  * Stop using slave_scripts/install-distro-packages.sh

OBS-URL: https://build.opensuse.org/request/show/616235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=16
2018-06-19 09:55:53 +00:00
Markos Chandras
d7d0e54b71 - Version bump to 2.15.1 (bsc#1097115)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=34
2018-06-12 07:22:02 +00:00
673373922b Accepting request 614938 from home:markoschandras:sysinstall
- Version bump to 2.15.1
  * elements: pip-and-virtualenv: Handle openSUSE Leap 15
  * Allow to rebuild arbitrary images
  * Replace the ubuntu-minimal trusty test with a bionic one
  * Remove non-maintained ubuntu-core element
  * elements: zypper-minimal: Add support for openSUSE Leap 15.X
  * Add Ubuntu 18.04 support
  * Remove duplicate GRUB command line entry
  * rpm-distro: set the contentdir yum var
  * Trivial: update url to new url
  * Fixes add-apt-keys in dpkg element
  * Add pip cache cleanup to pip-and-virtualenv
  * pip-and-virtualenv: fix install-pip when centos-release-openstack is enabled
  * Stop using slave_scripts/install-distro-packages.sh

OBS-URL: https://build.opensuse.org/request/show/614938
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=33
2018-06-07 17:44:25 +00:00
e223c2c06c Accepting request 602548 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/602548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=15
2018-04-30 20:58:38 +00:00
Tomáš Chvátal
ff4e02efa7 Accepting request 602517 from home:markoschandras:sysinstall
- Version bump to 2.14.1
  * Fix epel element for centos-minimal
  * Revert "debootstrap: Call update-initramfs explicitly"
  * Remove installed packages before pip install
  * Don't only install python3-virtualenv
  * Don't use -e to test for what might be broken symlink
  * add lower-constraints job
  * Set the dhclient timeout to match DIB_DHCP_TIMEOUT
  * Formalise saving of /etc/resolv.conf
  * Restore tracing on exit points of block_device_create_config_file
  * delete unused module
  * debootstrap: Call update-initramfs explicitly
  * Change the GENTOO_PORTAGE_CLEANUP variable default
  * Fix element-provides in debian element
  * Revert "Remove tripleo jobs"
  * enable systemd profile for Gentoo
  * install sudo in the devuser element
  * Fix default partition type
  * Remove tripleo jobs
  * remove portage git directory
  * Updated from global requirements
  * Updated from global requirements
  * proliant-tools: add net-tools package to support hpsum utility
  * Make the build reproducible
  * Updated from global requirements
  * secondary architectures use different url
  * Fix for rhel7 iso image creation.
  * Fix for passing user defined value for satellite cert for rhel-common.
  * arm64: use HWE kernel and fix console
  * Choose appropriate bootloader for block-device

OBS-URL: https://build.opensuse.org/request/show/602517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=31
2018-04-30 13:14:36 +00:00
0322c7d585 Accepting request 584983 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/584983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=14
2018-03-11 14:24:59 +00:00
Tomáš Chvátal
2bf7884ab0 Accepting request 584825 from home:markoschandras:sysinstall
- Version bump to 2.11.0
  * Install systemd earlier for Ubuntu Bionic
  * update gentoo vars for new profile and python
  * Set default label for XFS disks
  * Don't install dmidecode on Fedora ppc64le
  * Updated from global requirements
  * Add support for Fedora 27, remove EOL Fedora 25
  * Don't fstrim vfat partitions
  * Remove RH1 check OVB jobs from configuration
  * upgrade pip before using -c option
  * Correct link address
  * Updated from global requirements
  * Add SUSE Mapping
  * Revert "Dont install python-pip for py3k"
  * Adding mapping for SUSE package
  * Check source-repository-* files for trailing newline
  * ironic-agent: don't remove make
  * Remove architecture rules on lshw dependency in ironic-agent
  * zypper: fix package removal
  * Avoid tox_install.sh for constraints support
  * Fix wrong epel-release-7* package URL
  * Add the groundwork for musl profile support
  * Enable support for Gentoo overlays
  * Pre-install curl
  * Install fedora-gpg-keys for F27
  * Make preinstall.d more deterministic
  * Use EPEL for debootstrap on centos
  * Fix /dev/pts mount options handling
  * Make python changes more reliable
  * Remove setting of version/release from releasenotes

OBS-URL: https://build.opensuse.org/request/show/584825
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=29
2018-03-09 11:22:02 +00:00
5b0aa592d6 Accepting request 548359 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/548359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=13
2017-12-06 07:59:12 +00:00
Tomáš Chvátal
17243fcf08 Accepting request 548112 from home:markoschandras:sysinstall
- Version bump to 2.9.0
  * Add initramfs-tools for ubuntu-minimal
  * Create /etc/machine-id for fedora
  * Use latest Fedora .qcow URL
  * Updated from global requirements
  * Add missing package dependency for yaml
  * Mention the need of dracut-regenerate element
  * Move the ordering of the dracut regenerate command
  * Fix cylical systemd config for dhcp-all-interfaces
  * LVM support for dib-block-device
  * Increase timeout for removal
  * Add netbase to ensure /etc/protocols is placed for debian
  * Add kpartx as a requirement to build images
  * Clear up debian element documentation
  * Bump fedora/fedora-minimal DIB_RELEASE 26
  * Allow users to specify partition type in the MBR PTE
- Fix env-script-interpreter rpmlint warnings.

OBS-URL: https://build.opensuse.org/request/show/548112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=27
2017-12-04 21:27:33 +00:00
304bfd8487 Accepting request 516762 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/516762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=12
2017-08-24 16:51:57 +00:00
ca418df019 Accepting request 516753 from home:markoschandras:sysinstall
- Version bump to 2.8.0
  * Move selinux packages to redhat-common
  * Use SELinuxfs to check selinux status
  * Switch openSUSE to 42.3 by default

OBS-URL: https://build.opensuse.org/request/show/516753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=25
2017-08-14 07:56:08 +00:00
9ce8122846 Accepting request 512627 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/512627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=11
2017-08-10 12:04:12 +00:00
Markos Chandras
291f245e21 Accepting request 512626 from home:markoschandras:sysinstall
- Version bump to 2.7.1
  * elements: zypper-minimal: Install tar package
  * zypper: Clean caches and don't cache packages locally

OBS-URL: https://build.opensuse.org/request/show/512626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=23
2017-07-26 09:28:40 +00:00
36290ff50f Accepting request 512230 from home:markoschandras:sysinstall
- Version bump to 2.7.0 
  * Move setfiles to outside chroot with runcon
  * doc: supported_distros: Add openSUSE Leap 42.2/3 and Tumbleweed
  * Add -m flag to setfiles for Fedora 26
  * yum-minimal: pre-install coreutils
  * Force install during pip-and-virtualenv
  * Fix latest-limit command line
  * opensuse-minimal: install glibc-locale
  * elements: openstack-ci-mirrors: Use openSUSE mirrors for gating jobs
  * Remove DIB_[DISTRO]_DISTRIBUTION_MIRROR
  * doc: Switch from oslosphinx to openstackdocstheme
  * The correct option for label name in fat and vfat is '-n'
  * zypper-minimal: No point in preserving the environment here
  * Remove additional Bumblebee repository for opensuse element
  * Enable console during kernel boot on Power
  * fix readme.rst to reflect correct environment variable
  * Add symlink test for resolv.conf restore
  * pip-and-virtualenv: Install python3 on openSUSE
  * Support for Cloud Images on ppc64le for rhel7 and centos7
  * bindep.txt: Exclude gnupg2 package on openSUSE
  * Avoid hanging endlessly on unreachable cache urls
  * elements: pip-and-virtualenv: Use common packages for openSUSE
  * Remove mirror create
  * Remove centos and rhel elements
  * Updated from global requirements
  * dib-lint: Ignore editor temp files for linting run
  * Fix mkfs use wrong label option for vfat
  * Use the dib python to do cleanup
  * Replace architecture-emulation-binaries with qemu-debootstrap

OBS-URL: https://build.opensuse.org/request/show/512230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=22
2017-07-24 18:54:36 +00:00
617c611ae3 Accepting request 510261 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/510261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=10
2017-07-17 07:11:34 +00:00
Markos Chandras
e893f9b375 Accepting request 510260 from home:markoschandras:sysinstall
- Version bump to 2.6.1
  * On suse the python2 dev package is python-devel        
  * Move ironic-agent test to fedora-minimal               
  * Start at using CI mirrors for fedora/centos            
  * Use local mirror for ubuntu-minimal jobs               
  * Move apt-sources to ubuntu-minimal / move debian to skip list                                                      
  * Sync after writing partition table                     
  * Install systemd earlier for Stretch
  * Fix mkfs failure when loop device is not ready

OBS-URL: https://build.opensuse.org/request/show/510260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=20
2017-07-14 11:18:12 +00:00
91573151f4 Accepting request 503781 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/503781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=9
2017-06-16 08:54:28 +00:00
Markos Chandras
9e76f4938e Accepting request 503358 from home:markoschandras:sysinstall
- Version bump to 2.6.0
  * PPC bootloader; install to boot partition
  * Pass all blockdevices to bootloader
  * Move global mount tracking into state
  * Use global state to check for duplicate fs labels
  * Remove 'state' argument from later cmd_* calls
  * Use picked nodes for later cmd_* calls
  * Don't make image & loopdev functions static
  * Add env var to dump config graph
  * Move ppc block-device default to right $ARCH
  * Update tracing in block_device_create_config_file
  * Pad state dump
  * Adjust package mapping for SUSE family
  * Drop support for Ubuntu precise
  * Adjust package installation for openSUSE
  * Refactor mount-point sorting
  * Remove dracut-network element
  * Remove ccache
  * Test openSUSE 42.2/42.3 image builds
  * Add state object, rename "results", add unit tests
  * allow uninstalls to fail on gentoo
  * Refactor: use lazy logging
  * drop deprecated map-services/packages from zypper element
  * dhcp-all-interfaces.sh - Add support for InfiniBand interface DHCP

OBS-URL: https://build.opensuse.org/request/show/503358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=18
2017-06-15 09:40:42 +00:00
14c95209cd Accepting request 503202 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/503202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=8
2017-06-13 14:09:12 +00:00
Markos Chandras
61f71725de Accepting request 502895 from home:markoschandras:sysinstall
- Version bump 2.5.0
  * Disable recommended package installations for zypper-minimal
  * Use networkx for digraph
  * Various internal fixes
  * Adding unit testing for configuration
  * Produce API documentation

OBS-URL: https://build.opensuse.org/request/show/502895
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=16
2017-06-12 14:22:38 +00:00
94ff8096ad Accepting request 498609 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/498609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=7
2017-05-27 11:19:33 +00:00
Markos Chandras
878db81ee0 Accepting request 498241 from home:markoschandras:sysinstall
- Version bump to 2.4.1
  * Set manifest permissions in the image
  * Move parts of Partition creation into object
  * Split partition into it's own file
  * Move exception to it's own file (again)
  * Add weights to digraph
  * Switch debian to deb.debian.org
  * Add dracut-regenerate elements
  * Set manifests to mode 600 and owner root
  * Only unmount directories that are mounted
  * Apply setfiles on all mountpoints

OBS-URL: https://build.opensuse.org/request/show/498241
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=14
2017-05-27 08:23:35 +00:00
60d41f9d4f Accepting request 495758 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/495758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=6
2017-05-18 18:51:28 +00:00
Markos Chandras
25eb53454d Accepting request 495684 from home:markoschandras:sysinstall
- Version bump to 2.4.0
  * Refactor: block-device filesystem creation, mount and fstab
  * Take --params from environment
  * Refactor documentation on image creation
  * Add a test to validate we can build debian vms
  * Introduce exec_sudo command
  * Fix py3 error in block-device
  * Refactor block-device base functions.
  * Add bzip2 to test install
  * Add refactor of tree-like vs graph
  * Set LC_ALL in disk-image-create
  * Improve documentation for image creation
  * Refactor block_device: isolate the getval call
  * Refactor block_device: passing command line parameters
  * Make Gentoo package updates work more often
  * Turn off strict_id mode for Ec2 datasource
  * Clean out apt index caches at end of image build

OBS-URL: https://build.opensuse.org/request/show/495684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=12
2017-05-17 22:01:11 +00:00
1536e72fb8 Accepting request 491209 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/491209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=5
2017-05-17 15:18:09 +00:00
Markos Chandras
f041ecff60 Accepting request 491207 from home:markoschandras:sysinstall
- Update to version 2.3.3
  * Add yum-utils as EPEL dependency
  * Skip python3-virtualenv on <= trusty
  * pip-and-virtualenv : install python2 & 3, and default to 2
  * Install pip with python interpreter
  * Move do_extra_package_install to run in install phase
  * Updated from global requirements
  * Unify and fix doc of several Debian and Ubuntu elements
  * Fix package-installs-v2 output
  * Basic logging for package-installs-squash
  * Use DIB_PYTHON_EXEC to run commands
  * Fix typo in pip-and-virtualenv
  * Ignore missing path in unmount_dir
  * Run dib-run-parts out of /tmp
  * Don't provide dib-run-parts
  * Add flag to disable EPEL
  * Fix code-block in README of rhel7 element
  * Fix opensuse-minimal element on non-SUSE hosts
  * Use stevedore for plugin config of block device
  * Adding aarch64 support for CentOS7
  * Have simple-init enable network.service
  * Use correct Ubuntu distro url on non-x86 arches
  * Typo fix: curent => current
  * functests: skip qcow2 generically but add specific test
  * Add default PPC block-device layout
  * Capture output in _exec_sudo
  * Fix typo in CMDLINE env var for bootloader
  * Allow ELEMENTS_DIR to be configurable
  * Use sphinx warning-is-error
  * Updated from global requirements

OBS-URL: https://build.opensuse.org/request/show/491207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=10
2017-04-26 08:22:47 +00:00
56600c793e Accepting request 459653 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/459653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=4
2017-02-24 23:53:13 +00:00
Markos Chandras
97d567567d Accepting request 458648 from home:markoschandras:sysinstall
- Update to version 1.27.0
  * Add DIB_IPA_COMPRESS_CMD option
  * ironic-agent: use /sbin for modprobe
  * move post-install.d to finalize.d
  * Bump fedora release to 25
  * Fix dhcp-all-interfaces for ubuntu-minimal xenial
  * Don't set base element path in run_functests.sh
  * Use %i instead of %I in dhcp-interface@.service
  * Remove hardcoded components
  * Set grub device in /etc/default/grub
  * Replace yaml.load() with yaml.safe_load()
  * Unify tidy up logs in lib/img-functions
  * Also check bin/ for tabs
  * Handle failure of carrier check in dhcp-all-interfaces.sh
  * Make DHCP timeout configurable
  * Run dhcp-interface@.service after network.target
  * update pkg-map entries for python3
  * dib-lint: python3 compatibility fixes
  * debootstrap: avoid duplicate network configuration
  * Remove yum chroot caching
  * Speed up chroot checking loop
  * Allow disto-specific mirror settings
  * Update hpssacli to ssacli in proliant-tools element

OBS-URL: https://build.opensuse.org/request/show/458648
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=8
2017-02-22 11:13:34 +00:00
bcd0c5109a Accepting request 448460 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/448460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=3
2017-01-10 09:45:32 +00:00
bd972f29ae Accepting request 447425 from home:markoschandras:sysinstall
- Update to version 1.26.1
  * Generate ssh-hostkeys on boot for ironic agent
  * add option to configure cloud-init to allow password authentication
  * elements: Drop unneeded DIB_INIT_SYSTEM usage
  * Replace six.iteritems() with .items()
  * Catch errors in DIB_INIT_SYSTEM export
  * DIB element to support cinder local attach/detach functionality
  * elements: Drop executable bits from environment files
  * Update sysctl-write-value to do conflict checking
  * Put MKFS_OPTS after filesystem type
  * Make dib-python use the default python for distro
  * Don't set the executable bit on dhcp-interface@.service
  * Move pip-and-virtualenv source install to 10-
  * Add install-types as pip-and-virtualenv dep
  * Allow package-installs to parse DIB_PYTHON_VERSION
  * Fix pip-and-virtualenv to work with python3
  * elements: dib-python: Add python2 as the default version for openSUSE
  * Support sysv init system used by Debian Wheezy
  * Pip install as 10- incompatible with 05-heat-cfntools
  * Recreate initramfs within loopback image
  * Fix bootloader element on ppc
  * Add ubuntu-precise support to dib-python
  * FIx the DIB_CLOUD_INIT_ALLOW_SSH_PWAUTH variable name in README file
  * Switch to openSUSE Leap 42.2 release by default
  * Install dracut-generic-config package
  * Add output image format tgz support
  * Add squashfs output image format
  * set default DIB_PYTHON_VERSION=2 for rhel7
  * Set grub timeout default
  * Dont run with VIRTUAL_ENV set

OBS-URL: https://build.opensuse.org/request/show/447425
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=6
2017-01-02 09:21:20 +00:00
63fec53639 Accepting request 444072 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/444072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=2
2016-12-06 13:27:41 +00:00
Markos Chandras
4d6a7dbbf0 Accepting request 443936 from home:markoschandras:sysinstall
- Update to version 1.24.0
  * elements: pip-and-virtualenv: Add python-xml dependency
  * Trace package install in package-installs-v2
  * elements: zypper-minimal: Add ca-certificates-mozilla package
  * Improve checksum performance for images
  * Perform package install outside of debootstrap
  * Remove obsolete patches for the time being
    - 0001-lib-Drop-shebang-from-library-scripts.patch
    - 0002-elements-Drop-executable-bits-from-environment-files.patch

OBS-URL: https://build.opensuse.org/request/show/443936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=4
2016-12-06 08:58:14 +00:00
1a98d06393 Accepting request 435901 from devel:languages:python
New package

OBS-URL: https://build.opensuse.org/request/show/435901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diskimage-builder?expand=0&rev=1
2016-10-31 08:54:40 +00:00
4 changed files with 13 additions and 165 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e58087ea11ca40e37d009d2d660d9598ed653dee7420f76161776c2e789a205a
size 515778

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f8766a3c3cc74dd5d226bb2f19ae4dd98d2dc146d821215637d1089ab26571b
size 543401

View File

@@ -1,152 +1,3 @@
-------------------------------------------------------------------
Thu May 8 12:06:24 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 3.37.0:
- Supports Gentoo profile 23.0 and removes support for the
nonworking 17.1 and 17.0 profiles.
- Gentoo element updated to avoid using testing (~arch) packages.
- Gentoo element now uses upstream binary package host by default.
- Fixes an issue where an image using the manifest element could
fail to build when using a non-root user. See bug 2069956.
- Fixed an issue where the growroot element on openrc init systems
would not function.
- Fixed an issue where the devuser element was unable to grant sudo
capabilities on gentoo images.
- Fixed an issue in Gentoo implmentation for install-packages
element where build time would grow linearly with each additional
package removal. Now, all removed packages are deselected and
removed in a single transaction.
- 3.36.0:
- The vm element is no longer included dependency of the
rocky-container, almalinux-container and fedora-container
elements. You will need to update your build configuration to
include this element if you still wish to create partitioned disk
based images.
- 3.34.0:
- Adds the ability for diskimage-builder to create images with
different block sizes. By default, this remains at the default of
512 bytes, but some newer devices require 4096 bytes to be used,
which impacts the overall layout rendering 512 byte images
incompatible. This setting can also be asserted and overridden
using the DIB_BLOCK_SIZE environment variable, but alternatively
exists as a new block_size parameter for local_loop section in
block device YAML documents.
- A new element autoupdates is added to DIB. This element, with
proper configuration, will enable and configure cloud images to
have a system that automatically updates the image, from the
upstream binaries. To this end, DIB_DEB_UPDATES_CONF or
DIB_YUM_UPDATES_CONF must be set during build time.
- Adds the ability to disable serial console logging from being
setup in the bootloader element by setting the
DIB_BOOTLOADER_USE_SERIAL_CONSOLE environment variable to False.
- Adds logic to permit the removal of consoles when the bootloader
element when no configuration has been expressed which requests
it, and serial console is disabled. This involves
DIB_BOOTLOADER_VIRTUAL_TERMINAL being set to an empty string and
DIB_BOOTLOADER_USE_SERIAL_CONSOLE is set to False.
- The new element replace-partition has been added which allows a
diskimage-builder built image to be used as the base image so that
it can be copied to a new partition layout. This allows the
content to be copied from one image to a new one without making
any package changes. The element replace-partition-redhat has a
documented example for redhat family images.
- It is no longer possible to build images using CentOS 7 or RHEL 7
as a base image as these reached EOL on 30th June 2024. The centos
and centos-minimal elements now default to a DIB_RELEASE value of
9-stream.
- DIB_GRUB_TIMEOUT defaulting to 1 second, GRUB_TIMEOUT was
duplicated in the /etc/defaults/grub the original intension of
DIB_GRUB_TIMEOUT default was to match the typical image default
which is one 1 second instead of 5 second today.
- The bootloader element now strips prior explicit console settings
from the /etc/default/grub file, in order to prevent accidential
re-introduction of prior settings when grub configuration is
manually updated later.
- The default release for the centos element is now “9-stream”
instead of “8”. This is a result of Centos8 having reached End of
Life.
- The autoupdates element has only been tested in Rocky and Ubuntu
images. In addition, the element does not check the validity of
the configuration files in any way.
- 3.33.0:
- Fixes an issue where if an operator set a cloud-init data source
to ConfigDrive, the host might not properly configure as automatic
metadata collection still attempts to operate. We now disable that
by default, when ConfigDrive is passed as an argument.
- 3.32.0:
- A new fail2ban element has been added which has has been tested on
Debian and Rocky images. The usage of a new variable
DIB_FAIL2BAN_CONF is now mandatory during built time.
- The bootloader element will explicitly set the timeout style to
hidden to hide the menu. Set DIB_GRUB_TIMEOUT_STYLE to menu to
display the menu and then wait for the timeout expire before
booting the default entry.
- Use of the simple-init element now removes cloud-init, in order to
prevent the two tools from clashing when booting a workload.
- Added a DIB_DEBIAN_CLOUD_INIT_HELPER variable that controls
whether debian element will attempt to pre-create required users
and sudoers file for the default cloud-init user. This should not
be needed for any modern Debian distro.
- Value of DIB_DEBIAN_ALT_INIT_PACKAGE has been switched to
systemd-sysv for Debian releases older then Jessie. If you still
need to build a version of Debian that is relying on sysvinit
please override the DIB_DEBIAN_ALT_INIT_PACKAGE variable for that.
- 3.31.0:
- The usage of the DIB_CHECKSUM variable is extended. Now to be more
specific the variable can be set to the sha256 or md5 value to
generate only one checksum file. There also can be provided a
comma-separated list of the values, but only sha256 and md5
supported. For backward compatibility using DIB_CHECKSUM=1 or
option --checksum in the command line still can be used to
generate all supported checksums.
- The deploy-baremetal, deploy-kexec, deploy-tgtadm, and
deploy-targetcli elements are deprecated and will be removed in a
future release of diskimage-builder. The origins of the elemenets
largely dates back to the early efforts to support baremetal
deployment, and the methods have been long ago moved away from.
- As NetworkManager cant automatically create default connection
profiles for InfiniBand interfaces, we are adding
nm-dhcp-ib-interfaces element to install
NetworkManager-system-connections-infiniband.nmconnection to
NetworkManager to create a wildcard InfiniBand connection profile.
- 3.30.0:
- Added environment variable REG_SAT_REPO to the rhel-common
element. Sets the repository label for Satellite client tools.
- The bootloader element now has variable
DIB_BOOTLOADER_VIRTUAL_TERMINAL to customize or suppress the
console=tty0 kernel argument.
- The Satellite Client reposotories replaces the Satellite Tools
repository since Satellite 6.11. The default repo labels in the
rhel-common element has been updated to reflect this change. See
Red Hat Satellite 6.11 Release Notes.
- To enable users that need to use the legacy Satellite Tools
repository, the REG_SAT_REPO environment variable has been added
to enable manual override of the Satellite repository.
- 3.28.0:
- Adds a fips element which attempts to enable FIPS mode
configuration into the disk image being created.
- A new command diskimage-builder is now provided (also aliased to
dib). It provides a YAML file based interface to disk-image-create
and ramdisk-image-create. All arguments can be specified as yaml
dictionary entries, along with environment variable overrides
which are applied over the provided environment.
- Adds swap as a valid “filesystem” for block devices
- Fixed the ubuntu-minimal target to also run autoremove at the end
of an image build.
- Fixes a possible case with a FIPS enabled disk image where the
cryptographic policies may be applied for enforcement of FIPS
mode, but the underlying kernel command line may be missing. This
in particular was discovered when testing on Rocky Linux. We now
test, and add the FIPS kernel command line flag if it is otherwise
enabled.
- Fixes the GRUB2 bootloader kernel command line where a prior boot
parameter could cause issues with bootloader configuration when an
image is rebuilt and the bootloader element is utilized. We now
remove any prior boot parameter in /etc/default/grub when
executing the bootloader element, and then assert a valid entry
boot parameter if a /boot partition is defined as part of the
image build.
-------------------------------------------------------------------
Sat Jan 28 19:45:48 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package diskimage-builder
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
# are only ever run inside the disk image build chroot).
%global __requires_exclude_from ^%{python3_sitelib}/diskimage_builder/elements/.*$
Name: diskimage-builder
Version: 3.37.0
Version: 3.26.0
Release: 0
Summary: Image Building Tools for OpenStack
License: Apache-2.0
@@ -33,24 +33,21 @@ BuildRequires: findutils
BuildRequires: python-rpm-macros
BuildRequires: python3-PyYAML >= 3.12
BuildRequires: python3-fixtures
BuildRequires: python3-jsonschema
BuildRequires: python3-networkx >= 1.10
BuildRequires: python3-oslotest
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-stestr
BuildRequires: python3-stevedore >= 1.20.0
BuildRequires: python3-testrepository
BuildRequires: python3-testtools
BuildRequires: python3-wheel
BuildRequires: sed
# No stuff in python_sitelib, thus autoreqprov won't work:
Requires: kpartx
Requires: python3-Babel >= 2.3.4
Requires: python3-PyYAML >= 3.12
Requires: python3-jsonschema
Requires: python3-networkx >= 1.10
Requires: python3-six >= 1.10.0
Requires: python3-stevedore >= 1.20.0
Requires: qemu-tools
Requires: sudo
@@ -72,28 +69,28 @@ for even further customization.
# Fix env-script-interpreter rpmlint warning
find diskimage_builder/elements -type f -perm /a+x \
-exec sh -c "sed -E -i s@^#\!%{_bindir}/env[[:space:]]+python@#\!%{_bindir}/python@ {}" \;
# https://bugs.launchpad.net/diskimage-builder/+bug/1963630
sed -i 's:import mock:import unittest.mock as mock:' $(grep -rl 'import mock')
%build
%python3_pyproject_wheel
%python3_build
%install
%python3_pyproject_install
%python3_install
%py3_compile %{buildroot}
%fdupes %{buildroot}
%check
export PYTHON=%{_bindir}/python3
# Skip test_mount_comparator that's broken with python3
# https://bugs.launchpad.net/diskimage-builder/+bug/2110216
stestr run --exclude-regex "test_mount_comparator"
stestr run
%files
%doc ChangeLog README.rst AUTHORS
%license LICENSE
%{_bindir}/disk-image-create
%{_bindir}/diskimage-builder
%{_bindir}/dib-lint
%{_bindir}/ramdisk-image-create
%{python3_sitelib}/diskimage_builder/
%{python3_sitelib}/diskimage_builder*-info/
%{python3_sitelib}/diskimage_builder*.egg-info/
%changelog