Commit Graph

440 Commits

Author SHA1 Message Date
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
960fe53346 hack
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=418
2020-03-13 14:12:51 +00:00
62bc55bb42 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=417
2020-03-13 13:47:01 +00:00
270b4fe856 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=416
2020-03-13 13:44:38 +00:00
ac1a1442e5 revert
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=415
2020-02-20 07:38:52 +00:00
7ee3b5fe74 ups
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=414
2020-02-20 07:16:27 +00:00
6d1b55a9c1 add cpio for debian
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=413
2020-02-20 07:02:26 +00:00
979d10ec85 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=412
2020-02-10 08:30:58 +00:00
be6e7a647a update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=411
2020-02-05 08:32:14 +00:00
Dominique Leuenberger
ba3bba39a0 Accepting request 769043 from openSUSE:Tools
- fix regression in && operator handling of rpm spec file parser
- Correctly expand macros defined with %global

- 15.2 config: temporary revert gcrypt preinstall until distro has changed
- factory config: ignore libxtables for iproute2, not needed for ip tool
- Follow upstream rpm changes in regard to logical ops
- Fix macro expansion of lines containing newlines
- add missing header file to avoid compile warnings

- support OBS-Milestone comment for kiwi
- switch to preinstall expansion for factory

OBS-URL: https://build.opensuse.org/request/show/769043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=130
2020-02-03 10:10:37 +00:00
5e6a8d07d9 abort
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=409
2020-02-03 10:03:48 +00:00
e0a2f4fa49 test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=408
2020-02-03 10:01:45 +00:00
0e088b61cb test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=407
2020-02-03 09:57:54 +00:00
ef3aeb1f06 test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=406
2020-02-03 09:48:14 +00:00