File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11source " ${BOOSTRAP_DIR} /bootstrap_apps_cli.sh"
22
3+ if test " $BOOTSTRAP_SKIP_APPS_OS_ENVIRONMENT_INSTALL " = " 0" ; then
4+ message_info_show " Skip OS Environment installation"
5+ else
6+ source " ${BOOSTRAP_DIR} /bootstrap_apps_os_environment.sh"
7+ fi
8+
39if test " $BOOTSTRAP_SKIP_APPS_GUI_INSTALL " = " 0" ; then
410 message_info_show " Skip GUI apps installion"
511else
Original file line number Diff line number Diff line change 1+ # OS environment
2+
3+ if is_profile_admin_or_similar; then
4+ if qemu_is_running; then
5+ :
6+ # is_cli_priority "critical" && is_archl && archlinux_pacman_aur_install ""
7+ fi
8+ fi
9+
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ source "${BOOSTRAP_DIR}/common/shell/tmux.sh"
3030source " ${BOOSTRAP_DIR} /common/shell/sudo.sh"
3131source " ${BOOSTRAP_DIR} /common/shell/user_password.sh"
3232source " ${BOOSTRAP_DIR} /common/shell/container.sh"
33+ source " ${BOOSTRAP_DIR} /common/shell/qemu.sh"
3334source " ${BOOSTRAP_DIR} /common/shell/systemd.sh"
3435source " ${BOOSTRAP_DIR} /common/shell/ci.sh"
3536source " ${BOOSTRAP_DIR} /common/shell/vscode.sh"
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ source "${BOOSTRAP_DIR}/common/shell/tmux.sh"
3030source " ${BOOSTRAP_DIR} /common/shell/sudo.sh"
3131source " ${BOOSTRAP_DIR} /common/shell/user_password.sh"
3232source " ${BOOSTRAP_DIR} /common/shell/container.sh"
33+ source " ${BOOSTRAP_DIR} /common/shell/qemu.sh"
3334source " ${BOOSTRAP_DIR} /common/shell/systemd.sh"
3435source " ${BOOSTRAP_DIR} /common/shell/ci.sh"
3536source " ${BOOSTRAP_DIR} /common/shell/vscode.sh"
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ source "${BOOSTRAP_DIR}/common/shell/tmux.sh"
2929source " ${BOOSTRAP_DIR} /common/shell/sudo.sh"
3030source " ${BOOSTRAP_DIR} /common/shell/user_password.sh"
3131source " ${BOOSTRAP_DIR} /common/shell/container.sh"
32+ source " ${BOOSTRAP_DIR} /common/shell/qemu.sh"
3233source " ${BOOSTRAP_DIR} /common/shell/systemd.sh"
3334source " ${BOOSTRAP_DIR} /common/shell/ci.sh"
3435source " ${BOOSTRAP_DIR} /common/shell/vscode.sh"
Original file line number Diff line number Diff line change 1+ qemu_is_running () {
2+ if grep -qi " QEMU" /sys/class/dmi/id/product_name; then
3+ return 0
4+ elif grep -qi " QEMU" /proc/cpuinfo; then
5+ return 0
6+ elif command -v virt-what > /dev/null && [[ $( virt-what) == " qemu" ]]; then
7+ return 0
8+ else
9+ return 1
10+ fi
11+ }
You can’t perform that action at this time.
0 commit comments