aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2017-10-13 13:09:29 +0300
committerRiku Voipio <riku.voipio@linaro.org>2017-10-13 15:48:49 +0300
commit9707dfe037dfda99f4f0a6912c1c88ddd25cb554 (patch)
treea735d8b501bd42a342cd6eb9f6e146e7ec5c514f /files
parent3ca2d29c5bd4518fb62260eefd923463c4c00810 (diff)
downloadfai-9707dfe037dfda99f4f0a6912c1c88ddd25cb554.tar.gz
fix scripts/DEBIAN/21-hostname
There is no need to go via classes here. Drop INSTALL.var while at it since we don't use it. Change-Id: Ibb06f8c1e7e6d44788c2d2ad038c5ac418096ae1 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'files')
-rw-r--r--files/etc/hostname/DEBIAN1
-rw-r--r--files/etc/hostname/preinst10
-rwxr-xr-x[-rw-r--r--]files/etc/hosts/preinst0
3 files changed, 0 insertions, 11 deletions
diff --git a/files/etc/hostname/DEBIAN b/files/etc/hostname/DEBIAN
deleted file mode 100644
index b638194..0000000
--- a/files/etc/hostname/DEBIAN
+++ /dev/null
@@ -1 +0,0 @@
-${HOSTNAME}
diff --git a/files/etc/hostname/preinst b/files/etc/hostname/preinst
deleted file mode 100644
index ee32e3a..0000000
--- a/files/etc/hostname/preinst
+++ /dev/null
@@ -1,10 +0,0 @@
-#! /bin/bash
-
-# template expansion
-
-# $1 is the class name used
-# $2 is the path to the file copied
-
-envsubst < $2 > $2.tmp
-mv $2.tmp $2
-
diff --git a/files/etc/hosts/preinst b/files/etc/hosts/preinst
index ee32e3a..ee32e3a 100644..100755
--- a/files/etc/hosts/preinst
+++ b/files/etc/hosts/preinst