commit:     1c67748297c23157c693cfee5f869a0deb9f6802
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 20:22:02 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 20:22:02 2023 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=1c677482

targets/support/livecdfs-update.sh: set hostname= rather than HOSTNAME=

Apparently the use of HOSTNAME in /etc/conf.d/hostname has been
deprecated in favor of hostname for a while.  Support for that was
completely removed recently.

https://github.com/OpenRC/openrc/commit/d2b31440708bd0cb70e5317e05b8ae80e4866269

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 targets/support/livecdfs-update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/livecdfs-update.sh 
b/targets/support/livecdfs-update.sh
index 251a6887..dafe4c3a 100755
--- a/targets/support/livecdfs-update.sh
+++ b/targets/support/livecdfs-update.sh
@@ -17,7 +17,7 @@ rm -rf /etc/localtime
 cp /usr/share/zoneinfo/UTC /etc/localtime
 
 # Setup the hostname
-echo 'HOSTNAME="livecd"' > /etc/conf.d/hostname
+echo 'hostname="livecd"' > /etc/conf.d/hostname
 echo "127.0.0.1 livecd.gentoo livecd localhost" > /etc/hosts
 
 # Since we're an official Gentoo release, we do things the official Gentoo way.

Reply via email to