Граф коммитов

6244 Коммитов

Автор SHA1 Сообщение Дата
Manuel Huber 55e61f4fc6 kata-containers(-cc): Use build recipes from sources
This commit simplifies package and UVM build by using
recipes established in our sources. These recipes also
make shipping separate UVM build scripts obsolete. The
UVMs can from now on be built standalone using the
kata-containers-(cc-)tools subpackages

Signed-off-by: Manuel Huber <mahuber@microsoft.com>
2024-09-18 00:09:01 +00:00
CBL-Mariner-Bot 6b12513bcb
[AUTO-CHERRYPICK] Fixed toolchain tests blocking non-toolchain packages' tests. - branch 3.0-dev (#10457)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-09-13 15:47:08 -07:00
Andrew Phelps 016977a85b
azurelinux-rpm-macros: include release in elf module version (#10405) 2024-09-13 13:31:17 -07:00
Tobias Brick ec7166108c
update wget with patches from fedora (#10439)
Since we upgraded wget for 3.0 with change #7672, upstream Fedora has added several packages that would be useful to us. These include patches that disable ocsp and tcp-fastopen by default (you can still set them on the command-line). A combination of these two things causes some issues on certain urls when downloading from a local hyper-v vm, and generally we'd rather have them disabled by default.

This change takes all the patches that fedora currently applies to wget.
2024-09-13 07:49:32 -07:00
chalamalasetty 31a96b22e5
Enable building mokutil for aarch64 (#10442) 2024-09-12 23:02:33 -07:00
Rachel Menge 6f338743d8
Build mpt2sas and mpt3sas drivers, and pata_legacy as modules (#10367)
CONFIG_SCSI_MPT2SAS and CONFIG_SCSI_MPT3SAS both point to the same driver for PCI-Express SAS 12Gb/s Host Adapters. Make loadable instead of built-in by default as not all use cases need these. We initially made these built-in with the initial distrobution of CBL-Mariner and not by specific request.

CONFIG_PATA_LEGACY supports PATA (Parallel ATA) the older parallel connected bus (those using ribbon cable). Make loadable instead of built-in by default.
2024-09-12 15:00:28 -07:00
joejoew 6d0d146d8d
Add package libmd (#10429)
Co-authored-by: Zhichun Wan <zhichunwan@microsoft.com>
2024-09-12 11:50:55 -07:00
Rachel Menge 5cafa37e12
Enable CET, IBT, and Paravirt spinlocks (#10365)
Enable CONFIG_PARAVIRT_SPINLOCK. Performance improvement. Changes the spinlock mechanism for virtualized environments to "something virtualization-friendly". This is recommended by upstream default.

Enable CONFIG_X86_KERNEL_IBT. A security feature to protect against indirect branch tracking. The kernel IBT defense strongly mitigates the common "first step" of ROP attacks, by eliminating arbitrary stack pivots. It is now a recommended default. Should not impact hardware which does not support it. 

Enable CONFIG_X86_CET. Selected by CONFIG_X86_KERNEL_IBT
2024-09-12 11:26:14 -07:00
Harshit Gupta 9e6d58cf69
Add patch to resolve CVE 2024 28085 (#10398)
Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
2024-09-12 14:00:53 -04:00
CBL-Mariner-Bot 947344ed0d
[AUTO-CHERRYPICK] Enabled ccache and set ptest retries to 1 for PR checks (CP: #8503, #10133) - branch 3.0-dev (#10393)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-09-12 10:42:48 -07:00
Rachel Menge b52a6b59d6
Enable usb hiddev and serial ch341 (#10368)
Enable USB HID support for AMD. This feature allows devices to use the HIDDEV API. "The two big examples for this are power devices (especially uninterruptible power supplies) and monitor control on higher end monitors."
Enable the module ch341. This is being added as an optional loadable module to support using a Winchiphead CH341 single port USB to serial adapter.
2024-09-12 09:47:12 -07:00
Rachel Menge 5f484ecc2b
Remove exit 1 for glibc check section (#10424)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-09-11 15:52:33 -07:00
CBL-Mariner-Bot aac931a41a
[AUTOPATCHER-kernel] Kernel CVE - branch 3.0-dev - CVE-2024-38381 (#10408) 2024-09-11 13:56:02 -07:00
aadhar-agarwal e21bf625ec
Patch CVE-2024-6197 in curl (#10128) 2024-09-11 13:54:09 -07:00
Chris Gunn b1315eb45e
Image Customizer: Fix merge conflict. (#10422)
#10404 and #10383 were merged at a similar time but had a hidden merge conflict.
2024-09-11 13:52:10 -07:00
Chris Gunn 8d9cdec4d1
Image Customizer: Add support for 'vfat' filesystem. (#10404)
The FAT filesystem is a tad confusing. Technically, FAT12, FAT16, and FAT32 refer to a fat filesystem with 12, 16, and 32 bit addressing respectively. However, you can't just use FAT32 for everything since each variant has different min and max partition sizes. So, instead you have to dynamically select the correct one based on the partition size. However, a lot of partioning tools (including Windows) hide this complexity and just use 'fat32' to mean either FAT12, FAT16, or FAT32.

There is also VFAT which refers to any FAT filesystem variants where long filename support is enabled. Nowadays it is pretty much always enabled. So, it isn't unusual for tools (including the Linux kernel) to use 'vfat' as a generic term to refer to any of the FAT filesystem variants.

The image customizer tool currently supports 'fat32' to mean dynamically selecting between FAT12, FAT16, or FAT32. This change adds 'vfat' to mean the same thing.
2024-09-11 12:32:59 -07:00
Chris Gunn e501adb3ff
Image Customizer: Allow omitting disk maxSize and partition start. (#10383)
Allow the partition start to be inferred from the previous partition's end. Also, allow the disk's maxSize to be inferred from the size/end of the last partition.

In addition, since the partition start can now be omitted, require the partitions to be specified in order. Fortunately, most users do this anyway.
2024-09-11 12:14:33 -07:00
Chris Gunn ba67c679db
Image Customizer: Rename 'fileSystems' to 'filesystems'. (#10384) 2024-09-10 16:03:56 -07:00
Chris Gunn 43af77fb96
Image Customizer: Add doc for 'sshPublicKeys'. (#10386)
The 'sshPublicKeys' field is missing from the docs.
2024-09-10 11:18:29 -07:00
Ankita Pareek 883ed47a82
krb5: Add patch for fixing CVE-2024-26458 and CVE-2024-26461 (#10317)
Signed-off-by: ankita <ankitapareek@microsoft.com>
Co-authored-by: ankita <ankitapareek@microsoft.com>
2024-09-10 10:28:31 +05:30
amritakohli 9852ee4f12
azurelinux-sysinfo: add rpm as a requirement (#10387) 2024-09-09 14:28:25 -07:00
Gary Swalling be535948c1
Upgrade expat to 2.6.3 to fix CVE-2024-45490, CVE-2024-45491, CVE-2024-45492 (#10331) 2024-09-09 13:58:30 -07:00
CBL-Mariner-Bot 0401d3383d
[AUTO-CHERRYPICK] Updated raw toolchain source for 3.0 PR check ADO builds. - branch 3.0-dev (#10308)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-09-09 12:38:36 -07:00
Davis Goodin f139d84481
Bump Go Version to 1.22.7-1 (#10380) 2024-09-09 09:02:19 -07:00
KavyaSree2610 cd26ea7073
Add postgresql-service subpackage (#10285)
Co-authored-by: kavyasree <kkaitepalli@microsoft.com>
2024-09-09 20:47:12 +05:30
eiffel-fl e76d675bbf
ig: Bump to v0.32.0. (#10322)
Changelog: https://github.com/inspektor-gadget/inspektor-gadget/releases/tag/v0.32.0
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
2024-09-09 10:56:32 +05:30
Muhammad Falak R Wani 11a9fa2799
toolkit: pkgbld: add ccache option & switch QUICK_REBUILD_PACKAGES=y (#10370)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-09-08 21:21:30 +05:30
chalamalasetty 37ae557823
Fix for Azure Linux 3.0 Arm64 ISO OS installation issue (#10374) 2024-09-06 16:35:25 -07:00
sharath-srikanth-chellappa dd36c18036
Adding swtpmtools to list of required packages for kubevirt (#10379)
Co-authored-by: Sharath Srikanth Chellappa <sharathsr@microsoft.com>
2024-09-06 12:38:39 -07:00
Chris Gunn 9c978f0409
Image Customizer: Functional tests for kernel modules API. (#10363)
Add functional tests for the kernel modules API. There are already good test coverage for this feature from unit tests. So, the functional tests don't need to be that extensive.
2024-09-05 15:21:17 -07:00
Chris Gunn 250db44006
Image Customizer: Add doc for cloning an RPM repo. (#10330)
Provide instructions for cloning and RPM repo (e.g. PMC) and then using the clone with the image customizer tool. This is primarily intended for those who want reproducible builds.
2024-09-05 11:37:22 -07:00
elainezhao96 449f279ffc
OSModifier: Add support for updating grub (#9874)
Co-authored-by: Ubuntu <azureuser@elaine-dev2.ympr0pkouz1evfbws3zckpfswc.bx.internal.cloudapp.net>
2024-09-05 11:31:31 -07:00
Andrew Phelps a83715e18b
libzip: fix package tests (#10184) 2024-09-05 10:34:42 -07:00
Rohit Rawat 9a52483013
Patch CVE-2024-6923 in python3 (#10276) 2024-09-05 11:59:52 +05:30
Neha Agarwal 638e10315e
port perl-Devel-GlobalDestruction (#10333) 2024-09-04 16:41:57 -07:00
Neha Agarwal cca638e2f7
port more perl packages from extended (#10336) 2024-09-04 16:41:52 -07:00
Neha Agarwal 9220c670f1
port perl modules from extended into core: part-7 (#10337) 2024-09-04 16:41:46 -07:00
Rachel Menge d55207537d
Patch CVE-2024-3651 for python-pip (#10283)
CVE-2024-3651 affects idma versions before 3.7. Therefore,
update vendored version of idma in pip to 3.7.

This patch is a combination of 2 upstream commits:
[d83c9e3] Upgrade idna to 3.6
[cba5b13] Upgrade idna to 3.7

Additionally, python3-wheel and python3-pip are both in the
toolchain so address "TODO" and add python3-wheel as a
BR to fix non-toolchain builds.

Note that python-pip has new versions (such as 24.2) but the
setup.py script was removed. They removed setup.py here: pypa/pip@0ad4c94
Therefore, patch CVE directly to avoid changing the build section
implementation.
2024-09-04 16:16:27 -07:00
Neha Agarwal c6cbc5e141
add missing tags (#10332) 2024-09-04 14:43:04 -07:00
Chris Gunn d790a145aa
Image Customizer: Bump version to v0.7 (#10344) 2024-09-04 14:14:37 -07:00
Pawel Winogrodzki 1449e9120a
Set ptest retries to 1 for PR package build check. (CP: #10133) (#10219) 2024-09-04 13:46:13 -07:00
Chris Gunn e286e15ed7
GitHub actions: Update version of actions/upload-artifact task (#10349)
GitHub actions is complaining that we are using an old, deprecated version of the `actions/upload-artifact` task.
2024-09-04 12:28:23 -07:00
Lanze Liu ae193e0202
Optimizing OverlayFS module with new IFS separator and new supported mode. (#10321)
Authored-by: lanzeliu <lanzeliu@microsoft.com>
2024-09-03 16:34:49 -07:00
Pawel Winogrodzki 76464470a7
Extended spec PR check to validate the `Distribution` and `Vendor` tags. (#10328) 2024-09-03 16:01:52 -07:00
Andrew Phelps e1958d3612
python-packaging: fix provides (#10299) 2024-09-03 15:19:42 -07:00
Neha Agarwal 7e2649d568
add missing vendor and distribution tags to core specs (#10327) 2024-09-03 13:32:36 -07:00
Chris Gunn 7e81c38826
nss: Disable DBM backend. (#10279)
This change disables building the DBM backend in the NSS library.

For the NSS library and tools, a replacement SQLite database backend has been available since v3.12. The DBM backend has been deprecated since v3.35. Also, the DBM backend code is scheduled for deletion in a future release. As such any found CVEs (e.g. CVE-2017-11695) are being WONTFIXed by upstream.
2024-09-03 12:53:13 -07:00
Harshit Gupta 4b247d3580
Update virt_launcher.cil installation path in virt-handler container (#10174)
Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
Co-authored-by: Aditya Dubey <110563293+Adub17030MS@users.noreply.github.com>
2024-09-03 15:49:18 -04:00
Neha Agarwal c2853e840b
add missing vendor and distribution tags in new specs (#10325) 2024-09-03 12:23:16 -07:00
Neha Agarwal 7da099baae
add perl-Devel-Refcount (#10309) 2024-09-03 12:06:37 -07:00