Date: Mon, 15 Mar 2021 04:38:47 +0900 From: KIRIYAMA Kazuhiko <kiri@truefc.org> To: freebsd-current@freebsd.org Cc: kiri@truefc.org Subject: Is there any OS builtin git command like svnlite ? Message-ID: <202103141938.12EJclDN004900@kx.truefc.org>
next in thread | raw e-mail | index | archive | help
Hi all, I'm working on clean installed VM -current from NFS mounted src like : admin@tbedfc:~ % df -h Filesystem Size Used Avail Capacity Mounted on /dev/vtbd0p2 11G 4.1G 5.7G 42% / devfs 1.0K 1.0K 0B 100% /dev vm.tfc:/.dake 12T 843G 11T 7% /.dake vm.tfc:/ds/src/freebsd/current/14.0/913e7dc3e0eb 11T 55G 11T 0% /usr/src vm.tfc:/ds/obj/freebsd/current/14.0/913e7dc3e0eb 11T 322G 11T 3% /usr/obj admin@tbedfc:~ % But could not display revison by uname : admin@tbedfc:~ % uname -a FreeBSD tbedfc 14.0-CURRENT FreeBSD 14.0-CURRENT #0: Fri Mar 12 18:16:41 JST 2021 root@tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 admin@tbedfc:~ % I think this is because incapable of using git command with `git -C $SRCDIR rev-parse --verify --short HEAD'. In the first place, git command does not builtin src like svnlite. Is there any solution of this ? My build environment is as follows : admin@tbedfc:~ % cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/vtbd0p2 / ufs rw 1 1 /dev/vtbd0p3 none swap sw 0 0 vm.tfc:/.dake /.dake nfs rw 0 0 vm.tfc:/ds/src/freebsd/current/14.0/913e7dc3e0eb /usr/src nfs ro,nolockd 0 0 vm.tfc:/ds/obj/freebsd/current/14.0/913e7dc3e0eb /usr/obj nfs rw 0 0 admin@tbedfc:~ % cat /etc/src.conf WITHOUT_REPRODUCIBLE_BUILD=yes admin@tbedfc:~ % Regards --- Kazuhiko Kiriyama <kiri@truefc.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103141938.12EJclDN004900>