Fix developer profile

Initialialize a few variables to let --profile developer.prf pass.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
This commit is contained in:
Topi Miettinen 2020-03-20 22:26:51 +02:00
parent 6356b3adb1
commit e98fcb9b73
No known key found for this signature in database
GPG Key ID: 87E1A51C590B0577
2 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,7 @@ unset LANG
DEBSUMSBINARY="" DEBSUMSBINARY=""
DEVELOPER_MODE=0 DEVELOPER_MODE=0
DEVOPS_MODE=0 DEVOPS_MODE=0
DIGBINARY=""
DISABLED_PLUGINS="" DISABLED_PLUGINS=""
DISCOVERED_BINARIES="" DISCOVERED_BINARIES=""
DMIDECODEBINARY="" DMIDECODEBINARY=""
@ -148,6 +149,7 @@ unset LANG
LOCATEBINARY="" LOCATEBINARY=""
LOGFILE="" LOGFILE=""
LOGDIR="" LOGDIR=""
LOGROTATEBINARY=""
LOGTEXT=1 LOGTEXT=1
LSMODBINARY="" LSMODBINARY=""
LSOFBINARY="" LSOFBINARY=""

View File

@ -669,6 +669,7 @@
LogText "Result: found ${FOUND_VMLINUZ}" LogText "Result: found ${FOUND_VMLINUZ}"
fi fi
VERSION_ON_DISK=""
if [ -L "${FOUND_VMLINUZ}" ]; then if [ -L "${FOUND_VMLINUZ}" ]; then
LogText "Result: found a symlink, retrieving destination" LogText "Result: found a symlink, retrieving destination"
FOUND_VMLINUZ=$(readlink "${FOUND_VMLINUZ}") FOUND_VMLINUZ=$(readlink "${FOUND_VMLINUZ}")