Commit Graph

17 Commits (medyagh-patch-3)

Author SHA1 Message Date
Nir Soffer 77b44f9269
iso: Improve build and clean up configuration (#20991)
* iso: Extract buildroot target

Beofre we can build the iso, we need to clone and configure buildroot.
This is required to run iso-menuconfig-{arch}.

* iso: Extract iso-prepare-% target

This target prepare for building an iso or running menuconfig. With this
change we can run the {iso,linux}-menuconfig-{x86_64,aarch64} targets
without buidling the entire iso.

* iso: Fix linux-menuconfig-% target

Previouly it worked only after building the entire iso. Now we make this
target without building the iso or running iso-menuconfig.

On the first run this downloads and builds lot for packages required to
run the linux-menuconfig target, but it is much shorter than buidling
the entire iso.

* iso: Simplify linux-menuconfig-%

Preveviously we copied the defconfig manauly to the beoard config file.
This can be done using the special linux-update-defconfig target.

With this change we don't need to keep KERNEL_VERSION in the Makefile,
making future upgrade easier.

* iso: Update buildroot configuration for aarch64

Run `make iso-menuconfig-aarch64` without making any changes updates the
buildroot config. It seems that there were manual changes in the config
which are overwritten when running iso-menuconfig. Removing the manual
changes to make it easier to edit the configuration with kconfig.

* iso: Update buildroot configuration for x86_64

Same as the aarch64 change to make it easier to configure using kconfig.

* iso: Update linux configuration for aarch64

Same as iso-menuconfig-aarch64, run `make linux-menuconfig-aarch64` and
exit without any change to update the config. This seems to change the
order, removing manual changes from the config. This will make it easier
to configure using kconfig in the future.

* iso: Update linux configuration for x86_64

Same as the aarch64 changes to make it easier to configure using kconfig
in the future.

* iso: Disable all platform for aarch64

We run on qemu virt machine or apple virtualization so we don't need
support for all kinds of embeded Arm boards. This reduces the arm64 iso
size from 410 MiB to 392 MiB.

* Updating ISO to v1.36.0-1751221996-20991

* Updating ISO to v1.36.0-1751315722-20991

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-07-01 14:21:57 -07:00
Timothée Ravier 41998cce1d defconfig: Remove R2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y 2024-02-22 20:00:53 +01:00
Timothée Ravier 61428ba99c defconfig: Update GRUB2_BUILTIN_CONFIG to EFI 2024-02-22 20:00:53 +01:00
Timothée Ravier efab92a104 package: Use tbb from buildroot 2024-02-22 20:00:53 +01:00
Timothée Ravier 67705b7eae package: Use pahole from buildroot 2024-02-22 20:00:53 +01:00
Timothée Ravier ca75dc5244 ISO: Update Linux kernel from 5.10.57 to 5.10.207
Inspired from https://github.com/kubernetes/minikube/pull/17093
2024-02-22 20:00:53 +01:00
Francis Laniel 6a0eea2298 Add eBPF related kernel options.
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
2022-06-10 17:51:27 +01:00
Francis Laniel 770d41f21b Use kernel 5.10 for minikube.iso.
This commit jumps kernel version used in minikube.iso to 5.10.
To do so, the following kernel configuration options were added to
linux_*_defconfig:
- CONFIG_TMPFS to be able to use mount -t tmpfs in init.
- CONFIG_PCI to have network.
- CONFIG_BRIDGE_NETFILTER to have /proc/sys/net/bridge/bridge-nf-call-iptables
which is needed by kubeadm.

CONFIG_* relaed to vbox were added to linux_x86_64_defconfig and as consequence
vbox related packages were removed since vbox modules are available in
upstream kernel.

To compile falco module, CONFIG_FTRACE_* were added to linux_aarch64_defconfig.

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
2022-06-07 10:35:58 +01:00
Sharif Elgamal d1829f24ec small fixes 2022-05-06 14:52:37 -07:00
Sharif Elgamal 68eb4b027f install the libcurl package to make curl work 2022-05-03 12:28:40 -07:00
Sharif Elgamal 64a1c9dfab update config to match buildroot version bump 2022-05-03 12:08:56 -07:00
Sharif Elgamal 7d140f86c1 readd configs dir 2022-04-26 11:55:29 -07:00
Sharif Elgamal 052cec1932 try using arch directory 2022-04-26 11:50:08 -07:00
Sharif Elgamal 65b300587c small config fixes for aarch64 2022-04-01 09:29:07 -07:00
Sharif Elgamal 5d385291cf remove sysdig kernel module 2022-03-30 11:18:48 -07:00
Sharif Elgamal f883f9e5b5 point to correct defconfig file 2022-03-30 09:35:54 -07:00
Sharif Elgamal 325ab07516 shuffling many things around 2022-03-09 15:24:06 -08:00