Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62149 - portage on generic systems.
Summary: portage on generic systems.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High minor
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-08-29 14:56 UTC by solar (RETIRED)
Modified: 2004-10-22 08:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2004-08-29 14:56:57 UTC
Please apply the following patch to gentoo-src/portage/bin/emerge

--------------------------------------------------------------------------------
Portage 2.0.50-r9 (x86, [unavailable], glibc-unavailable, 2.4.25-grsec-1.9.14)
=================================================================
System uname: 2.4.25-grsec-1.9.14 i686 unknown
cat: /etc/gentoo-release: No such file or directory
--------------------------------------------------------------------------------

Index: emerge
===================================================================
RCS file: /var/cvsroot/gentoo-src/portage/bin/emerge,v
retrieving revision 1.319
diff -u -b -B -w -p -r1.319 emerge
--- emerge	16 Aug 2004 20:41:40 -0000	1.319
+++ emerge	29 Aug 2004 21:52:38 -0000
@@ -2485,7 +2485,10 @@ elif "info"==myaction:
 	print getportageversion()
 	print "================================================================="
 	print "System uname: "+unameout
+	if os.path.exists("/etc/gentoo-release"):
 	os.system("cat /etc/gentoo-release")
+	else:
+		print("Unknown distro")
 	
 	output=commands.getstatusoutput("distcc --version")
 	if not output[0]:
Comment 1 alpt 2004-08-29 15:04:30 UTC
why not /etc/*-version and /etc/*-release and then Unkwnown?
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-08-30 03:47:55 UTC
Done.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:48:03 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2