Skip to content

Commit 1c1ae3d

Browse files
committed
Update build script and installation scripts for AnduinOS 0.2.1-beta
1 parent 3bdf486 commit 1c1ae3d

File tree

5 files changed

+23
-13
lines changed

5 files changed

+23
-13
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ src/chroot
22
src/new_building_os
33
src/image
44
src/dist
5-
src/patches/anduinos-rime
65
*.iso

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![ManHours](https://manhours.aiursoft.cn/r/gitlab.aiursoft.cn/anduin/anduinos.svg)](https://gitlab.aiursoft.cn/anduin/anduinos/-/commits/master?ref_type=heads)
44

5-
<img align="right" width="100" height="100" src="./src/patches/logo/logo.svg">
5+
<img align="right" width="100" height="100" src="./src/mods/30-gnome-extension-arcmenu-patch/logo.svg">
66

77
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.
88

src/build.sh

+16-7
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,22 @@ function areYouSure() {
7575
esac
7676
}
7777

78-
# Load configuration values from file
79-
function load_config() {
80-
print_ok "Loading configuration from $SCRIPT_DIR/customize.sh..."
81-
. "$SCRIPT_DIR/patches/customize.sh"
82-
judge "Load configuration"
83-
}
78+
#==========================
79+
# Variables for building
80+
#==========================
81+
export TARGET_UBUNTU_VERSION="jammy"
82+
export BUILD_UBUNTU_MIRROR="http://mirror.aiursoft.cn/ubuntu/"
83+
export TARGET_UBUNTU_MIRROR="http://mirrors.anduinos.com/ubuntu/"
84+
export TARGET_NAME="anduinos"
85+
export TARGET_BUSINESS_NAME="AnduinOS"
86+
export TARGET_BUILD_VERSION="0.2.1-beta"
87+
export TARGET_PACKAGE_REMOVE="
88+
ubiquity \
89+
casper \
90+
discover \
91+
laptop-detect \
92+
os-prober \
93+
"
8494

8595
function check_host() {
8696
local os_ver
@@ -365,7 +375,6 @@ EOF
365375

366376
# ============= main ================
367377
cd $SCRIPT_DIR
368-
load_config
369378
check_host
370379
clean
371380
setup_host
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
print_ok "Installing kernel package..."
22
waitNetwork
3+
apt install -y \
4+
casper \
5+
discover \
6+
laptop-detect \
7+
os-prober \
8+
39
apt install -y --no-install-recommends linux-generic-hwe-22.04
410
judge "Install kernel package"

src/mods/09-ubiquity-mod/install.sh

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
print_ok "Installing ubiquity (Ubuntu installer)..."
22
waitNetwork
33
apt install -y \
4-
casper \
5-
discover \
6-
laptop-detect \
7-
os-prober \
84
ubiquity \
95
ubiquity-casper \
106
ubiquity-frontend-gtk \

0 commit comments

Comments
 (0)