diff options
| -rw-r--r-- | meta/recipes-core/initrdscripts/initrdscripts-secure-core.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initrdscripts-secure-core.bb b/meta/recipes-core/initrdscripts/initrdscripts-secure-core.bb index ca30e84..6a14e93 100644 --- a/meta/recipes-core/initrdscripts/initrdscripts-secure-core.bb +++ b/meta/recipes-core/initrdscripts/initrdscripts-secure-core.bb | |||
| @@ -14,12 +14,18 @@ do_install() { | |||
| 14 | # Create device nodes expected by kernel in initramfs | 14 | # Create device nodes expected by kernel in initramfs |
| 15 | # before executing /init. | 15 | # before executing /init. |
| 16 | install -d "${D}/dev" | 16 | install -d "${D}/dev" |
| 17 | install -d "${D}/proc" | ||
| 18 | install -d "${D}/sys" | ||
| 19 | install -d "${D}/run" | ||
| 17 | mknod -m 0600 "${D}/dev/console" c 5 1 | 20 | mknod -m 0600 "${D}/dev/console" c 5 1 |
| 18 | } | 21 | } |
| 19 | 22 | ||
| 20 | FILES_${PN} = "\ | 23 | FILES_${PN} = "\ |
| 21 | /init \ | 24 | /init \ |
| 22 | /dev \ | 25 | /dev \ |
| 26 | /proc \ | ||
| 27 | /sys \ | ||
| 28 | /run \ | ||
| 23 | " | 29 | " |
| 24 | 30 | ||
| 25 | # Install the minimal stuffs only, and don't care how the external | 31 | # Install the minimal stuffs only, and don't care how the external |
