Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179669 - kernel.eselect module improvement for FreeBSD
Summary: kernel.eselect module improvement for FreeBSD
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High enhancement (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-24 19:26 UTC by Pierre Guinoiseau
Modified: 2012-06-23 20:40 UTC (History)
1 user (show)

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


Attachments
kernel.eselect.diff (kernel.eselect.diff,2.85 KB, patch)
2007-05-24 19:27 UTC, Pierre Guinoiseau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Guinoiseau 2007-05-24 19:26:13 UTC
Hi,
here is a patch which improves the kernel.eselect module in order to work with the freebsd kernel. It can even be easily modified in order to work with others kernels.
Comment 1 Pierre Guinoiseau 2007-05-24 19:27:04 UTC
Created attachment 120214 [details, diff]
kernel.eselect.diff
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-05-25 10:33:42 UTC
eselect team, it's your call; I have some doubts with a cross-ROOT environment, but, well, it's your call.
Comment 3 Ulrich Müller gentoo-dev 2009-06-05 15:17:28 UTC
+case `uname -s` in
+	FreeBSD) KERNEL="sys";;
+	*) KERNEL="linux";;
+esac

Eselect doesn't allow running commands in global scope, so we cannot apply this patch. At least the uname call should be moved into a function.

Apart from this, I think it would be better to have a new and differently named module for BSD.
Comment 4 Ulrich Müller gentoo-dev 2012-06-23 20:40:50 UTC
No reply since three years, therefore closing.

Feel free to reopen with a new patch.