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

4682 Коммитов

Автор SHA1 Сообщение Дата
rlmenge e81b5921c7
Upgrade kernel to 6.6.2.1 (#7009)
6.6 was declared the latest LTS. Therefore, upgrade to it.

Notable changes to the spec included a few perf changes.
libtraceevent is now a buildrequires as it is no longer shipped within the source [4171925aa9f3f7bf57b100238f148b50c45c3b1b]. Additionally, perf/examples/bpf was removed [5056c99e8d97e1129ff29826971eefbe345b6837] and the bpf include directory reworked[3b573bf318d894b4290e194c4d7dbcba8c1f6ead].

Finally, the configs for both x86_64 and aarch64 were brought to parity with 6.1.
2023-12-13 22:53:10 -08:00
Chris Gunn 44cc5a30e1 Fix safechoot unmount ordering. (#6708) 2023-12-14 00:10:28 +00:00
Chris Gunn c85b0c511c Sparse disk creation bug fix. (#6707) 2023-12-14 00:10:28 +00:00
Daniel McIlvaney 9ff1f3a408 Support N+1 goal nodes for scheduler (#5798)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2023-12-14 00:10:28 +00:00
Neha Agarwal 8ebb0070b6 containerized-build: Add option to keep container (#6659) 2023-12-14 00:10:27 +00:00
Riken Maharjan 9ae2c2933e Add debug to PR check pipeline to debug intermittent issue (#6692) 2023-12-14 00:10:27 +00:00
Adub17030MS c4c58780f4 fix wrong rights for toolkit/imageconfigs/postinstallscripts/remove-tdnf-cache.sh (#6691) 2023-12-14 00:10:27 +00:00
nicolas guibourge d34756e864 fix wrong rights for toolkit/imageconfigs/additionalconfigs/configure… (#6690)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2023-12-14 00:10:27 +00:00
Riken Maharjan 77e92d3576 Add retry workaround when Package Installation fail. (#6687) 2023-12-14 00:10:27 +00:00
Chris Gunn 77be02a8e0 Image Customizer: Move partition utils into their own file. (#6685) 2023-12-14 00:10:27 +00:00
Mykhailo Bykhovtsev 2d769c50ca Add tdnf remove cache script and run it for marketplace images (#6446) 2023-12-14 00:10:27 +00:00
Chris Gunn b22933fa05 Use embedded binary resources for grub templates. (#6682) 2023-12-14 00:09:25 +00:00
Chris Gunn 189a4decb7 No password: Use `*` instead of `!`. (#6668) 2023-12-14 00:06:47 +00:00
George Mileka 18ed7e8fb3 Switch ccache to use azure managed identity. (#6660) 2023-12-14 00:06:47 +00:00
Neha Agarwal 64317d224e containerized-rpmbuild: Add extra_packages option (#6650) 2023-12-14 00:06:47 +00:00
Tobias Brick c16defe2dc
Tobiasb/openssl align config flags with azl 2 (#6994)
When first migrating to openssl 3, we pretty kept the spec file like the upstream, including ./Configure flags. This change brings us back in line with what we had for AZL 2.0, which was openssl 1.1.1k.

Mostly these are either not really changes or things we had already decided on for AZL 2.0. There are, however, four flags that had been in the upstream that we're keeping (for now):

enable-ktls: This enables the use of Kernel-TLS (if available). See hard-code enable-ktls #6919.
enable-fips: This will likely be removed in a future change; working with an internal team on the right way to do this.
enable-buildtest-c++: Adds some unit tests with C++. Test-only and seems to do no harm so I left it in.
-Wl,--allow-multiple-definition: Necessary due to one or more of the patches we use; will remove in the future if possible.
2023-12-12 17:57:20 -08:00
Cameron E Baird c9b8f0bb95
fix: Address build break in kernel-mshv for 3.0 toolchain (#6992) 2023-12-12 11:32:43 -08:00
Andrew Phelps 4796c14311
3.0-dev: fix openimpi and grep (#6967) 2023-12-11 16:03:17 -08:00
Christopher Co 3e897f9f72
feat: change default hidepid setting to be opt-in (#6969)
Change the user-facing option HidepidDisabled to EnableHidepid to allow user to now opt-in to add hidepid settings.

This change inverts the default setting when no option is supplied to configure hidepid=0, which is more generally desired for better software compat for applications and system services. User can now opt-in to configure the tools to set up hidepid=2.
 
This change also simplifies the hidepid code by only accessing the option from the config right before use. This allows us to remove unnecessary function arguments passed through the various call layers.

Signed-off-by: Chris Co <chrco@microsoft.com>
2023-12-11 15:29:05 -08:00
nicolas guibourge 28c31e2192
fix daily build repo URLs in Makefile (#6971)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2023-12-11 14:19:29 -08:00
Cameron E Baird 4902d07861
fix: Ensure grub2-mkconfig is called after the initramfs generation. (#6943) 2023-12-11 10:39:54 -08:00
Cameron E Baird 685a93c2bb
feat: Allow new builds of Mariner to generate grub.cfg using grub2-mkconfig using imageconfig EnableGrubMkconfig (#6299)
Co-authored-by: Daniel McIlvaney <damcilva@microsoft.com>
2023-12-11 10:37:23 -08:00
Andrew Phelps f22ad2a935
blobfuse: remove package from 3.0 (#6970) 2023-12-11 10:30:24 -08:00
Andrew Phelps 4e742b6a90
3.0 package build fixes: crash, grep, libpsm2, openmpi, sysstat (#6949) 2023-12-08 19:06:01 -08:00
Andrew Phelps d8742a711b
remove apparmor from 3.0-dev (#6966) 2023-12-08 18:58:17 -08:00
rlmenge 6c8b27c94e
[3.0] Update ARM configs to match 2.0 (#6872)
For this commit, I analyzed all configs which were set to "y"/"m"
in the 5.15 kernel but "is not set" or missing in 6.1. I
determined whether they were supported, refactored, or depricated
in 6.1. In the first two cases, I enable the missing config or
its new equivalent.

This analysis was done by using a Mariner container, copying the
6.1 kernel source and running 'make menuconfig' until the missing
configs could all be explained via a commit in the kernel source.
2023-12-08 14:20:04 -08:00
Cameron E Baird 93a96b7c15
feat: Add kexec-tools crashkernel configuration for mkconfig flow (#6281) 2023-12-07 13:52:33 -08:00
Tobias Brick 9405633a3f
removed unneeded requires and reformat them (#6932)
Initial merge of openssl.spec included some BuildRequires and Requires statements that were not needed and had them formatted counter to our standard. This removes spurious *Requires statements and organizes sorts them with one per line.

Note that it's not easy to actually tell what's required -- some things will simply be there. For example, even without the BuildRequires: gcc, the compiler was already in the chroot we use to build. I made a best attempt from reading docs and experimenting.
2023-12-07 13:32:04 -08:00
jslobodzian 5ab7d0170f
Add DAILY_BUILD_ID option (#6884) 2023-12-07 15:03:36 -05:00
Pawel Winogrodzki b5be22631f
Updated `fribidi` to version 1.0.13. (#6941) 2023-12-07 11:54:32 -08:00
Andrew Phelps fb8943759f
libdnf: upgrade to 0.72.0 (#6940) 2023-12-07 11:32:50 -08:00
Andrew Phelps 2b96377a31
llvm: fix build break due to <cstdint> header (#6930) 2023-12-06 18:30:34 -08:00
Tobias Brick 9a2a912ff5
hard-code enable-ktls (#6919)
The upstream openssl.spec decided whether to enabled ktls based on the architecture of the system.

After confirming that ktls is approved security-wise, this change removes the architecture-specific decision and just uses the flag directly.
2023-12-06 12:34:28 -08:00
Tobias Brick a50771b5ce
Tobiasb/openssl remove arch flag (#6912)
The upstream openssl.spec has quite a bit of logic to figure out the correct architecture to pass to Configure, and figure out a couple flags. However, we only support two architectures and they're built on the target system, which Configure will figure out.

This change removes the logic and hard-codes the only flag that was relevant.
2023-12-05 14:31:35 -08:00
Andrew Phelps cd07f9a4ab
pyparted: fix gpg keyboxd issue (#6908) 2023-12-05 10:45:51 -08:00
Tobias Brick cc849dde64
switch RPM_OPT_FLAGS for our more standard way of doing it (#6907)
The upstream openssl.spec file uses a slightly different mechanism that our standard to specificy general compiler options. This change moves to our standard mechanism.
2023-12-05 09:01:39 -08:00
Cameron E Baird 7d73aa4755
fix: Package both grub2 configuration dirs in grub2-configuration.rpm (#6497) 2023-12-04 15:47:40 -08:00
nicolas guibourge 82642b4044
CodeQL Mariner toolkit (#6885) (#6904)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2023-12-04 15:37:45 -08:00
Tobias Brick 28662b117e
Tobiasb/openssl remove redhat flag (#6895)
The upstream openssl spec has a redhat-specific config/compile flag. This change removes that, comments out a relevant patch and adds a patch to disable tests that fail due to the change.

The tests we disable are the dsa tests that use sha1, which is currently disabled due to FIPS. I believe that this is technically supposed to work, because it will pick up the fact that it's disabled and only do the relevant tests (based on this commit), but some of our patches seem to muck with that.

Right now I'm focusing on fixing config flags and will then move on to patches, so disabling the tests makes the most sense for now.
2023-12-04 13:21:08 -08:00
Dan Streetman a404e66ab3 fix hash in zsh signature file 2023-12-04 16:11:16 -05:00
Cameron E Baird 820e37af9c
Remove loglevel=3 for isomaker cfgs (#6891) 2023-12-04 11:19:13 -08:00
Cameron E Baird 3f3fb12453
Remove loglevel=3 for mkconfig boot flow (#6890) 2023-12-04 11:16:25 -08:00
Cameron E Baird 118a78c5d0
fix: Change CONSOLE_LOGLEVEL_DEFAULT -> CONFIG_CONSOLE_LOGLEVEL_DEFAULT in mariner-required-configs.json (#6897) 2023-12-04 11:13:32 -08:00
Cameron E Baird 0f621872e7
Remove loglevel=3 for legacy boot flow (#6888) 2023-12-04 11:05:13 -08:00
rlmenge ed10707465
[3.0] Remove kernel-azure (#6845) 2023-12-04 09:53:06 -08:00
Dan Streetman e56fbebdc1 remove umask 027 2023-12-04 11:13:06 -05:00
Tobias Brick a0452a31d0
Fix patch failure in check section of openssl (#6883)
openssl's check section failed because of a conflict between a test patch file and modifications to other patches and config.

This change fixes that patch file and all tests pass.
2023-12-03 08:20:19 -08:00
nicolas guibourge c732954ec0
[mariner 3.0] spec upgrades - batch1 (#6646)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2023-12-01 20:42:59 -05:00
Andrew Phelps 28e59b51dd
3.0 toolchain: upgrade 16 specs (#6854) 2023-12-01 10:34:16 -08:00
Jon Slobodzian d350d47a23 Revert "Add DAILYBUILDID option"
This reverts commit 3c390ad4d3.
2023-12-01 09:34:33 -08:00