diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/config b/scripts/build/config index c4ce1e8c4..38ae64e11 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -26,7 +26,6 @@ then fi # Setting static variables -SYSTEM_LB_CONFFILE="/etc/default/live-build" DESCRIPTION="$(Echo 'create configuration for live-build(7)')" USAGE="${PROGRAM} [--apt apt|aptitude]\n\ \t [--apt-ftp-proxy URL]\n\ @@ -795,10 +794,11 @@ Local_arguments () } # Reading system configuration -if [ -f "${SYSTEM_LB_CONFFILE}" ] && ! In_list "--ignore-system-defaults" "${@}" +if ! In_list "--ignore-system-defaults" "${@}" then - Echo_message "Considering defaults defined in %s" "${SYSTEM_LB_CONFFILE}" - Read_conffiles "${SYSTEM_LB_CONFFILE}" + Echo_message "Considering defaults defined in %s" "/etc/live/build.conf" + + Read_conffiles /etc/live/config.conf /etc/live/config.d/* fi # Reading existing configuration |