Commit 589aca78 authored by Lucas Sulzbach's avatar Lucas Sulzbach
Browse files

SCRUM#647: Set file /etc/le_version

parent bb430265
Pipeline #19073 passed with stage
in 13 seconds
......@@ -106,6 +106,11 @@ sed --in-place "s/DISTRIB_DESCRIPTION=.*/DISTRIB_DESCRIPTION=\"${NAME}\"/" \
"Unable to change distribution description in lsb-release file" --type warning \
--tag "sed"
# FIXME: The version should be in an exported variable instead of extracted
# from the name variable like this
awk -F ' ' '{print $NF}' <<< "${NAME}" > "${CHROOTDIR}/etc/le_version" || \
create_iso_logger --message "Unable to set le_version file" --tag "awk"
echo "force-confdef" >> /etc/dpkg/dpkg.cfg || create_iso_logger --message \
"Unable to append config option dpkg.cfg" --type warning --tag "echo"
echo "force-confold" >> /etc/dpkg/dpkg.cfg || create_iso_logger --message \
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