feat: bundle multi-arch offline images into fnOS package

This commit is contained in:
2026-10-02 14:37:50 +08:00
parent 4eb58b9db9
commit e749c2afaf
8 changed files with 186 additions and 53 deletions
+5
View File
@@ -1,8 +1,13 @@
#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
source "$SCRIPT_DIR/offline_image.sh"
mkdir -p "$TRIM_PKGVAR" "$TRIM_PKGVAR/backups"
chown -R "$TRIM_USERNAME:$TRIM_GROUPNAME" "$TRIM_PKGVAR"
load_offline_image
echo "Havline 数据目录已准备:$TRIM_PKGVAR"
exit 0