Commit Graph

2939 Commits

Author SHA1 Message Date
Lubomír Sedlář
6576ab9b32 kiwibuild: Fix location and metadata for ISOs
When Kiwi builds an ISO, it is always supposed to be bootable and should
be located in the iso/ subdirectory.

Any other kind of image should still land in images/ and be listed as
not bootable in the metadata.

Relates: https://pagure.io/pungi-fedora/issue/1342
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit d9d21d3cf4eaad5cc7f2959a4abdafed781bb9cf)
2025-09-29 18:15:17 +03:00
Lubomír Sedlář
d93b358959 kiwibuild: Add options for version and repo_releasever
The version follows the same rules as versioning for live media etc.
That means it's always going to be set. The precedence goes like this:

 * image specific option
 * `kiwibuild_version`
 * `global_version`
 * `release_version` or `<release_version>_<label_milestone>`.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit d351773dab7b3aa8e6de82bbe23058b6b3448dd4)
2025-09-29 18:15:17 +03:00
Lubomír Sedlář
d2fc85437b Release 4.10.1
(cherry picked from commit d14925b85c4f0e26eb4b097b6603f3dbc5d00d60)
2025-09-29 18:14:47 +03:00
Lubomír Sedlář
ca0984611b Release 4.10.0
(cherry picked from commit 79c630a8599978b3b073c9fbc17abf7df347bb40)
2025-09-29 18:14:37 +03:00
Fedora Release Engineering
4dd7ecf875 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
(cherry picked from commit 94ede558b3ac60de921095d23ec8d6ca762087b0)
2025-09-29 18:14:25 +03:00
Miro Hrončok
2f8ce9dbca Remove one generated runtime Requires
It's required by python3-pungi.

(cherry picked from commit 73e8998491ecb630eb31877692fe03b4eceaff3e)
2025-09-29 18:14:09 +03:00
Miro Hrončok
eaaa5a6a0c Remove generated runtime dependencies from BuildRequires
Those are handled by %pyproject_buildrequires

(cherry picked from commit 4af7eaba63f34cd84ee4dbe9e908068a6d89e354)
2025-09-29 18:14:09 +03:00
Lubomír Sedlář
e164c6ed14 Release 4.9.3
Merges: https://src.fedoraproject.org/rpms/pungi/pull-request/11

(cherry picked from commit e0a9959d1f7478a0357f76d8d31c96b9d8cda895)
2025-09-29 18:10:49 +03:00
Python Maint
e33373f74c Rebuilt for Python 3.14
(cherry picked from commit 280b98bf8383ae70aa07938d08c5291f9e872d96)
2025-09-29 18:08:30 +03:00
Lubomír Sedlář
8e5c545c22 Fix tests on Python 3.14
(cherry picked from commit 40a6fe451dab89ed180b89cadd4c32e3a9328700)
2025-09-29 18:08:19 +03:00
Lubomír Sedlář
1fda6afce9 Release 4.9.2
(cherry picked from commit 2d39cf9856893d0c9e718bb9b0ebf5b7134ac01c)
2025-09-29 18:08:09 +03:00
Lubomír Sedlář
4f5ca6ad18 Release 4.9.1
(cherry picked from commit 5639a4d5deb28dd98a13b8ce6ddf2264a73d82c4)
2025-09-29 18:07:59 +03:00
Lubomír Sedlář
afa2617a73 New release 4.9.0
(cherry picked from commit 5fbdefc5fc784a2ee632dc093c587e490c33593c)
2025-09-29 18:07:47 +03:00
Adam Williamson
e9b29c87d5 Backport PR #1812 to fix crash on subprocess unicode decode error
(cherry picked from commit 47f155d57038db0013eeff61b17380bc945b263a)
2025-09-29 18:07:35 +03:00
Adam Williamson
4137092e7f Backport PR #1810 to use new container types
(cherry picked from commit ddef475081f9efea390c60c2666d9e22536d70c1)
2025-09-29 18:07:16 +03:00
Lubomír Sedlář
80e22467e7 New upstream release 4.8.0
(cherry picked from commit 85b8b74f54cc6e1afd13c9608ad791d6ad103b61)
2025-09-29 18:06:51 +03:00
Adam Williamson
1fb0c8aa16 Backport #1798 to infer types/formats for new FEX backing images
(cherry picked from commit 92d7921cf1bbf816217e2c4945dc8f6ae7881a39)
2025-09-29 18:06:23 +03:00
Adam Williamson
cc5b039197 Backport #1796 to speed up compose some more
(cherry picked from commit 130e003364be879f91c3716f9e059f319376b89c)
2025-09-29 18:06:06 +03:00
Adam Williamson
3ec9bd0413 Rebuild with no changes to bump past release used in infra tag
(cherry picked from commit 2b05735da4ecb2a1a230c47c22f0fa18200f2972)
2025-09-29 18:05:50 +03:00
Adam Williamson
560916cd83 Backport patches for ostree_container, ostree compose speedup
PR #1789 improved various aspects of the ostree_container phase
regarding subvariant handling and filenames, this is mainly to
help us with how we want to handle bootc images (currently in
the IoT compose, but the generic base bootc image may move to
the Fedora compose).

PR #1790 rejigs the compose phase handling so the main image
build phase is not unnecessarily blocked on the ostree_install
phase. This should cut 60-90 minutes out of the main Fedora
compose time.

(cherry picked from commit 13884fef2c199b613442af03c24b737a7e3cb057)
2025-09-29 18:05:38 +03:00
Adam Williamson
2495771f59 Backport patches to fix GCE image format not to be 'docker'
(cherry picked from commit 80ddc0cf015d582ca21376c3ba97b38ba813f5e2)
2025-09-29 18:05:16 +03:00
Lubomír Sedlář
b3b4b894c7 Commit forgotten patch
(cherry picked from commit d672d5b724891363bf4f793e21e1993c6be07153)
2025-09-29 18:04:46 +03:00
Lubomír Sedlář
dac4df2438 Backport patch for setting kiwibuild image type in metadata
(cherry picked from commit 729586d0ed2cb9103ee89fca589208c8d3381861)
2025-09-29 18:04:46 +03:00
Lubomír Sedlář
8334b2f027 Backport upstream PR 1780
(cherry picked from commit 94c3195e7398d8f75720216676a87509e2177fc2)
2025-09-29 18:03:25 +03:00
e9ed4402e6 Merge pull request 'Add riscv64 to supported architectures' (#16) from add_riscv64 into master
Reviewed-on: #16
Reviewed-by: Stepan Oksanichenko <soksanichenko@noreply.localhost>
2025-09-02 15:03:06 +00:00
2ac29cf0d6 Release is bumped 2025-09-01 16:22:31 +00:00
9c1dfb3cbc changelog 2025-09-01 12:46:54 +00:00
d49e8278ea use noarch with riscv64 2025-09-01 12:04:36 +00:00
1856763163 Add riscv64 to supported architectures 2025-09-01 11:43:48 +00:00
e17a6d7f42
- Changelog date order
- Typo
2024-10-09 12:48:48 +03:00
5152dfa764
- Add x86_64_v2 to a lisf of exclusive arches if there is any arch with base x86_64
- Changelog
- Bumbed version
2024-09-27 15:43:27 +03:00
b61614969d - Add x86_64_v2 to arch list if x86_64 in list 2024-09-16 14:59:03 +03:00
38cc2f79a0
- Unittests are fixed 2024-09-08 12:01:32 +03:00
d8b7f9210e
- Typo 2024-09-08 11:47:45 +03:00
69ec4df8f0
- Release is fixed 2024-09-06 22:30:35 +03:00
20841cfd4c
- Changelog
- Release is bumped
2024-09-06 22:29:55 +03:00
cb53de3c46
- Truncate a volume ID to 32 bytes
- Add new architecture `x86_64_v2`
2024-09-06 22:28:38 +03:00
72635cf5c1
- Release is bumped 2024-09-06 15:06:55 +03:00
9ce519426d
- Typo 2024-09-06 15:06:35 +03:00
208c71c194
- Typo 2024-09-05 17:36:42 +03:00
71c4e3c178
- Use xorriso as recommended package and genisoimage as required for RHEL8/9 and vice versa for RHEL10 2024-09-05 17:28:11 +03:00
1308986569
- New release of AL version of Pungi 2024-08-30 13:42:27 +03:00
Lubomír Sedlář
e05a11f99a
Release 4.7.0
JIRA: RHELCMP-13991
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>

(cherry picked from commit a8dbd77f7f)
2024-08-30 13:40:54 +03:00
Lubomír Sedlář
cb9dede604
kiwibuild: Add support for type, type attr and bundle format
This is a very basic support. Whatever users specify in the new option
will be passed to the koji task.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2270197
Related: https://pagure.io/koji/pull-request/4157
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit e43cf68f08)
2024-08-30 13:40:50 +03:00
Lubomír Sedlář
ce2c222dc2
createiso: Block reuse if unsigned packages are allowed
We can have a compose with unsigned packages.

By the time the next compose is generated, the packages could have been
signed. However, the new compose would still reuse the ISO with unsigned
copies.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit d546a49299)
2024-08-30 13:40:49 +03:00
Lubomír Sedlář
be4fd75a7a
Allow live_images phase to still be skipped
Without this fix existing configurations break even though they don't
use the phase.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit c59f2371a3)
2024-08-30 13:40:48 +03:00
Lubomír Sedlář
33bb0ceceb
createiso: Recompute .treeinfo checksums for images
Running xorriso to modify an ISO image can update content of included
images such as images/eltorito.img, unless we explicitly update the
image, which is undesirable (https://pagure.io/pungi/issue/1647).

However, when the file is changed, the checksum changes and .treeinfo no
longer matches.

This patch implements a workaround: once the DVD is written, it looks
for incorrect checksums, recalculates them and updates the .treeinfo on
the DVD. Since only the checksum is changing and the size of the file
remains the same, this seems to help fix the issue.

An additional step for implanting MD5 is needed again, as that gets
erased by the workaround.

JIRA: RHELCMP-13664
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>

(cherry picked from commit 3b2c6ae72a)
2024-08-30 13:40:47 +03:00
Lubomír Sedlář
aef48c0ab4
Drop support for signing rpm-wrapped artifacts
This was only usable in live_images phase that doesn't exist anymore,
and wasn't used much in the first place.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 0726a4dca7)
2024-08-30 13:40:15 +03:00
Adam Williamson
bd91ef1d10
Remove live_images.py (LiveImagesPhase)
This phase was used to create live images with livecd-creator
and 32-bit ARM images with appliance-creator. We also remove
get_create_image_cmd from the Koji wrapper as it was only used
for this phase, remove associated tests, and remove related
configuration settings and documentation.

Fixes: https://pagure.io/pungi/issue/1753
Merges: https://pagure.io/pungi/pull-request/1774
Signed-off-by: Adam Williamson <awilliam@redhat.com>

(cherry picked from commit 531f0ef389)
2024-08-30 13:40:14 +03:00
Lubomír Sedlář
32d5d32a6e
Clean up requirements
* dict.sorted and funcsigs are not used anywhere anymore
* urlgrabber is used only in the yum based gather.py module, and thus
  only needed on Python 2
* py3 doesn't need to reinstall mock as that is part of stdlib now

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit c96b5358ba)
2024-08-30 13:40:02 +03:00