diff --git a/local/patches/base/P20-ramfs-requires-randd.patch b/local/patches/base/P20-ramfs-requires-randd.patch new file mode 100644 index 0000000000..a8b3effd42 --- /dev/null +++ b/local/patches/base/P20-ramfs-requires-randd.patch @@ -0,0 +1,7 @@ +diff --git a/init.initfs.d/ramfs@.service b/init.initfs.d/ramfs@.service +index bb512c60..3c3ed97d 100644 +--- a/init.initfs.d/ramfs@.service ++++ b/init.initfs.d/ramfs@.service +@@ -4 +4 @@ default_dependencies = false +-requires_weak = ["00_randd.service"] ++requires = ["00_randd.service"] diff --git a/recipes/core/base/P20-ramfs-requires-randd.patch b/recipes/core/base/P20-ramfs-requires-randd.patch new file mode 120000 index 0000000000..3eaeaacbb1 --- /dev/null +++ b/recipes/core/base/P20-ramfs-requires-randd.patch @@ -0,0 +1 @@ +../../../local/patches/base/P20-ramfs-requires-randd.patch \ No newline at end of file diff --git a/recipes/core/base/recipe.toml b/recipes/core/base/recipe.toml index bc856c2df6..accd6a0813 100644 --- a/recipes/core/base/recipe.toml +++ b/recipes/core/base/recipe.toml @@ -66,6 +66,7 @@ patches = [ "P18-9-msi-allocation-resilience.patch", "P19-init-startup-hardening.patch", "P19-acpid-startup-hardening.patch", + "P20-ramfs-requires-randd.patch", ] [package]