sxmo: do restart lisgd on rotation, but don't enable lisgd by default
the restart logic is racy, and lisgd with autorotate becomes unusable after long enough
This commit is contained in:
@@ -69,6 +69,9 @@
|
|||||||
};
|
};
|
||||||
package = pkgs.sxmo-utils.overrideAttrs (base: {
|
package = pkgs.sxmo-utils.overrideAttrs (base: {
|
||||||
postPatch = (base.postPatch or "") + ''
|
postPatch = (base.postPatch or "") + ''
|
||||||
|
# don't enable gestures at launch
|
||||||
|
sed -i '/superctl start sxmo_hook_lisgd/d' ./configs/default_hooks/sxmo_hook_start.sh
|
||||||
|
|
||||||
cat <<EOF >> ./configs/default_hooks/sxmo_hook_start.sh
|
cat <<EOF >> ./configs/default_hooks/sxmo_hook_start.sh
|
||||||
# rotate UI based on physical display angle by default
|
# rotate UI based on physical display angle by default
|
||||||
sxmo_daemons.sh start autorotate sxmo_autorotate.sh
|
sxmo_daemons.sh start autorotate sxmo_autorotate.sh
|
||||||
|
@@ -110,7 +110,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
./0104-full-auto-rotate.patch
|
./0104-full-auto-rotate.patch
|
||||||
./0105-more-apps.patch
|
./0105-more-apps.patch
|
||||||
./0106-no-restart-lisgd.patch
|
# ./0106-no-restart-lisgd.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Reference in New Issue
Block a user