It displays "OpenRC 0.4.1-svn-exported is starting up" message which is fully true. The problem is with the Makefile: openrc-0.4.1/src/rc/Makefile _SVNVER_SH= if type svnversion >/dev/null 2>&1; then \ echo "-svn-$$(svnversion)"; \ else \ echo ""; \ fi Perhaps, this code should detect it in a different way. Expected result: It should display "OpenRC 0.4.1" only. Other installed packages: dev-util/subversion-1.5.4 Sorry for bothering with such trivial thing, but I don't like to see it during each boot.
Created attachment 177110 [details, diff] openrc-0.4.1-fix-versioninfo-on-boot.diff You are right. Version information from openrc should be independent from svninfo being installed or not when using the release versions. How about something like this patch here?
Reassigning to base-system herd, CCing upstream maintainer.
Instead of always calling out to svnversion, why not just check for the existence of the .svn directory to decide if it's probably an SVN checkout?
subversion allows dirs other than .svn, so svnexport is handy. Calling it twice is inefficient, so we will store and evalute it in a variable. Patch here. http://roy.marples.name/projects/openrc/changeset/1469/
(In reply to comment #4) I propose following to make it easy to read: ret="" if type svnversion >/dev/null 2>&1; then svnver="$(svnversion)" if [ $svnver != "exported" ]; then ret="-svn-$svnver" fi fi echo $ret Not sure if it's the way for make files.
As you wish
This bug has been FIXED. *openrc-0.4.2 (14 Jan 2009) 14 Jan 2009; Matthias Schwarzott <zzam@gentoo.org> +files/0.4.2/0001-msg-style.patch, +files/0.4.2/0002-useful-functions.patch, +files/0.4.2/0003-KV.patch, +files/0.4.2/0004-svn-version.patch, +openrc-0.4.2.ebuild: Version bumped. Bug #254239. This fixes lots of details like compilation on non-linux, forcefsck only applying to boot and not shutdown.