WSL2: Drop UEFI images designed specially for WSL2 as they are not needed anymore

This commit is contained in:
Igor Pecovnik
2025-12-17 18:58:59 +01:00
committed by Igor
parent d97928ba17
commit 6e12c118b2
7 changed files with 0 additions and 2844 deletions

View File

@@ -1,9 +0,0 @@
# aarch64 Windows Subsystem for Linux 2 (Hyper-V)
declare -g BOARD_NAME="WSL2 arm64"
declare -g BOARD_VENDOR="generic"
declare -g BOARDFAMILY="uefi-arm64"
declare -g BOARD_MAINTAINER="rpardini"
declare -g KERNEL_TARGET="current,edge"
# Source vendor-specific configuration (common hooks for wsl2 - changes LINUXFAMILY etc)
source "${SRC}/config/sources/vendors/microsoft/wsl2.hooks.sh"

View File

@@ -1,9 +0,0 @@
# x86_64 Windows Subsystem for Linux 2 (Hyper-V)
declare -g BOARD_NAME="WSL2 x86"
declare -g BOARD_VENDOR="intel-amd"
declare -g BOARDFAMILY="uefi-x86"
declare -g BOARD_MAINTAINER="rpardini"
declare -g KERNEL_TARGET="current,edge"
# Source vendor-specific configuration (common hooks for wsl2 - changes LINUXFAMILY etc)
source "${SRC}/config/sources/vendors/microsoft/wsl2.hooks.sh"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,26 +0,0 @@
# enable output-vhdx, so image files for wsl2 can be used directly as Hyper-V virtual machines as well.
enable_extension "image-output-vhdx" # Use .vhdx dynamic output, for Hyper-V (not Azure 1024-aligned static vhd)
# A separate LINUXFAMILY and thus kernel .debs for wsl2; one day we might consider merging wsl2/hyperv patches into generic uefi
function post_family_config__wsl2() {
: "${LINUXFAMILY:?"LINUXFAMILY not set"}"
declare -g LINUXFAMILY="wsl2-${LINUXFAMILY}"
declare -g LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}"
# We _definitely_ don't want any extra drivers in these kernels -- it's purely a VM/Hyper-V thing
declare -g -r EXTRAWIFI="no" # readonly global
}
function post_family_config_branch_current__wsl2() {
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel. For mainline caching.
declare -g KERNELBRANCH="branch:linux-6.1.y" # Branch or tag to build from. It should match MAJOR_MINOR
declare -g KERNELPATCHDIR="archive/${LINUXFAMILY}-${KERNEL_MAJOR_MINOR}" # Microsoft patches
display_alert "Using mainline kernel ${KERNELBRANCH} for" "${BOARD}" "info"
}
function post_family_config_branch_edge__wsl2() {
declare -g KERNEL_MAJOR_MINOR="6.6" # Major and minor versions of this kernel. For mainline caching.
declare -g KERNELBRANCH="branch:linux-6.6.y" # Branch or tag to build from. It should match MAJOR_MINOR
declare -g KERNELPATCHDIR="archive/${LINUXFAMILY}-${KERNEL_MAJOR_MINOR}" # Microsoft patches
display_alert "Using mainline kernel ${KERNELBRANCH} for" "${BOARD}" "info"
}