Commit b24c86d1 authored by Alessandro Elias's avatar Alessandro Elias

Merge branch 'issue/647' into 'develop'

SCRUM#647: Set file /etc/le_version

See merge request !20
parents bb430265 589aca78
Pipeline #19077 passed with stage
in 12 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