Compare commits
35 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e2a3fb8ce5 | |||
| 8ee3c8b1ad | |||
| f6e65060d4 | |||
| 4686259fc0 | |||
| c9b4939f38 | |||
|
|
63ea5983e1 | ||
|
|
ba13ae2f23 | ||
|
|
116bbaf5b9 | ||
|
|
f52658cab3 | ||
|
|
9507c6cf46 | ||
|
|
161da5a13a | ||
|
|
18cecda30e | ||
|
|
64cf4f5008 | ||
|
|
8533535eec | ||
|
|
7fd520c7d4 | ||
| 10414b4ce3 | |||
| 4881b218bd | |||
| dd985ab61c | |||
|
|
088fa27b95 | ||
| 86688b6ed4 | |||
|
|
18c51a9f92 | ||
|
|
f72507d61a | ||
|
|
6402ea4bc5 | ||
| be9df1afba | |||
|
|
137bc43216 | ||
| 325dc02c4e | |||
|
|
ffcb1f1b9c | ||
|
|
8c6b731643 | ||
|
|
d89dfd8687 | ||
|
|
bd5c724bd6 | ||
|
|
713fed0df4 | ||
|
|
1e4c3f14dc | ||
|
|
b4a9373df5 | ||
| 4745b178a2 | |||
|
|
2a6a055cbf |
@@ -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
|
|
||||||
|
|
||||||
@@ -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
|
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f40f9f6c5b1ceebe10344d94ad9a87f56fa1724815c755f983198e9eb5de41d8
|
|
||||||
size 248236
|
|
||||||
3
diskimage-builder-3.37.0.tar.gz
Normal file
3
diskimage-builder-3.37.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7f8766a3c3cc74dd5d226bb2f19ae4dd98d2dc146d821215637d1089ab26571b
|
||||||
|
size 543401
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
# /usr/local/bin/dib-python interpreter is only used inside
|
# /usr/local/bin/dib-python interpreter is only used inside
|
||||||
# the generated image so it's not something that affects the
|
# the generated image so it's not something that affects the
|
||||||
# host or the package itself.
|
# 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/.*")
|
||||||
|
|||||||
@@ -1,3 +1,940 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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 can’t 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>
|
||||||
|
|
||||||
|
- 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
|
Tue Oct 18 11:05:19 UTC 2016 - mchandras@suse.de
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package diskimage-builder
|
# spec file for package diskimage-builder
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,77 +12,88 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
# Prevent shebangs of element scripts from being added as a requirement (they
|
||||||
# are only ever run inside the disk image build chroot).
|
# 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
|
Name: diskimage-builder
|
||||||
Version: 1.21.0
|
Version: 3.37.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Image Building Tools for OpenStack
|
Summary: Image Building Tools for OpenStack
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
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
|
Source0: https://pypi.io/packages/source/d/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source99: diskimage-builder-rpmlintrc
|
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: fdupes
|
||||||
BuildRequires: python-PyYAML
|
BuildRequires: findutils
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-rpm-macros
|
||||||
# Test requirements:
|
BuildRequires: python3-PyYAML >= 3.12
|
||||||
BuildRequires: python-fixtures
|
BuildRequires: python3-fixtures
|
||||||
BuildRequires: python-oslotest
|
BuildRequires: python3-jsonschema
|
||||||
BuildRequires: python-pbr >= 0.5.10
|
BuildRequires: python3-networkx >= 1.10
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python3-oslotest
|
||||||
BuildRequires: python-testrepository
|
BuildRequires: python3-pbr >= 2.0.0
|
||||||
BuildRequires: python-testtools
|
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:
|
# No stuff in python_sitelib, thus autoreqprov won't work:
|
||||||
Requires: python(abi) = %{py_ver}
|
Requires: kpartx
|
||||||
Requires: python-Babel >= 2.3.4
|
Requires: python3-Babel >= 2.3.4
|
||||||
Requires: python-PyYAML >= 3.1.0
|
Requires: python3-PyYAML >= 3.12
|
||||||
Requires: python-dib-utils
|
Requires: python3-jsonschema
|
||||||
Requires: python-six >= 1.9.0
|
Requires: python3-networkx >= 1.10
|
||||||
|
Requires: python3-stevedore >= 1.20.0
|
||||||
Requires: qemu-tools
|
Requires: qemu-tools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Requires: sudo
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
These tools are the components of TripleO
|
diskimage-builder is a tool for automatically building customized
|
||||||
(https://wiki.openstack.org/wiki/TripleO) that are responsible for
|
operating-system images for use in clouds and other environments.
|
||||||
building disk images.
|
|
||||||
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
# Fix env-script-interpreter rpmlint warning
|
||||||
%patch1 -p1
|
find diskimage_builder/elements -type f -perm /a+x \
|
||||||
|
-exec sh -c "sed -E -i s@^#\!%{_bindir}/env[[:space:]]+python@#\!%{_bindir}/python@ {}" \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python2} setup.py build
|
%python3_pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python3_pyproject_install
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if [ ! -d ./.testrepository ] ; then testr init ; fi
|
export PYTHON=%{_bindir}/python3
|
||||||
testr run %{?_smp_mflags:--parallel %{_smp_flags}} #; RET=$? echo "Slowest Tests" ; testr slowest && exit $RET
|
# Skip test_mount_comparator that's broken with python3
|
||||||
|
# https://bugs.launchpad.net/diskimage-builder/+bug/2110216
|
||||||
|
stestr run --exclude-regex "test_mount_comparator"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%doc ChangeLog README.rst AUTHORS
|
||||||
%doc ChangeLog README.rst LICENSE AUTHORS
|
%license LICENSE
|
||||||
|
%{_bindir}/disk-image-create
|
||||||
|
%{_bindir}/diskimage-builder
|
||||||
%{_bindir}/dib-lint
|
%{_bindir}/dib-lint
|
||||||
%{_bindir}/element-info
|
%{_bindir}/ramdisk-image-create
|
||||||
%{_bindir}/*disk-image-create
|
%{python3_sitelib}/diskimage_builder/
|
||||||
%{_datadir}/%{name}
|
%{python3_sitelib}/diskimage_builder*-info/
|
||||||
%{python_sitelib}/diskimage_builder/
|
|
||||||
%{python_sitelib}/diskimage_builder*.egg-info/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user