forked from tfgrid/zosbuilder
build/initramfs/rfs: stabilize paths, tests; add branding guard; ntp robustness
• rfs_flists: normalize CWD to PROJECT_ROOT; invoke packers via absolute paths (fix relative lookup under kernel/current) • initramfs_create_cpio: redirect to absolute output path; add explicit customization verification logs • initramfs_test: default INITRAMFS_ARCHIVE to absolute dist/initramfs.cpio.xz when stage is invoked directly • branding: guard motd/issue/password edits behind ZEROOS_BRANDING (or ZEROOS_REBRANDING) with default disabled; do not touch files unless enabled • ntp: write /etc/ntp.conf only if absent; symlink ntpd.conf; runtime ntpd.sh parses kernel ntp= and falls back to Google NTP • docs/config: add commented ZEROOS_BRANDING/REBRANDING examples to config/build.conf
This commit is contained in:
@@ -43,6 +43,12 @@ KERNEL_SOURCE_URL="https://cdn.kernel.org/pub/linux/kernel"
|
||||
# FIRMWARE_TAG="v1"
|
||||
#FIRMWARE_TAG="latest"
|
||||
|
||||
# Branding and customization guard (default off)
|
||||
# Set to "true" to enable Zero-OS branding and passwordless root in initramfs.
|
||||
# Both variables are accepted; ZEROOS_BRANDING takes precedence if both set.
|
||||
ZEROOS_BRANDING="true"
|
||||
ZEROOS_REBRANDING="true"
|
||||
|
||||
# Feature flags
|
||||
ENABLE_STRIP="true"
|
||||
ENABLE_UPX="true"
|
||||
|
||||
Reference in New Issue
Block a user