I tried to look via bulk with -i and what I saw via interactive commands was: # ls -ldT /etc/os-release lrwxr-xr-x 1 root wheel 21 Dec 6 00:48:55 2019 /etc/os-release -> ../var/run/os-release # ls -laT /var/run/ total 28 drwxr-xr-x 5 root wheel 512 Dec 6 00:50:02 2019 . drwxr-xr-x 24 root wheel 512 Mar 9 07:41:50 2019 .. drwxr-xr-x 2 root wheel 512 Mar 9 07:41:50 2019 dhclient -r--r--r-- 1 root wheel 173 Dec 6 00:50:01 2019 ld-elf.so.hints drwxrwx--- 2 root network 512 Mar 9 07:41:50 2019 ppp -rw-r--r-- 1 root wheel 197 Dec 6 00:50:02 2019 utx.active drwxr-xr-x 2 root wheel 512 Mar 9 07:41:50 2019 wpa_supplicant So no /var/run/os-release to find: # more /etc/os-release /etc/os-release: No such file or directory This was based on (from outside that bulk session): # poudriere version 3.3.99.20190828 # poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP PATH FBSDcortexA53jail 13.0-CURRENT arm64.aarch64 null 2018-11-18 15:32:34 /usr/obj/DESTDIRs/clang-cortexA53-installworld-poud where what is at the PATH was based on: installworld distrib-dirs distribution DB_FROM_SRC=1 DESTDIR=/usr/obj/DESTDIRs/clang-cortexA53-installworld-poud (for a head -r355027 based context). This would appear to mean that port builds should not be trying to use /etc/os-release because /var/run/os-release is not established in poudriere-devel bulk build contexts? I will note that clang-cortexA53-installworld-poud was built via an amd64->aarch64 cross build, in case that matters for some reason. ( clang-cortexA53-installworld-poud/ was copied to the aarch64 system it was intended for. Both contexts use the /usr/obj/DESTDIRs/ style path prefix. ) I'm not trying to use /etc/os-release directly. I was just curious what it would appear to contain in such a context. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)Received on Fri Dec 06 2019 - 00:21:34 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC