Commit Graph

433 Commits

Author SHA256 Message Date
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
4dc0b9144a hack
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=418
2020-03-13 14:12:51 +00:00
566db8b231 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=417
2020-03-13 13:47:01 +00:00
79c7293453 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=416
2020-03-13 13:44:38 +00:00
dc36d32d13 revert
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=415
2020-02-20 07:38:52 +00:00
3cfa501978 ups
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=414
2020-02-20 07:16:27 +00:00
e31902c79c 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
2970d471a4 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=412
2020-02-10 08:30:58 +00:00
9eed703a95 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
81e1cfc194 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
9838b5ab55 abort
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=409
2020-02-03 10:03:48 +00:00
d5afd0d224 test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=408
2020-02-03 10:01:45 +00:00
6eda82043a test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=407
2020-02-03 09:57:54 +00:00
2c23168034 test
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=406
2020-02-03 09:48:14 +00:00
a70a8dffa9 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=405
2020-01-31 11:55:01 +00:00
2bbb29a72a fix build for 15.2
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=404
2020-01-29 13:04:23 +00:00
253aac23dd without iproute2
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=403
2020-01-28 15:58:57 +00:00
4e34276a30 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=402
2020-01-28 15:25:18 +00:00
Dominique Leuenberger
15947ea519 Accepting request 766951 from openSUSE:Tools
- fix SLE 15 configurations
- Fix dist autodetection for sle15-sp2

- Fix crash when using preinstall dependency expansion in OBS
- build-vm-kvm: use /boot/kernel.obs.build and /boot/initrd.obs.build
  as fallback regardless of the platform to have a global fallback
  kernel to use for distros that do not use the "kernel-obs-build"
  package to provide the guests kernel and initrd as the system
  binaries are not reliable for use in a guest system
- use abuild user if $NOROOTFORBUILD is set.

- fix createrepo existens check for appimager and docker builds
  in chroot
- support to use virt-make-fs for ext3 VM builds

- Arch Linux zstd format support
- fix testbuild fail with latest rpm in SP2 and Leap 15.2
- do not retry automatically on disk full error

OBS-URL: https://build.opensuse.org/request/show/766951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=129
2020-01-25 12:23:13 +00:00
dd9019ee63 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=400
2020-01-24 15:51:52 +00:00
714b6a7db9 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=399
2020-01-24 14:43:57 +00:00