From 8c15959571568b231afe1eb3358ca3da7c00b026 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 8 Nov 2026 18:55:19 +0900 Subject: cmd/hsu: move Rosa OS hsurc This file is generated by the operating system. Pointing it to /system requires ugly tricks to bind mount over it. Signed-off-by: Ophestra --- cmd/hsu/conf.go | 2 +- cmd/hsu/conf_rosa.go | 7 +++++++ cmd/hsu/config_rosa.go | 7 ------- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 cmd/hsu/conf_rosa.go delete mode 100644 cmd/hsu/config_rosa.go (limited to 'cmd/hsu') diff --git a/cmd/hsu/conf.go b/cmd/hsu/conf.go index 683bdc8a..79f5091a 100644 --- a/cmd/hsu/conf.go +++ b/cmd/hsu/conf.go @@ -2,6 +2,6 @@ package main -// hsuConfPath is an absolute pathname to the hsu configuration file. Its +// hsuConfPath is an absolute pathname of the hsu configuration file. Its // contents are interpreted by parseConfig. const hsuConfPath = "/etc/hsurc" diff --git a/cmd/hsu/conf_rosa.go b/cmd/hsu/conf_rosa.go new file mode 100644 index 00000000..4aef572d --- /dev/null +++ b/cmd/hsu/conf_rosa.go @@ -0,0 +1,7 @@ +//go:build rosa + +package main + +// hsuConfPath is the absolute pathname of the hsu configuration file, specific +// to Rosa OS. Its contents are interpreted by parseConfig. +const hsuConfPath = "/misc/hsurc" diff --git a/cmd/hsu/config_rosa.go b/cmd/hsu/config_rosa.go deleted file mode 100644 index 30303dba..00000000 --- a/cmd/hsu/config_rosa.go +++ /dev/null @@ -1,7 +0,0 @@ -//go:build rosa - -package main - -// hsuConfPath is the pathname to the hsu configuration file, specific to -// Rosa OS. Its contents are interpreted by parseConfig. -const hsuConfPath = "/system/etc/hsurc" -- cgit v1.3.1