I did some comparison to Valve's package and there seem to be only minor differences to the last version. Changing the postinst script found within the package might just be enough.
The following patch should make it launch on boot in brewmaster:
--- postinst.old 2015-08-12 16:33:26.421338953 +0200
+++ postinst 2015-08-12 16:32:43.913019880 +0200
@@ -6,14 +6,22 @@
THIS_PACKAGE=rocket-init-scripts
-# update-rc.d levels
-S=40
-K=01
-
-if [ -x /etc/init.d/rocket-gpu-fallback ]; then
- update-rc.d rocket-gpu-fallback defaults $S $K >/dev/null 2>&1
+# End automatically added section
+# Automatically added by dh_systemd_enable
+# This will only remove masks created by d-s-h on package removal.
+deb-systemd-helper unmask rocket-gpu-fallback.service >/dev/null || true
+
+# was-enabled defaults to true, so new installations run enable.
+if deb-systemd-helper --quiet was-enabled rocket-gpu-fallback.service; then
+ # Enables the unit on first installation, creates new
+ # symlinks on upgrades if the unit file has changed.
+ deb-systemd-helper enable rocket-gpu-fallback.service >/dev/null || true
+else
+ # Update the statefile to add new symlinks (if any), which need to be
+ # cleaned up on purge. Also remove old symlinks.
+ deb-systemd-helper update-state rocket-gpu-fallback.service >/dev/null || true
fi
-
+# End automatically added section
exit 0
This is based on the postinst found in the steamos-base-files package.
I did some comparison to Valve's package and there seem to be only minor differences to the last version. Changing the postinst script found within the package might just be enough.
The following patch should make it launch on boot in brewmaster:
This is based on the postinst found in the steamos-base-files package.