mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-26 18:10:23 +00:00
scripts: drop LAKKA_DEVBUILD, LAKKA_NIGHTLY, add LAKKA_BUILD_TYPE
This commit is contained in:
parent
5331fff92b
commit
f5eaf79a20
@ -57,8 +57,7 @@ function do_mkimage() {
|
||||
STORAGE_SIZE="${STORAGE_SIZE:-32}" \
|
||||
OVA_SIZE="${OVA_SIZE}" \
|
||||
SKIP_VIRTUAL_APPLIANCE="${SKIP_VIRTUAL_APPLIANCE}" \
|
||||
LAKKA_DEVBUILD="${LAKKA_DEVBUILD:-no}" \
|
||||
LAKKA_NIGHTLY="${LAKKA_NIGHTLY:-no}" \
|
||||
LAKKA_BUILD_TYPE="${LAKKA_BUILD_TYPE:-release}" \
|
||||
${SCRIPTS}/mkimage
|
||||
}
|
||||
|
||||
|
@ -193,7 +193,7 @@ SAY =======
|
||||
SAY live: boot ${DISTRO} using this USB memory device for storage
|
||||
SAY installer: permanently install ${DISTRO} to HDD/SSD
|
||||
EOF
|
||||
if [ "${LAKKA_DEVBUILD}" = "yes" -o "${LAKKA_NIGHTLY}" = "yes" ]; then
|
||||
if [ ! "${LAKKA_BUILD_TYPE}" = "release" ]; then
|
||||
cat << EOF >> "${LE_TMP}/syslinux.cfg"
|
||||
SAY debug: boot ${DISTRO} to console for debugging
|
||||
EOF
|
||||
@ -212,7 +212,7 @@ LABEL installer
|
||||
KERNEL /${KERNEL_NAME}
|
||||
APPEND boot=UUID=${UUID_SYSTEM} installer quiet systemd.debug_shell vga=current
|
||||
EOF
|
||||
if [ "${LAKKA_DEVBUILD}" = "yes" -o "${LAKKA_NIGHTLY}" = "yes" ]; then
|
||||
if [ ! "${LAKKA_BUILD_TYPE}" = "release" ]; then
|
||||
cat << EOF >> "${LE_TMP}/syslinux.cfg"
|
||||
|
||||
LABEL debug
|
||||
@ -235,7 +235,7 @@ menuentry "Install ${DISTRO} to HDD/SSD" {
|
||||
linux /KERNEL boot=UUID=${UUID_SYSTEM} installer quiet systemd.debug_shell vga=current
|
||||
}
|
||||
EOF
|
||||
if [ "${LAKKA_DEVBUILD}" = "yes" -o "${LAKKA_NIGHTLY}" = "yes" ]; then
|
||||
if [ ! "${LAKKA_BUILD_TYPE}" = "release" ]; then
|
||||
cat << EOF >> "${LE_TMP}/grub.cfg"
|
||||
menuentry "Debug ${DISTRO} (console)" {
|
||||
search --set -f /KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user