Update build script and installation scripts for AnduinOS 0.2.1-beta

This commit is contained in:
Anduin Xue
2024-08-21 09:47:34 +00:00
parent 3bdf48655b
commit 1c1ae3df8e
5 changed files with 23 additions and 13 deletions

1
.gitignore vendored
View File

@ -2,5 +2,4 @@ src/chroot
src/new_building_os
src/image
src/dist
src/patches/anduinos-rime
*.iso

View File

@ -2,7 +2,7 @@
[![ManHours](https://manhours.aiursoft.cn/r/gitlab.aiursoft.cn/anduin/anduinos.svg)](https://gitlab.aiursoft.cn/anduin/anduinos/-/commits/master?ref_type=heads)
<img align="right" width="100" height="100" src="./src/patches/logo/logo.svg">
<img align="right" width="100" height="100" src="./src/mods/30-gnome-extension-arcmenu-patch/logo.svg">
AnduinOS is a custom Debian-based Linux distribution that aims to facilitate users transitioning from Windows to Ubuntu by maintaining familiar operational habits and workflows.

View File

@ -75,12 +75,22 @@ function areYouSure() {
esac
}
# Load configuration values from file
function load_config() {
print_ok "Loading configuration from $SCRIPT_DIR/customize.sh..."
. "$SCRIPT_DIR/patches/customize.sh"
judge "Load configuration"
}
#==========================
# Variables for building
#==========================
export TARGET_UBUNTU_VERSION="jammy"
export BUILD_UBUNTU_MIRROR="http://mirror.aiursoft.cn/ubuntu/"
export TARGET_UBUNTU_MIRROR="http://mirrors.anduinos.com/ubuntu/"
export TARGET_NAME="anduinos"
export TARGET_BUSINESS_NAME="AnduinOS"
export TARGET_BUILD_VERSION="0.2.1-beta"
export TARGET_PACKAGE_REMOVE="
ubiquity \
casper \
discover \
laptop-detect \
os-prober \
"
function check_host() {
local os_ver
@ -365,7 +375,6 @@ EOF
# ============= main ================
cd $SCRIPT_DIR
load_config
check_host
clean
setup_host

View File

@ -1,4 +1,10 @@
print_ok "Installing kernel package..."
waitNetwork
apt install -y \
casper \
discover \
laptop-detect \
os-prober \
apt install -y --no-install-recommends linux-generic-hwe-22.04
judge "Install kernel package"

View File

@ -1,10 +1,6 @@
print_ok "Installing ubiquity (Ubuntu installer)..."
waitNetwork
apt install -y \
casper \
discover \
laptop-detect \
os-prober \
ubiquity \
ubiquity-casper \
ubiquity-frontend-gtk \