diff options
| -rw-r--r-- | meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb index 89e153d348..67a1b04d28 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | |||
| @@ -47,9 +47,18 @@ PACKAGES = "${PN}-base \ | |||
| 47 | initramfs-module-mdev \ | 47 | initramfs-module-mdev \ |
| 48 | initramfs-module-udev \ | 48 | initramfs-module-udev \ |
| 49 | initramfs-module-e2fs \ | 49 | initramfs-module-e2fs \ |
| 50 | initramfs-module-rootfs \ | ||
| 50 | initramfs-module-debug" | 51 | initramfs-module-debug" |
| 51 | 52 | ||
| 52 | FILES_${PN}-base = "/init /init.d/90-rootfs /init.d/99-finish /dev" | 53 | FILES_${PN}-base = "/init /init.d/99-finish /dev" |
| 54 | |||
| 55 | # 99-finish in base depends on some other module which mounts | ||
| 56 | # the rootfs, like 90-rootfs. To replace that default, use | ||
| 57 | # BAD_RECOMMENDATIONS += "initramfs-module-rootfs" in your | ||
| 58 | # initramfs recipe and install something else, or install | ||
| 59 | # something that runs earlier (for example, a 89-my-rootfs) | ||
| 60 | # and mounts the rootfs. Then 90-rootfs will proceed immediately. | ||
| 61 | RRECOMMENDS_${PN}-base += "initramfs-module-rootfs" | ||
| 53 | 62 | ||
| 54 | SUMMARY_initramfs-module-mdev = "initramfs support for mdev" | 63 | SUMMARY_initramfs-module-mdev = "initramfs support for mdev" |
| 55 | RDEPENDS_initramfs-module-mdev = "${PN}-base busybox-mdev" | 64 | RDEPENDS_initramfs-module-mdev = "${PN}-base busybox-mdev" |
| @@ -63,6 +72,10 @@ SUMMARY_initramfs-module-e2fs = "initramfs support for ext4/ext3/ext2 filesystem | |||
| 63 | RDEPENDS_initramfs-module-e2fs = "${PN}-base" | 72 | RDEPENDS_initramfs-module-e2fs = "${PN}-base" |
| 64 | FILES_initramfs-module-e2fs = "/init.d/10-e2fs" | 73 | FILES_initramfs-module-e2fs = "/init.d/10-e2fs" |
| 65 | 74 | ||
| 75 | SUMMARY_initramfs-module-rootfs = "initramfs support for locating and mounting the root partition" | ||
| 76 | RDEPENDS_initramfs-module-rootfs = "${PN}-base" | ||
| 77 | FILES_initramfs-module-rootfs = "/init.d/90-rootfs" | ||
| 78 | |||
| 66 | SUMMARY_initramfs-module-debug = "initramfs dynamic debug support" | 79 | SUMMARY_initramfs-module-debug = "initramfs dynamic debug support" |
| 67 | RDEPENDS_initramfs-module-debug = "${PN}-base" | 80 | RDEPENDS_initramfs-module-debug = "${PN}-base" |
| 68 | FILES_initramfs-module-debug = "/init.d/00-debug" | 81 | FILES_initramfs-module-debug = "/init.d/00-debug" |
