mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add OMR_LOG option to write compilation log
This commit is contained in:
parent
fb8c7d8bb6
commit
99b7a370e4
1 changed files with 5 additions and 0 deletions
5
build.sh
5
build.sh
|
@ -31,6 +31,7 @@ OMR_HOST=${OMR_HOST:-$(curl -sS ifconfig.co)}
|
|||
OMR_PORT=${OMR_PORT:-80}
|
||||
OMR_KEEPBIN=${OMR_KEEPBIN:-no}
|
||||
OMR_IMG=${OMR_IMG:-yes}
|
||||
OMR_LOG=${OMR_LOG:-no}
|
||||
#OMR_UEFI=${OMR_UEFI:-yes}
|
||||
OMR_PACKAGES=${OMR_PACKAGES:-full}
|
||||
OMR_ALL_PACKAGES=${OMR_ALL_PACKAGES:-no}
|
||||
|
@ -320,6 +321,10 @@ if [ "$OMR_IMG" = "yes" ] && [ "$OMR_TARGET" = "x86_64" ]; then
|
|||
echo 'CONFIG_VHDX_IMAGES=y' >> "$OMR_TARGET/${OMR_KERNEL}/source/.config"
|
||||
fi
|
||||
|
||||
if [ "$OMR_LOG" = "yes" ]; then
|
||||
echo 'CONFIG_BUILD_LOG=y' >> "$OMR_TARGET/${OMR_KERNEL}/source/.config"
|
||||
fi
|
||||
|
||||
if [ "$DISABLE_FAILSAFE" = "yes" ]; then
|
||||
rm -f "$OMR_TARGET/${OMR_KERNEL}/source/package/base-files/files/lib/preinit/30_failsafe_wait"
|
||||
rm -f "$OMR_TARGET/${OMR_KERNEL}/source/package/base-files/files/lib/preinit/40_run_failsafe_hook"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue