1 |
On Thu, 20 Mar 2014 22:22:22 +0200 |
2 |
Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
3 |
|
4 |
> On 20/03/2014 20:57, Tom Wijsman wrote: |
5 |
> |
6 |
> > Well, running systemd now I can reboot into OpenRC; it just works. |
7 |
> |
8 |
> How is this done? |
9 |
|
10 |
Here, two GRUB entries; alternatively, eselect init to switch symlinks. |
11 |
|
12 |
> > It's happening, `find /usr/portage/profiles/ -name '*systemd*'`; |
13 |
> > does it have any consequences that are worth thinking through? |
14 |
> |
15 |
> As it stands now exactly, none. I only checked one profile: |
16 |
|
17 |
Good, as you describe after this (cut out), I get the impression that |
18 |
the opposite is the case and there are not enough; a solution to that |
19 |
exists elwhere, in Funtoo, check out their Flavors and Mix-ins: |
20 |
|
21 |
http://www.funtoo.org/Flavors_and_Mix-ins |
22 |
|
23 |
Would be nice to have this on Gentoo. |
24 |
|
25 |
> > Well, running NVIDIA now I can reboot with a simple script[1] put |
26 |
> > in /etc/local.d/nvidia.start (with execute permission); this works |
27 |
> > for me on both OpenRC and systemd, I'd say it is easy to do. |
28 |
> > Perhaps it can even be made more easy by rewriting the Xorg |
29 |
> > configuration to be device aware and therefore not needing the |
30 |
> > steps shown in this script. |
31 |
> > |
32 |
> > [1]: https://gist.github.com/TomWij/a13abacfb74999c10957 |
33 |
> |
34 |
> Yeah, you'd really need to make it work with one unchanging xorg.conf. |
35 |
|
36 |
Haven't tried; but given it works, it's something that I delay doing. |
37 |
|
38 |
> And that first line of code - relying on "-nvidia" being in |
39 |
> /proc/cmdline - wtf is that? :-) |
40 |
|
41 |
Magic. :D |
42 |
|
43 |
> Such, um, butcher hacks work OK on your machine but sure ain't |
44 |
> |
45 |
> production ready |
46 |
|
47 |
Maybe you mean packaging ready; as for production on your own servers |
48 |
and desktops, I think it is ready enough. But YMMV. |
49 |
|
50 |
-- |
51 |
With kind regards, |
52 |
|
53 |
Tom Wijsman (TomWij) |
54 |
Gentoo Developer |
55 |
|
56 |
E-mail address : TomWij@g.o |
57 |
GPG Public Key : 6D34E57D |
58 |
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D |