mirror of
https://github.com/whyour/qinglong.git
synced 2026-11-06 07:10:41 +08:00
Build complete tar.gz packages with production dependencies for 13 Linux architecture/libc targets, including ARMv6 hard-float glibc 2.31. Retain the existing Node runtime and share payload validation between panel downloads, manual offline upgrades, and clean offline installs. Verify immutable archive hashes, every payload file/link/mode, lockfiles and native dependencies before publishing readiness. Apply on explicit restart, verify the running build, and restore prior files/services on failure. Keep ARMv6 archive workers interpreted and allow slow worker/startup readiness. Synchronize prepared jobs when Bash or the operational CLI applies them; verify the target build before committing and preserve recovery semantics. Keep old self-contained Bash reloads working without panel job dependencies. Validation: 770 backend/frontend tests passed (8 platform skips), 293 CLI tests passed (5 platform skips), targeted reload/rollback regressions, backend/CLI type checks, and standalone installer build.
8 lines
316 B
Bash
Executable File
8 lines
316 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
export PROOT_NO_SECCOMP=1 QEMU_CPU=arm1176
|
|
# Bind only kernel interfaces; all application files and writable state remain
|
|
# inside this container's ARMv6 root. Child processes also pass through QEMU.
|
|
exec proot -0 -q '/usr/bin/qemu-arm-static -cpu arm1176' \
|
|
-r /armv6 -b /proc -b /dev -w / "$@"
|