Date: Thu, 5 Dec 2019 17:21:27 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: In a poudriere jail, during a bulk run, what is the status of /etc/os-release supposed to be? Message-ID: <6B1BDF22-110B-405F-8234-EC0ED4683224@yahoo.com> References: <6B1BDF22-110B-405F-8234-EC0ED4683224.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I tried to look via bulk with -i and what I saw via interactive commands was: # ls -ldT /etc/os-release=20 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=20 /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=3D1 = DESTDIR=3D/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. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B1BDF22-110B-405F-8234-EC0ED4683224>