Skip to contentSkip to conversation

is INITRAMFS_TASK still useful, or can it be tossed?

DISCUSSION Robert P. J. Day 2 participants 3 messages Aug 26, 2014

lore
Share & tools
lore
#0 lore raw

just noticed the following -- here's snippets from kernel.bbclass:

... snip ...
INITRAMFS_TASK ?= ""
... snip ...
# NOTE: setting INITRAMFS_TASK is for backward compatibility
# The preferred method is to set INITRAMFS_IMAGE, because
# this INITRAMFS_TASK has circular dependency problems
# if the initramfs requires kernel modules
image_task = d.getVar('INITRAMFS_TASK', True)
if image_task:
d.appendVarFlag('do_configure', 'depends', ' ${INITRAMFS_TASK}')
... snip ...
if [ "$use_alternate_initrd" = "" ] && [ "${INITRAMFS_TASK}" != "" ] ; then
# The old style way of copying an prebuilt image and building it # is turned on via INTIRAMFS_TASK != ""
... snip ...

i have about a dozen layers checked out and the only other place i
see that variable used is:

meta-oe/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb:
INITRAMFS_TASK = "${INITRAMFS_IMAGE}:do_rootfs"

so has INITRAMFS_TASK been obsoleted by INITRAMFS_IMAGE? or is it still worth hanging onto?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 19 lines · Robert P. J. Day

just noticed the following -- here's snippets from kernel.bbclass:

... snip ...
INITRAMFS_TASK ?= ""
... snip ...
# NOTE: setting INITRAMFS_TASK is for backward compatibility
# The preferred method is to set INITRAMFS_IMAGE, because
# this INITRAMFS_TASK has circular dependency problems
# if the initramfs requires kernel modules
image_task = d.getVar('INITRAMFS_TASK', True)
if image_task:
d.appendVarFlag('do_configure', 'depends', ' ${INITRAMFS_TASK}')
... snip ...
if [ "$use_alternate_initrd" = "" ] && [ "${INITRAMFS_TASK}" != "" ] ; then
# The old style way of copying an prebuilt image and building it # is turned on via INTIRAMFS_TASK != ""
... snip ...

Quoted 5 lines

i have about a dozen layers checked out and the only other place i
see that variable used is:

meta-oe/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb:
INITRAMFS_TASK = "${INITRAMFS_IMAGE}:do_rootfs"

check meta-handheld, it was an existing use case we didn't want to break.

Bruce

Quoted 21 lines

so has INITRAMFS_TASK been obsoleted by INITRAMFS_IMAGE? or is it still worth hanging onto?

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#2 lore raw
Quoted 20 lines · Bruce Ashfield
Quoted 19 lines · Robert P. J. Day

just noticed the following -- here's snippets from kernel.bbclass:

... snip ...
INITRAMFS_TASK ?= ""
... snip ...
# NOTE: setting INITRAMFS_TASK is for backward compatibility
# The preferred method is to set INITRAMFS_IMAGE, because
# this INITRAMFS_TASK has circular dependency problems
# if the initramfs requires kernel modules
image_task = d.getVar('INITRAMFS_TASK', True)
if image_task:
d.appendVarFlag('do_configure', 'depends', ' ${INITRAMFS_TASK}')
... snip ...
if [ "$use_alternate_initrd" = "" ] && [ "${INITRAMFS_TASK}" != "" ] ; then
# The old style way of copying an prebuilt image and building it # is turned on via INTIRAMFS_TASK != ""
... snip ...

Quoted 7 lines
Quoted 5 lines

i have about a dozen layers checked out and the only other place i
see that variable used is:

meta-oe/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb:
INITRAMFS_TASK = "${INITRAMFS_IMAGE}:do_rootfs"

check meta-handheld, it was an existing use case we didn't want to break.

ah, that wasn't one of the layers i had checked out, thanks.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================