diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-04-23 19:26:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-04-23 19:26:47 +0100 |
commit | 55c95758dd00a2c2654d2a00a2cdf2c601e1543b (patch) | |
tree | a54145d2e82f76369089c756c5904bbe292a6885 | |
parent | 054841bf1e8b859722f3674c9b609a1f01fd8a46 (diff) |
openrc : start bumblebee before DM
-rw-r--r-- | x11-misc/bumblebee/bumblebee-3.2.1-r6.ebuild (renamed from x11-misc/bumblebee/bumblebee-3.2.1-r5.ebuild) | 2 | ||||
-rw-r--r-- | x11-misc/bumblebee/files/bumblebee.initd | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/x11-misc/bumblebee/bumblebee-3.2.1-r5.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1-r6.ebuild index dd182abc..d5c6f940 100644 --- a/x11-misc/bumblebee/bumblebee-3.2.1-r5.ebuild +++ b/x11-misc/bumblebee/bumblebee-3.2.1-r6.ebuild @@ -74,8 +74,6 @@ src_install() { if use bbswitch; then # This is much better than the udev rule below doinitd "${FILESDIR}/bbswitch-setup" - sed -i "s:need xdm:need bbswitch-setup xdm:" \ - "${ED}/etc/init.d/bumblebee" || die fi # Downstream says: this is just plain wrong, how about # the situation in where the user has bumblebee installed diff --git a/x11-misc/bumblebee/files/bumblebee.initd b/x11-misc/bumblebee/files/bumblebee.initd index 219f7101..0d639842 100644 --- a/x11-misc/bumblebee/files/bumblebee.initd +++ b/x11-misc/bumblebee/files/bumblebee.initd @@ -3,7 +3,8 @@ # Distributed under the terms of the GNU General Public License v2 depend() { - need xdm vgl + need bbswitch-setup + before xdm } PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}" |