On 9/8/21 02:50, Florian Eckert wrote:
The file `/etc/os-release` is currently a relative link to
`../usr/lib/os-release`.

The follwing links on my `/etc` are also absolute:
* localtime -> /tmp/localtime
* resolv.conf -> /tmp/resolv.conf
* /tmp/TZmtab -> /proc/mounts

For consistency, this should also apply to `/usr/lib/os-release`.

Signed-off-by: Florian Eckert <f...@dev.tdt.de>
---
Did you check that none of the build scripts try to access this file? In case they do, they'd fail since an absolute path wouldn't exists on the building host system.
  package/base-files/files/etc/os-release | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/files/etc/os-release 
b/package/base-files/files/etc/os-release
index c4c75b419c..d98fc7a7ac 120000
--- a/package/base-files/files/etc/os-release
+++ b/package/base-files/files/etc/os-release
@@ -1 +1 @@
-../usr/lib/os-release
\ No newline at end of file
+/usr/lib/os-release
\ No newline at end of file

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to