Commit 80a024d4 authored by segfault's avatar segfault
Browse files

VeraCrypt release docs: Quote variables (refs: #15524)

parent 5434f2df
...@@ -32,32 +32,32 @@ If any of these have a new version in stretch or stretch-security: ...@@ -32,32 +32,32 @@ If any of these have a new version in stretch or stretch-security:
RELEASE=stable RELEASE=stable
# The topic branch for this update # The topic branch for this update
BRANCH=feature/update-udisks BRANCH=feature/update-udisks
SUITE=$(echo ${BRANCH} | sed -e 's,[^.a-z0-9-],-,ig' | tr '[A-Z]' '[a-z]') SUITE="$(echo "${BRANCH}" | sed -e 's,[^.a-z0-9-],-,ig' | tr '[A-Z]' '[a-z]')"
sudo tee /etc/apt/sources.list.d/tails.list <<EOF sudo tee /etc/apt/sources.list.d/tails.list <<EOF
deb-src tor+http://jenw7xbd6tf7vfhp.onion/ ${RELEASE} main deb-src tor+http://jenw7xbd6tf7vfhp.onion/ "${RELEASE}" main
deb-src [check-valid-until=no] tor+http://snapshot.debian.org/archive/debian/20180904T000000Z/ stretch main deb-src [check-valid-until=no] tor+http://snapshot.debian.org/archive/debian/20180904T000000Z/ stretch main
EOF EOF
sudo apt update sudo apt update
apt source --download-only ${PACKAGE_NAME}={OLD_VERSION} apt source --download-only "${PACKAGE_NAME}={OLD_VERSION}"
apt source --download-only ${PACKAGE_NAME}={ORIGINAL_VERSION} apt source --download-only "${PACKAGE_NAME}={ORIGINAL_VERSION}"
1. Get the debdiff of our patches: 1. Get the debdiff of our patches:
debdiff ${PACKAGE_NAME}_${ORIGINAL_VERSION}.dsc ${PACKAGE_NAME}_${OLD_VERSION}.dsc > tails.diff debdiff "${PACKAGE_NAME}_${ORIGINAL_VERSION}.dsc" "${PACKAGE_NAME}_${OLD_VERSION}.dsc" > tails.diff
1. Download the new source package: 1. Download the new source package:
apt source ${PACKAGE_NAME}=${NEW_VERSION} apt source "${PACKAGE_NAME}=${NEW_VERSION}"
1. Apply the debdiff on the new version: 1. Apply the debdiff on the new version:
debdiff-apply ${PACKAGE_NAME}_${NEW_VERSION}.dsc tails.diff debdiff-apply "${PACKAGE_NAME}_${NEW_VERSION}.dsc" tails.diff
1. Add changelog entry and build a new version of the patched package 1. Add changelog entry and build a new version of the patched package
in a Stretch/amd64 chroot: in a Stretch/amd64 chroot:
cd ${PACKAGE_NAME}*/ cd "${PACKAGE_NAME}"*/
debchange -i --distribution=${SUITE} --force-distribution debchange -i --distribution="${SUITE}" --force-distribution
pdebuild pdebuild
1. Install the newly built package in the build environment and rebuild all 1. Install the newly built package in the build environment and rebuild all
...@@ -71,7 +71,7 @@ If any of these have a new version in stretch or stretch-security: ...@@ -71,7 +71,7 @@ If any of these have a new version in stretch or stretch-security:
1. Sign and upload updated packages 1. Sign and upload updated packages
debsign $CHANGES_FILE debsign "${CHANGES_FILE}"
dupload --to tails $CHANGES_FILE dupload --to tails "${CHANGES_FILE}"
1. Update the "version in Tails" in this document. 1. Update the "version in Tails" in this document.
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