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
7 changed files with 844 additions and 220 deletions

View File

@@ -1,85 +0,0 @@
From a61485fe0ccf31a8ef8fbcb115fa2b62002b4bff Mon Sep 17 00:00:00 2001
From: Markos Chandras <mchandras@suse.de>
Date: Mon, 17 Oct 2016 14:06:22 +0100
Subject: [PATCH 1/2] lib: Drop shebang from library scripts
All scripts in lib/* are meant to be sourced instead of executed
directly so drop the bash shebang.
Change-Id: I7b7e8fd390f5d57a558e092fe9548eacf6ce0bcf
---
lib/common-defaults | 1 -
lib/common-functions | 1 -
lib/die | 1 -
lib/img-defaults | 1 -
lib/img-functions | 1 -
lib/ramdisk-defaults | 1 -
lib/ramdisk-functions | 1 -
7 files changed, 7 deletions(-)
diff --git a/lib/common-defaults b/lib/common-defaults
index e047185..b846c6e 100644
--- a/lib/common-defaults
+++ b/lib/common-defaults
@@ -1,4 +1,3 @@
-#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
diff --git a/lib/common-functions b/lib/common-functions
index 2545258..8cccead 100644
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -1,4 +1,3 @@
-#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
diff --git a/lib/die b/lib/die
index e2dde98..a949cdf 100644
--- a/lib/die
+++ b/lib/die
@@ -1,4 +1,3 @@
-#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
diff --git a/lib/img-defaults b/lib/img-defaults
index 1bdf643..cf1893b 100644
--- a/lib/img-defaults
+++ b/lib/img-defaults
@@ -1,4 +1,3 @@
-#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
diff --git a/lib/img-functions b/lib/img-functions
index f64a95a..4a3c940 100644
--- a/lib/img-functions
+++ b/lib/img-functions
@@ -1,4 +1,3 @@
-#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
diff --git a/lib/ramdisk-defaults b/lib/ramdisk-defaults
index 2991ccb..13120f1 100644
--- a/lib/ramdisk-defaults
+++ b/lib/ramdisk-defaults
@@ -1,4 +1,3 @@
-#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# Copyright (c) 2012 NTT DOCOMO, INC.
#
diff --git a/lib/ramdisk-functions b/lib/ramdisk-functions
index 6797114..7d8c245 100644
--- a/lib/ramdisk-functions
+++ b/lib/ramdisk-functions
@@ -1,4 +1,3 @@
-#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# Copyright (c) 2012 NTT DOCOMO, INC.
#
--
2.10.1

View File

@@ -1,89 +0,0 @@
From c9de1ed8c750ad8e91e7d1608ed609665cc426af Mon Sep 17 00:00:00 2001
From: Markos Chandras <mchandras@suse.de>
Date: Mon, 17 Oct 2016 14:16:55 +0100
Subject: [PATCH 2/2] elements: Drop executable bits from environment files
Files in $element/environment.d are meant to be sourced, so drop
the executable bit. Moreover, drop the executable bit from a couple
of other scripts that are either meant to be sourced or simply because
they are configuration files.
Change-Id: I7f724dd9d409f4a835a136f12f48a84aa9acc41e
---
elements/centos/environment.d/00-bootloader.bash | 2 --
.../stable-build-succeeds/environment.d/10-set-distro.bash | 0
.../testing-build-succeeds/environment.d/10-set-distro.bash | 0
.../debian/test-elements/build-succeeds/environment.d/09-debian-stable | 0
elements/devuser/environment.d/50-devuser | 0
elements/dynamic-login/init-scripts/upstart/dynamic-login.conf | 0
elements/gentoo/environment.d/00-gentoo-envars.bash | 0
elements/manifests/environment.d/14-manifests | 1 -
elements/pip-cache/environment.d/10-pip-cache | 0
elements/ramdisk-base/extra-data.d/scripts/d/init-func | 0
elements/redhat-common/environment.d/50-redhat-common | 0
11 files changed, 3 deletions(-)
mode change 100755 => 100644 elements/centos/environment.d/00-bootloader.bash
mode change 100755 => 100644 elements/debian-minimal/test-elements/stable-build-succeeds/environment.d/10-set-distro.bash
mode change 100755 => 100644 elements/debian-minimal/test-elements/testing-build-succeeds/environment.d/10-set-distro.bash
mode change 100755 => 100644 elements/debian/test-elements/build-succeeds/environment.d/09-debian-stable
mode change 100755 => 100644 elements/devuser/environment.d/50-devuser
mode change 100755 => 100644 elements/dynamic-login/init-scripts/upstart/dynamic-login.conf
mode change 100755 => 100644 elements/gentoo/environment.d/00-gentoo-envars.bash
mode change 100755 => 100644 elements/manifests/environment.d/14-manifests
mode change 100755 => 100644 elements/pip-cache/environment.d/10-pip-cache
mode change 100755 => 100644 elements/ramdisk-base/extra-data.d/scripts/d/init-func
mode change 100755 => 100644 elements/redhat-common/environment.d/50-redhat-common
diff --git a/elements/centos/environment.d/00-bootloader.bash b/elements/centos/environment.d/00-bootloader.bash
old mode 100755
new mode 100644
index 6478bc9..0df9a01
--- a/elements/centos/environment.d/00-bootloader.bash
+++ b/elements/centos/environment.d/00-bootloader.bash
@@ -1,5 +1,3 @@
-#!/bin/bash
-
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
set -x
fi
diff --git a/elements/debian-minimal/test-elements/stable-build-succeeds/environment.d/10-set-distro.bash b/elements/debian-minimal/test-elements/stable-build-succeeds/environment.d/10-set-distro.bash
old mode 100755
new mode 100644
diff --git a/elements/debian-minimal/test-elements/testing-build-succeeds/environment.d/10-set-distro.bash b/elements/debian-minimal/test-elements/testing-build-succeeds/environment.d/10-set-distro.bash
old mode 100755
new mode 100644
diff --git a/elements/debian/test-elements/build-succeeds/environment.d/09-debian-stable b/elements/debian/test-elements/build-succeeds/environment.d/09-debian-stable
old mode 100755
new mode 100644
diff --git a/elements/devuser/environment.d/50-devuser b/elements/devuser/environment.d/50-devuser
old mode 100755
new mode 100644
diff --git a/elements/dynamic-login/init-scripts/upstart/dynamic-login.conf b/elements/dynamic-login/init-scripts/upstart/dynamic-login.conf
old mode 100755
new mode 100644
diff --git a/elements/gentoo/environment.d/00-gentoo-envars.bash b/elements/gentoo/environment.d/00-gentoo-envars.bash
old mode 100755
new mode 100644
diff --git a/elements/manifests/environment.d/14-manifests b/elements/manifests/environment.d/14-manifests
old mode 100755
new mode 100644
index c2ae96d..78aeeb7
--- a/elements/manifests/environment.d/14-manifests
+++ b/elements/manifests/environment.d/14-manifests
@@ -1,4 +1,3 @@
-#!/bin/bash
#
# Copyright 2014 Hewlett-Packard Development Company, L.P.
#
diff --git a/elements/pip-cache/environment.d/10-pip-cache b/elements/pip-cache/environment.d/10-pip-cache
old mode 100755
new mode 100644
diff --git a/elements/ramdisk-base/extra-data.d/scripts/d/init-func b/elements/ramdisk-base/extra-data.d/scripts/d/init-func
old mode 100755
new mode 100644
diff --git a/elements/redhat-common/environment.d/50-redhat-common b/elements/redhat-common/environment.d/50-redhat-common
old mode 100755
new mode 100644
--
2.10.1

View File

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

View File

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

View File

@@ -1,4 +1,6 @@
# /usr/local/bin/dib-python interpreter is only used inside
# the generated image so it's not something that affects the
# host or the package itself.
addFilter(".*wrong-script-interpreter.*/usr/share/diskimage-builder/elements/.*")
addFilter(".*wrong-script-interpreter.*/usr/lib/python3.*/site-packages/diskimage_builder/elements/.*")
# lib/* scripts are not meant to be used directly but rather be sourced by others.
addFilter(".*non-executable-script.*/usr/lib/python3.*/site-packages/diskimage_builder/lib/.*")

View File

@@ -1,3 +1,791 @@
-------------------------------------------------------------------
Sat Jan 28 19:45:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Wed Dec 7 22:07:16 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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
* Add a warning in satellite configuration
* Use plain tox jobs instead of openstack ones
* Stop using openstack upper constraints
* CentOS 9-stream : work around selinux permissions issue
* Revert "Remove py 3.6 support and update jobs"
* Drop tumbleweed job
* Remove py 3.6 support and update jobs
* Check and mount boot volume for data extraction with nouuid
* Fix openssl example command in dynamic-login
* Fix grub setup on Gentoo
* Adopted dkms element to work on Ubuntu Jammy and nvidia drivers
* Switch to the CentOS 9 IPA job
* Ensure cloud-init is configured to generated host keys
* Add Jammy functesting to dib
* Ensure passwd is installed on RH and derivatives
* Revert "Temporarily stop running OpenSUSE functtests"
* yum-minimal: workaround missing $releasedir variable
* Temporarily stop running OpenSUSE functtests
* Make centos reset-bls-entries behave the same as rhel
* Switch to release-notes-jobs-python3
* Revert "Fallback to persistent netifs names with systemd"
* Fix dhcp-all-interfaces on debuntu systems
* centos: avoid head pipe failure
* containerfile: update test to jammy
* Add a job to test building jammy
* Move reset-bls-entries to post-install
* Set machine-id to uninitialized to trigger first boot
* yum-minimal: clean up release package installs
* source-repositories : use explicit sudo/-C args when in REPO\_DEST
* Update gentoo python version to 3.9
* CentOS Stream 9 has EPEL now
* Add interpolation note for dynamic-login password
* Move grub-install to the end, and skip for partition images
* Use https for downloading ubuntu images
* containerfile: Add support for setting network driver
* Update fedora element testing to F35
* containerfile: add support for Docker
* Handle btrfs root subvolume for fedora extract-image
* Correctly create DIB\_ENV variable and dib\_environment file
* Revert "Revert "Detect boot and EFI partitions in extract-image""
-------------------------------------------------------------------
Fri Mar 4 07:19:58 UTC 2022 - pgajdos@suse.com
- version update to 3.19.1
lot of changes, see ChangeLog
-------------------------------------------------------------------
Sat Jan 15 18:48:02 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add python-rpm-macros dependency
-------------------------------------------------------------------
Wed May 6 19:58:04 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Run test-suite using python3: export PYTHON=%{_bindir}/python3
before running testr.
- Replace all python2-* BuildRequires with their python3
equivalents.
-------------------------------------------------------------------
Thu Oct 10 13:32:59 UTC 2019 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Mon Sep 9 11:33:05 UTC 2019 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Thu Aug 22 06:31:15 UTC 2019 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Mon Jul 15 11:21:56 UTC 2019 - Markos Chandras <mchandras@suse.de>
- 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
* bindep: add sudo
* Update test coverage for openSUSE/-minimal to 15.0
* Use fedora-release-common for fedora 30+
* 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
* Add option to skip update packages
-------------------------------------------------------------------
Wed May 15 23:41:19 UTC 2019 - Jonathan Harker <jharker@suse.com>
- 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
-------------------------------------------------------------------
Fri Apr 12 13:36:52 UTC 2019 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Tue Mar 19 01:32:35 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Relax egg-info requirement flake8 >=2.5.4,<2.6.0 which is
incompatible with available flake8 3.x
-------------------------------------------------------------------
Fri Mar 1 15:40:31 UTC 2019 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Fri Feb 15 12:57:22 UTC 2019 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Mon Nov 5 16:31:48 UTC 2018 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Fri Sep 14 09:16:45 UTC 2018 - Markos Chandras <mchandras@suse.de>
- 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
-------------------------------------------------------------------
Wed Jul 18 14:52:24 UTC 2018 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Thu Jun 7 13:13:28 UTC 2018 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Mon Apr 30 11:48:07 UTC 2018 - mchandras@suse.de
- 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
* Add block-device defaults
* Fail if two elements provide the same thing
* GPT partitioning support
* update Gentoo Hardened profiles (now stable)
* Checking link status according to DIB_DHCP_TIMEOUT
* Remove some redundant indents
* Update Fedora defaults to 27
* zypper-minimal: Set default locale env to C.UTF-8
* Clean up dib-python symlink
-------------------------------------------------------------------
Fri Mar 9 10:52:39 UTC 2018 - mchandras@suse.de
- 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
* elements: zypper-minimal: Refresh repositories where necessary
* Updated from global requirements
* elements: Respect devpts mount options
* Dont install python-pip for py3k
* Enable gentoo in pip-and-virtualenv element
* Add zipl element as s390x architecture bootloader
* diskimage_builder: lib: common-functions: Fix options for devpts mount
* Move to a common lock-file directory
* Create rescue user on ironic agent
* Use -t devpts for /dev/pts mounts
* Dont install python-virtualenv for py3k in deb
* Import legacy playbooks
* Add debian minimal requirement for arm64
* Fix grub2 dependency on arm64
* Remove dd from LVM element
* Update Gentoo element for element changes
* Update proliant-tools to support Gen10 Proliant servers
* Move fstrim to block device layer
* Actually sort mount-point list
* Change to install a package in 'proliant-tools'
* Clear /etc/machine-id to avoid duplicate machine-ids
* Add timestamp output filter
-------------------------------------------------------------------
Mon Dec 4 13:41:57 UTC 2017 - mchandras@suse.de
- 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.
-------------------------------------------------------------------
Mon Aug 14 06:22:03 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Wed Jul 26 09:22:29 UTC 2017 - mchandras@suse.de
- Version bump to 2.7.1
* elements: zypper-minimal: Install tar package
* zypper: Clean caches and don't cache packages locally
-------------------------------------------------------------------
Mon Jul 24 09:24:46 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Fri Jul 14 11:11:17 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Tue Jun 13 06:43:16 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Sun Jun 11 16:59:45 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Thu May 25 07:59:42 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Wed May 17 15:25:37 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Wed Apr 21 10:07:28 UTC 2017 - mchandras@suse.de
- 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
* squash-package-install to use the correct python
* Make our virtualenv source py3 safe
* blockdevice.py: python3 fixes
* Fix dib-init-system for Debian Jessie and Debian Stretch
* Send custom parameters in bootloader to GRUB_CMDLINE
-------------------------------------------------------------------
Mon Mar 13 12:19:38 UTC 2017 - mchandras@suse.de
- Update to version 2.0.0
* Add 2.0.0 release notes
* Run indent checks in diskimage_builder/lib
* Use OrderedDict for partitions instead of simple dictionary
* Refactor: block-device partitioning cleanup
* fix grub2 element for ubuntu xenial [lp##1627402]
* Semi-automatic doc generation of element dependency
* Fix up element doc generation
* Check return of _load_state
* block-device: change top level config from dict to list
* Handle blank lines in element-deps
* Don't run unit tests from run_functests.sh
* Refactor: block-device handling (partitioning)
* Add get_elements; preserve backwards compat for expand_dependencies
* Fix --version display
* Activate virtualenv in disk-image-create
* Remove execute perm from disk-image-create
* Move dib-run-parts into diskimage-builder
* Move diskimage-image-create to an entry point
* Move elements & lib relative to diskimage_builder package
* Fail on element-info error
* Remove deploy element
* Remove deprecated deploy-ironic element
* Remove deprecated ironic-discoverd-ramdisk
* Remove deprecated expand-dependencies arg
* Remove deprecated serial-console element
* Remove deprecated map-services
* Add release notes for block device handling.
* Move element-info to a standard entry-point
* Refactor: block-device handling (local loop)
* Convert pkg-map and svc-map copies to explicit variables
* Add IMAGE_ELEMENT_YAML and get_image_element_array
* Making element overriding explicit
* For developer and low-level oriented changes please read the following thread
- http://lists.openstack.org/pipermail/openstack-dev/2017-February/111833.html
-------------------------------------------------------------------
Fri Mar 3 01:02:44 UTC 2017 - mchandras@suse.de
- Update to version 1.28.0
* [suse] Handle pip-and-virtualenv install for opensuse
* pip-and-virtualenv: also handle rhel distros
* [suse] remove --no-confirm from zypper invocation
* gentoo: do not manually clean /tmp
* Fix requirements update
* Fix up doc errors
* python-brickclient: accommodate python2/3 changes
* Move Ubuntu specific use_tempaddr setting to ubuntu-common element
* Fix typo in README.rst
* yum/install-packages output cleanup
* Preinstall pyOpenSSL
* Target map-packages deprecation message
* Turn down some low-value tracing output
* Move generation of dib_[environment|args] to manifest element
* Use strings in package-installs follow output
-------------------------------------------------------------------
Thu Feb 16 17:46:42 UTC 2017 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Thu Dec 22 17:33:25 UTC 2016 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Mon Dec 5 15:24:49 UTC 2016 - mchandras@suse.de
- 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
-------------------------------------------------------------------
Tue Oct 18 11:05:19 UTC 2016 - mchandras@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package diskimage-builder
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -12,77 +12,85 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Prevent shebangs of element scripts from being added as a requirement (they
# are only ever run inside the disk image build chroot).
%global __requires_exclude_from ^%{_datadir}/%{name}/elements/.*$
%global __requires_exclude_from ^%{python3_sitelib}/diskimage_builder/elements/.*$
Name: diskimage-builder
Version: 1.21.0
Version: 3.26.0
Release: 0
Summary: Image Building Tools for OpenStack
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/openstack/diskimage-builder
URL: https://github.com/openstack/diskimage-builder
Source0: https://pypi.io/packages/source/d/%{name}/%{name}-%{version}.tar.gz
Source99: diskimage-builder-rpmlintrc
# PATCH-FIX-UPSTREAM: 0001-lib-Drop-shebang-from-library-scripts.patch
# https://review.openstack.org/387440
Patch0: 0001-lib-Drop-shebang-from-library-scripts.patch
# PATCH-FIX-UPSTREAM: 0002-elements-Drop-executable-bits-from-environment-files.patch
# https://review.openstack.org/387441
Patch1: 0002-elements-Drop-executable-bits-from-environment-files.patch
BuildRequires: fdupes
BuildRequires: python-PyYAML
BuildRequires: python-devel
# Test requirements:
BuildRequires: python-fixtures
BuildRequires: python-oslotest
BuildRequires: python-pbr >= 0.5.10
BuildRequires: python-setuptools
BuildRequires: python-testrepository
BuildRequires: python-testtools
BuildRequires: findutils
BuildRequires: python-rpm-macros
BuildRequires: python3-PyYAML >= 3.12
BuildRequires: python3-fixtures
BuildRequires: python3-networkx >= 1.10
BuildRequires: python3-oslotest
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-setuptools
BuildRequires: python3-stestr
BuildRequires: python3-stevedore >= 1.20.0
BuildRequires: python3-testrepository
BuildRequires: python3-testtools
BuildRequires: sed
# No stuff in python_sitelib, thus autoreqprov won't work:
Requires: python(abi) = %{py_ver}
Requires: python-Babel >= 2.3.4
Requires: python-PyYAML >= 3.1.0
Requires: python-dib-utils
Requires: python-six >= 1.9.0
Requires: kpartx
Requires: python3-Babel >= 2.3.4
Requires: python3-PyYAML >= 3.12
Requires: python3-networkx >= 1.10
Requires: python3-six >= 1.10.0
Requires: python3-stevedore >= 1.20.0
Requires: qemu-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: sudo
BuildArch: noarch
%description
These tools are the components of TripleO
(https://wiki.openstack.org/wiki/TripleO) that are responsible for
building disk images.
diskimage-builder is a tool for automatically building customized
operating-system images for use in clouds and other environments.
It includes support for building images based on many major
distributions and can produce cloud-images in all common formats
(qcow2, vhd, raw, etc), bare metal file-system images and ram-disk
images. These images are composed from the many included elements;
diskimage-builder acts as a framework to easily add your own elements
for even further customization.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
# 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
%{__python2} setup.py build
%python3_build
%install
%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python3_install
%py3_compile %{buildroot}
%fdupes %{buildroot}
%check
if [ ! -d ./.testrepository ] ; then testr init ; fi
testr run %{?_smp_mflags:--parallel %{_smp_flags}} #; RET=$? echo "Slowest Tests" ; testr slowest && exit $RET
export PYTHON=%{_bindir}/python3
stestr run
%files
%defattr(-,root,root,-)
%doc ChangeLog README.rst LICENSE AUTHORS
%doc ChangeLog README.rst AUTHORS
%license LICENSE
%{_bindir}/disk-image-create
%{_bindir}/dib-lint
%{_bindir}/element-info
%{_bindir}/*disk-image-create
%{_datadir}/%{name}
%{python_sitelib}/diskimage_builder/
%{python_sitelib}/diskimage_builder*.egg-info/
%{_bindir}/ramdisk-image-create
%{python3_sitelib}/diskimage_builder/
%{python3_sitelib}/diskimage_builder*.egg-info/
%changelog