From 4bdf78e427a081da363eb0bf12b9bc114aa89745 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 11 Apr 2020 22:09:36 +0200 Subject: [PATCH] build-debian-toolbox: Default VERSION_ID Sid doesn't have a VERSION_ID. --- build-debian-toolbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-debian-toolbox b/build-debian-toolbox index fbeb13b..821b52b 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -31,7 +31,7 @@ sudo umount /var/log/journal # useful hostname . /etc/os-release -echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname +echo "${ID}-${VERSION_ID:-sid}" | sudo tee /etc/hostname sudo hostname -F /etc/hostname sudo eatmydata apt-get -y dist-upgrade -- 2.39.5