fix: extend redbear-full DRM greeter wait
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -482,8 +482,8 @@ data = """
|
|||||||
name = "VirtIO GPU"
|
name = "VirtIO GPU"
|
||||||
class = 0x03
|
class = 0x03
|
||||||
vendor = 0x1af4
|
vendor = 0x1af4
|
||||||
subclass = 0x00
|
device = 0x1050
|
||||||
command = ["redox-drm"]
|
command = ["/usr/bin/redox-drm"]
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
|
|||||||
@@ -207,6 +207,9 @@ impl GreeterDaemon {
|
|||||||
command.env("XCURSOR_THEME", "Pop");
|
command.env("XCURSOR_THEME", "Pop");
|
||||||
command.env("XKB_CONFIG_ROOT", "/usr/share/X11/xkb");
|
command.env("XKB_CONFIG_ROOT", "/usr/share/X11/xkb");
|
||||||
command.env("WAYLAND_DISPLAY", &self.wayland_display);
|
command.env("WAYLAND_DISPLAY", &self.wayland_display);
|
||||||
|
if let Ok(wait_seconds) = env::var("REDBEAR_DRM_WAIT_SECONDS") {
|
||||||
|
command.env("REDBEAR_DRM_WAIT_SECONDS", wait_seconds);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn activate_vt(&self, vt: u32) -> Result<(), String> {
|
fn activate_vt(&self, vt: u32) -> Result<(), String> {
|
||||||
|
|||||||
@@ -303,6 +303,9 @@ fn build_environment(account: &Account, args: &Args, runtime_dir: &Path) -> BTre
|
|||||||
if let Some(path) = env_value(&["QML2_IMPORT_PATH"]) {
|
if let Some(path) = env_value(&["QML2_IMPORT_PATH"]) {
|
||||||
values.insert(String::from("QML2_IMPORT_PATH"), path);
|
values.insert(String::from("QML2_IMPORT_PATH"), path);
|
||||||
}
|
}
|
||||||
|
if let Some(wait_seconds) = env_value(&["REDBEAR_DRM_WAIT_SECONDS"]) {
|
||||||
|
values.insert(String::from("REDBEAR_DRM_WAIT_SECONDS"), wait_seconds);
|
||||||
|
}
|
||||||
|
|
||||||
match args.mode {
|
match args.mode {
|
||||||
LaunchMode::Session => {
|
LaunchMode::Session => {
|
||||||
|
|||||||
Reference in New Issue
Block a user