mirror of
https://github.com/Anduin2017/AnduinOS.git
synced 2025-09-19 05:11:17 +08:00
Update build script and installation scripts for AnduinOS 0.2.1-beta
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,5 +2,4 @@ src/chroot
|
||||
src/new_building_os
|
||||
src/image
|
||||
src/dist
|
||||
src/patches/anduinos-rime
|
||||
*.iso
|
@ -2,7 +2,7 @@
|
||||
|
||||
[](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.
|
||||
|
||||
|
23
src/build.sh
23
src/build.sh
@ -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
|
||||
|
@ -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"
|
@ -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 \
|
||||
|
Reference in New Issue
Block a user