From efe1466692d528070d05a1b3aa80effa220f22bf Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 9 Nov 2016 14:03:32 +0100 Subject: [PATCH] TT#5444 Fix another instance of /etc/init.d/hostname.sh for stretch Ensure hostname is also valid at the beginning, adjust for stretch where /etc/init.d/hostname.sh no longer exists. Change-Id: Ia084442d7ea2b8b0e6e43f88af4474d3eda4a061 --- deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index 9c4bef3..9ea0060 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1424,7 +1424,7 @@ if [[ $(chroot $TARGET dpkg --list | awk '/^rc/ {print $2}') != "" ]] ; then fi # make sure `hostname` and `hostname --fqdn` return data from chroot -grml-chroot $TARGET /etc/init.d/hostname.sh +grml-chroot $TARGET hostname -F /etc/hostname # make sure installations of packages works, will be overriden later again cat > $TARGET/etc/hosts << EOF