>-----Original Message----- >From: openembedded-core@lists.openembedded.org <openembedded- >c...@lists.openembedded.org> On Behalf Of Richard Purdie via >lists.openembedded.org >Sent: 14 January 2021 12:04 >To: Diego Sueiro <diego.sue...@arm.com>; openembedded- >c...@lists.openembedded.org >Subject: Re: [OE-core] [PATCH 1/2] classes: Introduce intermediate- >deploy.bbclass > >On Thu, 2021-01-14 at 08:06 +0000, Diego Sueiro wrote: >> The intermediate-deploy class is to be inherited by recipes that >> install intermediate artifacts which are not present in the filesystem >> to be further processed by other recipes. >> >> The INTERMEDIATE_DEPLOY_DIRS variable is a space separated list of >> dirnames from ${D} which include the intermediate artifacts. >> >> Change-Id: I314987587c1cf0e4cdb28fbf11463f1feb37504b >> --- >> meta/classes/intermediate-deploy.bbclass | 25 >> ++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >> create mode 100644 meta/classes/intermediate-deploy.bbclass > >I think I should have been clearer about what I was thinking, sorry. > >I was wondering about an "intermediate-deploy" directory within the existing >SYSROOT_DIRS, so the sysroot could contain an "intermediate- deploy/boot/" >and "intermediate-deploy/firmware". >
Just trying to see if I got it right this time. Are you proposing to move `${D}/boot` to `${D}/intermediate-deploy/boot` and have SYSROOT_DIRS += "/intermediate-deploy "? But, If it is just a copy having within ${D} , I'll have to have `PACKAGES_${PN} += "${PN}-intermediate-deploy"` and FILES_${PN}-intermediate-deploy = "/intermediate-deploy" to no fail with "installed-vs-shipped" in the package qa. The way this class is implemented is just copying the dirs from $D listed in $INTERMEDIATE_DEPLOY_DIRS to the $SYSROOT_DESTDIR and can't use SYSROOT_DIRS variable directly because the sysroot_stage_all function copies from $D. >I'm not particularly liking the name. Maybe "unpackaged/boot" or "non- >target/boot"? I'm open to ideas. > >The idea is to make it really clear these are files which are not part of the >target rootfs though... > I also don’t like this name either. Maybe "non-filesystem/boot"? Cheers, Diego Sueiro IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#146688): https://lists.openembedded.org/g/openembedded-core/message/146688 Mute This Topic: https://lists.openembedded.org/mt/79671196/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-