diff --git a/local/patches/base/P4-initfs-usb-drm-services.patch b/local/patches/base/P4-initfs-usb-drm-services.patch new file mode 100644 index 00000000..85dcd71d --- /dev/null +++ b/local/patches/base/P4-initfs-usb-drm-services.patch @@ -0,0 +1,22 @@ +--- /dev/null ++++ b/init.initfs.d/45_usbscsid.service +@@ -0,0 +1,8 @@ ++[unit] ++description = "USB Mass Storage Driver" ++requires_weak = ["40_drivers.target"] ++condition_architecture = ["x86", "x86_64"] ++ ++[service] ++cmd = "usbscsid" ++type = "notify" +--- /dev/null ++++ b/init.initfs.d/30_redox-drm.service +@@ -0,0 +1,8 @@ ++[unit] ++description = "DRM/KMS Display Driver" ++requires_weak = ["20_graphics.target", "40_hwd.service", "40_pcid-spawner-initfs.service"] ++condition_architecture = ["x86", "x86_64"] ++ ++[service] ++cmd = "redox-drm" ++type = "notify" diff --git a/recipes/core/base/P4-initfs-usb-drm-services.patch b/recipes/core/base/P4-initfs-usb-drm-services.patch new file mode 120000 index 00000000..cbc011ae --- /dev/null +++ b/recipes/core/base/P4-initfs-usb-drm-services.patch @@ -0,0 +1 @@ +../../../local/patches/base/P4-initfs-usb-drm-services.patch \ No newline at end of file diff --git a/recipes/core/base/recipe.toml b/recipes/core/base/recipe.toml index fec8c30f..9eb54eb0 100644 --- a/recipes/core/base/recipe.toml +++ b/recipes/core/base/recipe.toml @@ -13,6 +13,7 @@ patches = [ "P3-init-colored-output.patch", "P4-logd-persistent-logging.patch", "P4-acpi-shutdown-hardening.patch", + "P4-initfs-usb-drm-services.patch", ] [build]