Date: Sun, 23 Nov 2014 00:34:06 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: des@FreeBSD.org Cc: freebsd-stable@FreeBSD.org Subject: /bin/freebsd-version does not get rebuilt in NO_CLEAN build: Message-ID: <alpine.BSF.2.00.1411230026330.43508@woozle.rinet.ru>
next in thread | raw e-mail | index | archive | help
Dear Dag-Erling, colleagues, I'm usually using -DNO_CLEAN builds including upgrades; however, it turns out that freebsd-version utility does not depend really on newvers.sh, despite it is included in Makefile dependencies: after upgrading from 1106 to 1121: marck@hamster:/usr/src/bin/freebsd-version> l /boot/*/kernel -r-xr-xr-x 1 root wheel 21165281 Nov 21 13:31 /boot/GENERIC/kernel* -r-xr-xr-x 1 root wheel 8386544 Nov 6 12:33 /boot/kernel.old/kernel* -r-xr-xr-x 1 root wheel 8396264 Nov 21 13:25 /boot/kernel/kernel* I still got marck@hamster:/usr/src/bin/freebsd-version> freebsd-version -ku 10.1-STABLE 10.1-PRERELEASE while script itself had been reinstalled: marck@hamster:/usr/src/bin/freebsd-version> l /bin/freebsd-version -r-xr-xr-x 1 root wheel 3197 Nov 21 13:38 /bin/freebsd-version* but its content did not regenerated: marck@hamster:/usr/src/bin/freebsd-version> grep -w BRANCH ../../sys/conf/newvers.sh BRANCH="STABLE" BRANCH=${BRANCH_OVERRIDE} RELEASE="${REVISION}-${BRANCH}" marck@hamster:/usr/src/bin/freebsd-version> grep USERLAND /bin/freebsd-version USERLAND_VERSION="10.1-PRERELEASE" echo $USERLAND_VERSION marck@hamster:/usr/src/bin/freebsd-version> l /usr/obj/usr/src/bin/freebsd-version/freebsd-version -rwxrwxr-x 1 marck wheel 3197 Sep 7 23:21 /usr/obj/usr/src/bin/freebsd-version/freebsd-version* -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1411230026330.43508>