mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: officially support WSL2; pester user for UTF-8 terminal
- new `wsl2.sh` file with WSL2-related functions; checking/validating/pestering user; allow WSL2 (not WSL1) Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
This commit is contained in:
@@ -9,6 +9,7 @@ function prepare_host() {
|
||||
# Those are not logged, and might be interactive.
|
||||
display_alert "Checking" "host" "info"
|
||||
obtain_and_check_host_release_and_arch # sets HOSTRELEASE and validates it for sanity; also HOSTARCH
|
||||
check_windows_wsl2 # checks if on Windows, on WSL2, (not 1) and exits if not supported
|
||||
check_host_has_enough_disk_space # Checks disk space and exits if not enough
|
||||
wait_for_package_manager # wait until dpkg is not locked...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user