Commit Graph

453 Commits

Author SHA256 Message Date
Richard Brown
6610105e82 Accepting request 1006382 from openSUSE:Tools
- fix build of testsuite spec file

- sync factory build config
- build-recipe-livebuild: run as root
- vm_kill_kvm: Use SIGKILL after 3 minutes if the kvm process is not going away
- Zip: Allow extraction of symlink targets
- Convert obsolete egrep/fgrep calls to grep -E/-F
- Add RemoteAsset support for Dockerfile based builds
- new image format: mkosi
- Support stacked container builds
- Revert "build-vm-kvm: enable l3-cache on i386/x86_64 builds"
- handling of non-compressed tar when creating Debian archive for DSC 3.0

- kvm: exclude powerpc from io_uring, enable iothreads always (#829)
- kvm: enable more performant I/O also for s390(x) (#828)
- Changelog patching when building DSC format 3.0. (#831)
- support for building from slsa provenance files

OBS-URL: https://build.opensuse.org/request/show/1006382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=145
2022-09-28 15:51:08 +00:00
f95e8dd508 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=464
2022-09-27 11:35:12 +00:00
7132bc3491 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=463
2022-09-27 07:03:17 +00:00
6c47003220 ups
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=462
2022-09-26 11:22:10 +00:00
19ea207893 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=461
2022-09-26 11:12:30 +00:00
08a8b8e525 fix on sle 11
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=460
2022-09-26 09:15:28 +00:00
d4fbf8ba7f update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=459
2022-09-26 08:31:35 +00:00
Dominique Leuenberger
d5fde7efb5 Accepting request 983980 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/983980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=144
2022-06-23 08:22:03 +00:00
948201b16e update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=457
2022-06-13 12:42:19 +00:00
Dominique Leuenberger
81c6e1a1e4 Accepting request 973940 from openSUSE:Tools
- Stop building aarch64_ilp32 baselibs for aarch64
- avod aio=io_uring for now on SLE15-SP4 workers

OBS-URL: https://build.opensuse.org/request/show/973940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=143
2022-05-05 21:04:21 +00:00
f916d6e088 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=455
2022-04-29 13:10:13 +00:00
4de21c4819 fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=454
2022-04-29 12:02:57 +00:00
d605586831 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=453
2022-04-29 11:57:12 +00:00
Dominique Leuenberger
e769dfbb75 Accepting request 972021 from openSUSE:Tools
- Update SLE 15 SP4 and Leap 15.4 build config (bsc#1198740)
- Use aio=io_uring if available (bsc#1197699) (build#814)
- Add arm32 and loongarch definitions (build#808)
- Add compatibility code to initvm
- Use upstream way of binfmt argv0 preservation (bsc#1197298) (build#809)
- Add template support for Build::SimpleJSON
- minor documentation updates

OBS-URL: https://build.opensuse.org/request/show/972021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=142
2022-04-25 22:00:27 +00:00
d99ef32db7 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=451
2022-04-22 07:08:11 +00:00
Dominique Leuenberger
17b54e1e46 Accepting request 965580 from openSUSE:Tools
- docker: Add support for --root and --installroot global zypper options
- debian cross build support via multi-arch (obsoleting cbinstall remnants)
- Tumbleweed config synced
- documentation updates
- smaller bugfixes

OBS-URL: https://build.opensuse.org/request/show/965580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=141
2022-04-01 19:35:28 +00:00
de570f3002 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=449
2022-03-29 08:54:30 +00:00
Dominique Leuenberger
b5479ce5d0 Accepting request 961965 from openSUSE:Tools
fix regression

OBS-URL: https://build.opensuse.org/request/show/961965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=140
2022-03-17 16:01:19 +00:00
0cd90f03cd update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=447
2022-03-15 15:58:24 +00:00
e95673748b update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=446
2022-03-14 15:59:24 +00:00
Dominique Leuenberger
0152f4ffbb Accepting request 959816 from openSUSE:Tools
Features:
  * download_assets: add --outdir --clean --show-dir-srcmd5 parameters
                     support multiple --arch arguments
  * asset support for golang modules
  * add support for LXC 4.
  * new shortcuts for rpm building:
    --rpm-noprep, --rpm-build-in-place, --rpm-build-in-place-noprep
    for building directly from upstream git repositories without
    any tar ball.
  * mount securityfs if not mounted by kernel-obs-build
  * collect steal time during VM builds in statistics.
  * declare armv8 and armv7 compatible
  * support OBS Debuginfo build flag for Red Hat variants
  * setup rpmmacros for all build types and earlier
  * Kiwi builds
    - Always append the profile name to kiwi container names
  * Dockerfile build
    - improve registry handling
    - initial Dockerfile.dapper support
    - support 'curl' commands in docker builds
    - strip known domains from container name
    - support container alias names
  * introducing --verbose option, currently only showing kernel
    messages.
  * support cpio creation for special files
  * handle QEMU >= 6.0 on POWER9
Changes:
  * Use git+https instead of git-https as url schema
  * add oops=panic kernel parameter
  * Updated distribution configurations (esp. Leap 15.4 and Tumbleweed)

OBS-URL: https://build.opensuse.org/request/show/959816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=139
2022-03-09 17:46:55 +00:00
84773d6def update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=444
2022-03-07 09:40:25 +00:00
45f16f082f merge
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=443
2022-01-13 07:41:14 +00:00
Dominique Leuenberger
100462ee54 Accepting request 933759 from openSUSE:Tools
- renamed tumbleweed config to tumbleweed
- synced tumbleweed config changes
- initial config for Leap 15.4
- docker build environment
  * Use /.dockerenv as marker for docker environment
  * support privileged docker/nspawn mode
  *  move --cap-add=SYS_ADMIN --cap-add=MKNOD to privileged mode
  * initvm: do not attempt to mount /proc and binfmt_misc handler if present
- pbuild
  * rename --hide-timestamps to --no-timestamps
  * reuse options from older builds
  * revised --single build mode
  * support ccache
- Unify ccache and sccache handling

OBS-URL: https://build.opensuse.org/request/show/933759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=138
2021-12-01 19:46:34 +00:00
3170e07de3 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=441
2021-11-25 13:21:34 +00:00
9b3b1dc9e5 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=440
2021-11-25 13:07:22 +00:00
Dominique Leuenberger
18526cfb72 Accepting request 927270 from openSUSE:Tools
Features:
- deb zstd support (for Ubuntu 21.10)
- support KVM builds with enabled network
- modulemd support improvements
- Support a "Distmacro" directive for recipe parser-only macros
Fixes:
- Load selinux policy when using a preinstall image
- Use the pax format for preinstall images if bsdtar is available
- Add %riscv to std_macros
- Fix combine_configs dropping newlines
pbuild:
- Implement SCC calculation
- Improve --shell-after-build and --single options
- initial documentation of pbuild
- Bugfixes

OBS-URL: https://build.opensuse.org/request/show/927270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=137
2021-10-30 21:13:10 +00:00
1acced737e release
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=439
2021-10-25 09:26:42 +00:00
Dominique Leuenberger
ac8dd8b43c Accepting request 915720 from openSUSE:Tools
- Fix unpacking of deb/arch archives without bsdtar

- fixed regression in multiline macro evaluation from 20th August release

OBS-URL: https://build.opensuse.org/request/show/915720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=136
2021-09-11 20:24:11 +00:00
ef92cf5ab3 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=438
2021-09-02 09:53:00 +00:00
666a08403a update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=437
2021-08-30 12:48:47 +00:00
Dominique Leuenberger
289da0a682 Accepting request 913263 from openSUSE:Tools
Features:
- cross architecture build support (for rpm and kiwi)
- modulemd meta data support
- pbuild to build multiple source packages
  (initial release, can not be considered stable yet)
- supporting external asset stores for source files
- support multiple post build checks placed in the directory:
  /usr/lib/build/post-build-checks/
- sccache support
- New --shell-after-fail option
- allow to disable squashfs in SimpleImage
- supporting aarch64 kernel on armv?l distributions
- kiwi: Add support for OBS-RemoteAsset and OBS-CopyToImage directives
- container: FROM scratch build support
Improvements:
- supporting kvm builds as non-root user
- Extend stage selection support for rpm builds
- various distribution config updates
- Support "BuildFlags: cumulaterpms"
  (was done only via suse_version before)
Fixes:
- container builds
  * support newer podman versions
  * supporting multiple containers for multi-stage builds
- Supporting URL's in Flatpak manifests
- epoch handling in debian builds
- catch more cases where a failed build is marked as host error
- fixing wrong status reporting when a job got killed
- hugetlbfs handling fixes
- try mounting selinuxfs in VM

OBS-URL: https://build.opensuse.org/request/show/913263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=135
2021-08-24 08:54:09 +00:00
a652938d89 Accepting request 913737 from home:dgollubATT:branches:openSUSE:Tools
Depend on libarchive-tools or bsdtar for Debian based builds.

This became mandatory on Debian with following commit:
ca5bb10577


Btw.: Ich hab die openSUSE Account Migration verpasst. Koennte jemand bitte fuer den
Account die Mailaddresse auf dgollub AT exsuse.de zurueck setzen? Wahrscheinlich
ist die Addresse noch auf brocade.com gesetzt oder so. Danke!

OBS-URL: https://build.opensuse.org/request/show/913737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=436
2021-08-23 11:57:38 +00:00
f72230bce8 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=435
2021-08-20 06:48:21 +00:00
0c57454483 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=434
2021-08-19 10:14:40 +00:00
338445b5f0 test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=433
2021-05-21 08:58:16 +00:00
2bf0aea436 fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=432
2021-02-17 12:14:20 +00:00
60cff7e52c re-add TimeDate
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=431
2021-01-28 12:47:24 +00:00
734fe5095d test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=430
2021-01-28 08:22:33 +00:00
Dominique Leuenberger
474ab8a260 Accepting request 865306 from openSUSE:Tools
Features:
- initial flatpak build support added
- ccache support added
- debtransform: Add Debian revision if not present
- allow nodirindex filesystems via BuildFlags: vmfsoptions:nodirindex
- Also do rich dep handling for PreReqs
- kiwi image: configure ndb database if we install the rpm-ndb package
- Implement alternative method to specify build-ignores
Changes:
- Ignore kiwi-image: deps when expanding image packages
Fixes:
- Improve autonumbering of source/patch
- init_buildsystem: fix mode of /dev/full
- drop option transparent_hugepages=never on s390x
- Allow --vmdisk-filesystem-options as alias for --vm-disk-filesystem-options
- Do not add a "kiwi-packagemanager:" dependency if no package manager is defined
- debian:
  - Do not leave trailing whitespace while generating .dsc
  - Save modified version into .dsc file
  - Fail `debtransform` test if `debdiff` can't find something
  - return the unmapped arch if it is not found in the mapping hash
  - build-recipe-debootstrap: add fallback for Debian SID distro

OBS-URL: https://build.opensuse.org/request/show/865306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=134
2021-01-25 17:22:47 +00:00
8e23713972 new
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=428
2021-01-20 12:45:57 +00:00
376425d38f raise debhelper version
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=427
2020-10-26 13:04:57 +00:00
Dominique Leuenberger
7ad1749cb9 Accepting request 830294 from openSUSE:Tools
- support rpmlint installed in /usr/bin/ as well
- fixing build for armv6hl
- Extract generated chart from the tarball instead of using the recipe

Note: the armv6 build failures atm are complete independend of
the topic this fix is providing and not specific to build package

OBS-URL: https://build.opensuse.org/request/show/830294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=133
2020-08-31 14:47:36 +00:00
d91b0d4b8f fix armv6
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=425
2020-08-28 14:36:03 +00:00
72c9aa6152 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=424
2020-08-28 13:54:37 +00:00
Dominique Leuenberger
e898c602bd Accepting request 828094 from openSUSE:Tools
- fix factory version in config file bsc#1170956
- add missing ignores for Leap 15.2 bsc#1174854
- fix sysrq handling for KVM builds
- avoid double removal of obscpio files
- docker:
  * support builds using USER root statements
  * proper error handling when obs-docker-support gets called as 
    non-root
  * helm build target support
  * support milestone handling
- support repo files without types set (SLE 15 SP2 zypp)
- add default substitute for system-packages:repo-creation
- Support recursive kiwi profile usage

- fix dependencies for Fedora 33
- Set $YAML::XS::LoadBlessed = 0 for Appimage/Snapcraft
- add a new variable to track build time needed for ccache eviction
- create folder for ccache archive to be copied before rsync
- also package pkg-config files by default into baselibs. (bsc#1172563 etc)
- Use shorter kernel flag for mitigations
- Ignore, if shutdown behavior changed by build in z/VM
- Control disk-space consumption while creating ccache archive
- cleaning ccache
- create folders before trying to copy ccache.tar
- Genreadte .packages and .basepackages files for docker builds

OBS-URL: https://build.opensuse.org/request/show/828094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=132
2020-08-25 07:31:47 +00:00
737f9368a9 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=422
2020-08-20 08:33:26 +00:00
Frank Schreiner
1ad51a4e8d - fix dependencies for Fedora 33
- Set $YAML::XS::LoadBlessed = 0 for Appimage/Snapcraft
- add a new variable to track build time needed for ccache eviction
- create folder for ccache archive to be copied before rsync
- also package pkg-config files by default into baselibs. (bsc#1172563 etc)
- Use shorter kernel flag for mitigations
- Ignore, if shutdown behavior changed by build in z/VM
- Control disk-space consumption while creating ccache archive
- cleaning ccache
- create folders before trying to copy ccache.tar
- Genreadte .packages and .basepackages files for docker builds

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=421
2020-07-23 06:04:07 +00:00
Yuchen Lin
f1c25ab56b Accepting request 807799 from openSUSE:Tools
- enable sysrq operations on boot
- Set kvm_serial_device to virtio-serial in the fixup
- Split console arg setting code into kvm_add_console_args
- Update for zVM to make container builds work.
- Write to /proc/sys/kernel/hostname if the hostname command is not available
- Use --cgroup-manager=cgroupfs when calling podman
- Also squash by default in podman builds
- Support different interpreters in prein/postin scriptlets
- Use grep -E instead of egrep to check for the needsbinariesforbuild flag
- Use new Build::Intrepo module
- Add new Intrepo module to read/write build's internal repo format
- remove .gz from _ccache archive as it is no longer compressed
- Add support for Arch in build-recipe-kiwi
- Autodetect whether to use --pipe option of systemd-nspawn.
- Split parse_depfile() from readdeps()
- enable compression on ccache
- add bugzilla numbers for s390 workaround
- extend --ccache to generate _ccache.tar.gz and implement --pkg-ccache
- disable transparent_hugepage on s390x guests for now, causes hangs
- set buildflavor also for Build::parse

- Leap 15.2 config update (libzstd1 for rpm)
- handle obscpio extraction error as fatal
- Return correct exit code from systemd-nspawn build
- Spec parser: do not parse included files from end to start
- running disk full check also outside of VM
- run disk full check only for chroot

- Spec parser: add support for %elif, %elifarch, %elifos
- Support rpm's %include statement (EXPERIMENTAL, known limitations)

OBS-URL: https://build.opensuse.org/request/show/807799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=131
2020-05-29 19:13:17 +00:00
9c4aed7f34 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=419
2020-05-20 16:42:18 +00:00