Commit 085740ed authored by amnesia's avatar amnesia

scripts/config: specify distribution when initializing defaults

... else variables such as LH_LINUX_PACKAGES are wrongly set the first time, and
never fixed later (e.g. breaks Squeeze builds).
parent 1869a463
......@@ -9,15 +9,14 @@ fi
# init variables
RUN_LH_CONFIG="lh config noautoconfig"
# init config/ with defaults
$RUN_LH_CONFIG ${@}
# init config/ with defaults for the target distribution
$RUN_LH_CONFIG --distribution lenny ${@}
# set Amnesia's general options
$RUN_LH_CONFIG \
--apt-recommends disabled \
--cache-stages "bootstrap rootfs" \
--archive-areas "main contrib non-free" \
--distribution lenny \
--hostname="amnesia" \
--iso-application="Amnesia live system" \
--iso-publisher="https://amnesia.boum.org/" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment