Caution
- Protect your credentials: Never commit your
git_passwordorROOT_PASSWORDto public repositories or share them with others. - Replace default values: Be sure to replace placeholders such as
xxxxxxandpasswordwith strong, unique credentials before running the script. - Review external scripts: This script downloads and executes code from
init.kejizero.xyz. Only run it in environments you trust and after reviewing the source if necessary.
First, define your authentication details and toggle your preferred build parameters. Copy and paste the following into your terminal:
export git_name=MomoFlora git_password=xxxxxx
export BUILD_FAST=y ENABLE_CCACHE=y ENABLE_BPF=y ENABLE_LTO=y ENABLE_LRNG=y ENABLE_MOLD=y USE_GCC16=y ENABLE_OTA=y OPENWRT_CORE=y ROOT_PASSWORD=passwordNote
What do these flags do? 💡
BUILD_FAST=y— Accelerates the compilation process.ENABLE_BPF,LTO,LRNG— Enables advanced system features (eBPF, Link-Time Optimization, Legacy RNG).ENABLE_MOLD=y— Utilizes the high-speedmoldlinker to drastically reduce linking time.USE_GCC16=y— Forces the compiler to use GCC version 16.ENABLE_OTA=y— Prepares the build for Over-The-Air (OTA) updates.
Once your environment variables are set, trigger the remote build script. Specify your target version (e.g., v25) and system architecture (e.g., x86_64):
bash <(curl -sS https://init.kejizero.xyz/build.sh) v25 x86_64Tip
Sit back and relax! ☕
The script will automatically fetch the necessary dependencies, apply your custom configurations, and compile your v25 release for x86_64. Depending on your hardware, this may take a few minutes.
