[OE-core] [PATCH] core-image-minimal-initramfs: use initramfs-framework for initialization

Burton, Ross ross.burton at intel.com
Thu Feb 1 14:03:28 UTC 2018


Sorry, missed this.  I'll pull it into MUT and throw it at the
autobuilder...

Ross

On 31 January 2018 at 22:53, Cal Sullivan <california.l.sullivan at intel.com>
wrote:

> Ping.
>
> ---
> Cal
>
>
> On 01/09/2018 05:00 PM, Cal Sullivan wrote:
>
>> Anything wrong with this? Haven't seen it hit any mut branches.
>>
>> Thanks,
>> Cal
>>
>> On 12/19/2017 02:12 PM, California Sullivan wrote:
>>
>>> initramfs-framework is more modular and expandable. This change was
>>> proposed in commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e
>>> "core-image-minimal-initramfs: use initramfs-framework by default" but
>>> reverted due to the selftests runqemu.RunqemuTests.test_boot_machine_iso
>>> and runqemu.RunqemuTests.test_boot_deploy_hddimg failing. Since then,
>>> the kinks have been worked out, and missing functionality that had been
>>> missed (non-EFI installation module) has been added.
>>>
>>> Since the PACKAGE_INSTALL variable was getting so long with all these
>>> individual modules getting added, I also introduced a new
>>> INITRAMFS_SCRIPTS variable to the core-image-minimal-initramfs recipe.
>>> This variable makes the recipe look much cleaner, and also allows easier
>>> replacement or additions to the scripts.
>>>
>>> Fixes [YOCTO #10987].
>>>
>>> Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
>>> ---
>>>   meta/recipes-core/images/core-image-minimal-initramfs.bb | 10
>>> +++++++++-
>>>   1 file changed, 9 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb
>>> b/meta/recipes-core/images/core-image-minimal-initramfs.bb
>>> index 5794a25952a..a9ba91bd310 100644
>>> --- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
>>> +++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
>>> @@ -3,7 +3,15 @@ DESCRIPTION = "Small image capable of booting a device.
>>> The kernel includes \
>>>   the Minimal RAM-based Initial Root Filesystem (initramfs), which finds
>>> the \
>>>   first 'init' program more efficiently."
>>>   -PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install
>>> initramfs-live-install-efi ${VIRTUAL-RUNTIME_base-utils} udev base-passwd
>>> ${ROOTFS_BOOTSTRAP_INSTALL}"
>>> +INITRAMFS_SCRIPTS ?= "\
>>> +                      initramfs-framework-base \
>>> +                      initramfs-module-setup-live \
>>> +                      initramfs-module-udev \
>>> +                      initramfs-module-install \
>>> +                      initramfs-module-install-efi \
>>> +                     "
>>> +
>>> +PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils}
>>> udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
>>>     # Do not pollute the initrd image with rootfs features
>>>   IMAGE_FEATURES = ""
>>>
>>
>>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180201/aff3177c/attachment-0002.html>


More information about the Openembedded-core mailing list