Skip to content

test#1

Closed
adrianschroeter wants to merge 1511 commits into
pbuild_filefrom
master
Closed

test#1
adrianschroeter wants to merge 1511 commits into
pbuild_filefrom
master

Conversation

@adrianschroeter

Copy link
Copy Markdown
Owner

No description provided.

mlschroe and others added 30 commits April 4, 2025 09:21
Rpmv6 will no longer have the header+payload md5 header.
This is similar to what we do in the kiwi product case.
It seems to be still in use.
…parsing

Fix parsing of remoteasseturls with digests
We need to use SIGTAG_MD5 in that case.
Otherwise it tries to build mkosi.spec as mkosi.
The split statement removed the empty last element, so the
check of the array length failed if no 'hsum' was provided.
This is how mock does it. This only really changes something for
SLFO where the behavior change is wanted. all other distros have
a kernel that defaults to apparmor hence the change is a noop.
We now support a "#!!line" directive that allows to set the
file name and the line number.
Allowing overwriting the default packagesets per flavor.

Small behaviour change following product-composer: The
'unpack' named packageset is not implicit used, it needs
to be listed explicit in the unpack packageset array.
Disable selinuxfs mount during builds (bsc#1231252)
qemu 10.0 has dropped the "-runas" option. Unfortunately the replacement
"-run-with user=" was only introduced in qemu-9, which is not included
in SLES15, so both variants need to be supported.
Try runtime detection of qemu and select appropriate options.

Co-Author: Adrian Schröter <adrian@suse.de>
mlschroe and others added 28 commits May 28, 2026 10:57
We just exclude the main package now, like in OBS.
Zypper supports 'dep=3', 'dep' '=3', 'dep' '=' '3'...
Broken by mistake in the latest refactoring.
build-compare just gained support for comparing the result of deb
builds too, so add support for it, following the rpm model
When using scmsync a _scmsync.obsinfo file gets dropped in the
build root, and dpkg-buildpackage is not happy about untracked
files in the build root and fails the build:

[   33s] dpkg-source: info: local changes detected, the modified files are:
[   33s]  BUILD/_scmsync.obsinfo
[   33s] dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/mkosi_26-3.diff.wbqjcl

Delete it after copying the SOURCES/ content to BUILD/
We run generate_sbom there without BUILD_DIR set, but using
perl -I /.build directly

However, generate_sbom is trying to use /usr/lib/build in this
situation for it's modules which leads to runtime errors (opts->{'type'}
is not set leading to handle everything as oci container).

Instead let's use the path of generate_sbom as perl module
directory if BUILD_DIR is not set.
generate_sbom: fix runtime errors on old distributions
This builds a single package without a project, i.e. it behaves
a bit like the 'build' tool itself.
We no longer duplicate the job handling code.
It now matches the build script, and the --single prefix did
not work well with the --orphan option.
…ested

This is also what XML::Structured does.
This allows us to directly usa the data from a YAML/JSON parser
as input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.