diff options
author | 2023-01-02 14:22:02 -0600 | |
---|---|---|
committer | 2023-01-02 14:22:02 -0600 | |
commit | 1c67748297c23157c693cfee5f869a0deb9f6802 (patch) | |
tree | 18d683cebcb2ba29a5978e085d4bbf66d1024683 | |
parent | More i?86 fixes for x86 (diff) | |
download | catalyst-1c67748297c23157c693cfee5f869a0deb9f6802.tar.gz catalyst-1c67748297c23157c693cfee5f869a0deb9f6802.tar.bz2 catalyst-1c67748297c23157c693cfee5f869a0deb9f6802.zip |
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@gentoo.org>
-rwxr-xr-x | targets/support/livecdfs-update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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. |