Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Mon, 02 Jan 2023 20:24:01
Message-Id: 1672690922.1c67748297c23157c693cfee5f869a0deb9f6802.bkohler@gentoo
1 commit: 1c67748297c23157c693cfee5f869a0deb9f6802
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 20:22:02 2023 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 20:22:02 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=1c677482
7
8 targets/support/livecdfs-update.sh: set hostname= rather than HOSTNAME=
9
10 Apparently the use of HOSTNAME in /etc/conf.d/hostname has been
11 deprecated in favor of hostname for a while. Support for that was
12 completely removed recently.
13
14 https://github.com/OpenRC/openrc/commit/d2b31440708bd0cb70e5317e05b8ae80e4866269
15
16 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
17
18 targets/support/livecdfs-update.sh | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
22 index 251a6887..dafe4c3a 100755
23 --- a/targets/support/livecdfs-update.sh
24 +++ b/targets/support/livecdfs-update.sh
25 @@ -17,7 +17,7 @@ rm -rf /etc/localtime
26 cp /usr/share/zoneinfo/UTC /etc/localtime
27
28 # Setup the hostname
29 -echo 'HOSTNAME="livecd"' > /etc/conf.d/hostname
30 +echo 'hostname="livecd"' > /etc/conf.d/hostname
31 echo "127.0.0.1 livecd.gentoo livecd localhost" > /etc/hosts
32
33 # Since we're an official Gentoo release, we do things the official Gentoo way.