Commit Graph

453 Commits

Author SHA1 Message Date
Richard Brown
a43b348db4 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
6c0ec406a6 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=464
2022-09-27 11:35:12 +00:00
b8b08e243c update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=463
2022-09-27 07:03:17 +00:00
c0c1327b95 ups
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=462
2022-09-26 11:22:10 +00:00
fa544cc1d1 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=461
2022-09-26 11:12:30 +00:00
c71d699ce9 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
3d9793bfac 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
58d34e4cc8 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
72116fb488 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
9e797a5d76 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
e4267fa1f0 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=455
2022-04-29 13:10:13 +00:00
72d5fac89b fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=454
2022-04-29 12:02:57 +00:00
705236c135 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
9792ca7917 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
acff5361b9 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
62c6333712 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
de1a120883 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
5c4dfc4181 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
ae67dad6f6 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=447
2022-03-15 15:58:24 +00:00
6085d98e24 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
49ff58b57b 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
7c019be6f9 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=444
2022-03-07 09:40:25 +00:00
ab9a2ce7dd 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
020b218e0c 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
f9e1d55c2a update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=441
2021-11-25 13:21:34 +00:00
2f07e77186 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
0859392f2f 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
8c37651d52 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
2cae09c84b 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
bffb8381f7 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=438
2021-09-02 09:53:00 +00:00
23924fcd6c 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
7f248f1453 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
73161dd487 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
04544bef75 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=435
2021-08-20 06:48:21 +00:00
4320c24aa0 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=434
2021-08-19 10:14:40 +00:00
bfe8dae3af test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=433
2021-05-21 08:58:16 +00:00
98bf757d7b fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=432
2021-02-17 12:14:20 +00:00
a95213bdb8 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
994523f317 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
5736227646 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
7a5ace1d11 new
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=428
2021-01-20 12:45:57 +00:00
6f13ee4ea4 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
5629b2e709 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
c8a16ca47c 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
b079e28171 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
1dbbdbeeb2 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
c8b4da7cb4 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
14d8d8790b - 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
47c3ca5fad 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
a5f9f90fa4 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=419
2020-05-20 16:42:18 +00:00