Skip to content

Commit 9f47631

Browse files
committed
chore: Update image/README.md with AnduinOS information
This commit updates the image/README.md file to include information about AnduinOS, such as the language, version, and date of the image. It also provides instructions on how to use AnduinOS and where to find more information. This update improves the clarity and completeness of the README file.
1 parent b6450cd commit 9f47631

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

src/build.sh

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,38 @@ EOF
205205
EOF
206206
judge "Generate README.diskdefines"
207207

208+
DATE=`TZ="UTC" date +"%y%m%d%H%M"`
209+
cat << EOF > image/README.md
210+
# AnduinOS $TARGET_BUILD_VERSION
211+
212+
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.
213+
214+
This image is built with the following configurations:
215+
216+
- **Language**: $LANG_MODE
217+
- **Version**: $TARGET_BUILD_VERSION
218+
- **Date**: $DATE
219+
220+
AnduinOS is distributed with GPLv3 license. You can find the license on [GPL-v3](https://gitlab.aiursoft.cn/anduin/anduinos/-/blob/master/LICENSE).
221+
222+
## How to use
223+
224+
Before starting, please turn off Secure Boot in your BIOS settings.
225+
226+
Press F12 to enter the boot menu when you start your computer. Select the USB drive to boot from.
227+
228+
You will see two options:
229+
230+
1. **Try AnduinOS**: Boot into AnduinOS without installing it. This is a good way to test the system before installing it.
231+
2. **Install AnduinOS**: Install AnduinOS on your computer. This will erase all data on the target disk.
232+
233+
Select the option you want and press Enter.
234+
235+
## More information
236+
237+
For detailed instructions, please visit [AnduinOS Document](https://docs.anduinos.com/Install/System-Requirements.html).
238+
EOF
239+
208240
print_ok "Copying boot files..."
209241
pushd $SCRIPT_DIR/image
210242
grub-mkstandalone \
@@ -274,7 +306,6 @@ EOF
274306
"."
275307
judge "Create iso image"
276308

277-
DATE=`TZ="UTC" date +"%y%m%d%H%M"`
278309
print_ok "Moving iso image to $SCRIPT_DIR/dist/$TARGET_BUSINESS_NAME-$TARGET_BUILD_VERSION-$LANG_MODE-$DATE.iso..."
279310
mkdir -p $SCRIPT_DIR/dist
280311
mv $SCRIPT_DIR/$TARGET_NAME.iso $SCRIPT_DIR/dist/$TARGET_BUSINESS_NAME-$TARGET_BUILD_VERSION-$LANG_MODE-$DATE.iso

0 commit comments

Comments
 (0)