meta-openembedded/meta-oe
AshishKumar Mishra f5246b7df4
meta-oe: image: optionally remove RAW image after sparse image creation
When creating sparse images, the RAW image is no longer needed in
some workflows such as Android and CI pipelines. These RAW images
can be multi-GB artifacts and consume significant disk space.

This change introduces a configuration option
`DELETE_RAWIMAGE_AFTER_SPARSE_CMD` which, when set to "1",
removes the RAW image after sparse image generation.

This reduces disk usage in builds where sparse images are the
final deliverables and RAW images are not required.

Default behavior is unchanged: RAW images are kept unless the
variable is explicitly enabled:

    DELETE_RAWIMAGE_AFTER_SPARSE_CMD = "1"   # Delete RAW image
    DELETE_RAWIMAGE_AFTER_SPARSE_CMD = "0"   # Default behavior

Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-15 09:55:16 -07:00
..
classes meta-oe: image: optionally remove RAW image after sparse image creation 2025-09-15 09:55:16 -07:00
conf layer.conf: add bpftrace to NON_MULTILIB_RECIPES 2025-09-08 22:01:08 -07:00
dynamic-layers bpftrace: Fix runtime deps and enable musl builds 2025-09-10 23:50:39 -07:00
files static-passwd-meta-oe: add flatpak user 2025-04-19 14:36:07 -07:00
lib/oeqa/selftest/cases
licenses licenses: add licenses for ktx-software 2025-07-22 20:02:18 -07:00
recipes-benchmark libc-bench: Always use libgcc runtime with clang on x86 2025-07-20 21:21:32 -07:00
recipes-bsp ledmon: upgrade 0.97 -> 1.1.0 2025-09-15 09:54:29 -07:00
recipes-connectivity asyncmqtt: upgrade 10.2.0 -> 10.2.3 2025-09-04 10:28:21 -07:00
recipes-core uutils-coreutils: fix file not being packaged 2025-09-10 09:19:52 -07:00
recipes-crypto cryptsetup: upgrade 2.8.0 -> 2.8.1 2025-09-04 10:28:21 -07:00
recipes-dbs influxdb: Update module cache content 2025-09-02 23:36:18 -07:00
recipes-devtools python3-apt: upgrade 2.5.3 -> 3.0.0 2025-09-11 17:31:43 -07:00
recipes-extended flatpak: update 1.16.0 -> 1.16.1 2025-09-06 10:11:38 -07:00
recipes-gnome malcontent: update 0.13.0 -> 0.13.1 2025-09-06 10:11:39 -07:00
recipes-graphics libsdl2-ttf: add PACKAGECONFIG opengl conditionally 2025-09-04 10:50:39 -07:00
recipes-kernel kernel-selftest: add cpufreq and cpu-hotplug tests 2025-09-10 09:17:25 -07:00
recipes-multimedia libjxl: Upgrade to 0.11.1 2025-09-01 15:52:04 -07:00
recipes-navigation geoclue: upgrade 2.7.2 -> 2.8.0 2025-09-04 10:28:22 -07:00
recipes-networking/cyrus-sasl meta-openembedded/all: adapt to UNPACKDIR changes 2025-06-25 06:44:52 -07:00
recipes-printing gutenprint: fix a build race-condition 2025-07-04 09:42:10 -07:00
recipes-security audit: upgrade 4.0.5 -> 4.1.2 2025-09-06 10:11:39 -07:00
recipes-shells meta-openembedded/all: adapt to UNPACKDIR changes 2025-06-25 06:44:52 -07:00
recipes-support opencv: Only rename ${bindir}/shape if it exists 2025-09-09 09:39:55 -07:00
recipes-test evtest: upgrade 1.35 -> 1.36 2025-09-04 10:28:22 -07:00
COPYING.MIT
README.md README.md: Hint at "git request-pull" 2024-09-14 08:43:55 -07:00
SECURITY.md meta: Add SECURITY.md file to all layers 2024-11-23 09:00:14 -08:00

meta-oe

This layer depends on:

URI: git://github.com/openembedded/openembedded-core.git branch: master

luajit recipe requires host compiler to be able to generate 32bit code when target is 32bit e.g. arm, so ensure that $CC -m32 is functional on build host, if building this recipe, needed packages to fullfit this might have different names on different host distributions e.g. on archlinux based distributions install prerequisites like below

pacman -S lib32-gcc-libs lib32-glibc

Ubuntu sudo apt-get install gcc-multilib linux-libc-dev:i386

Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-oe]' in the subject'

When sending single patches, please use something like: 'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix="meta-oe][PATCH"'

You are encouraged to fork the mirror on GitHub https://github.com/openembedded/meta-openembedded to share your patches, this is preferred for patch sets consisting of more than one patch.

Note, it is discouraged to send patches via GitHub pull request system. Such patches get less attention from developers and can be mishandled or not reviewed properly. Please use emails instead. For exemple, you can use 'git request-pull' to generate an email referencing your git repository.

Other services like GitLab, repo.or.cz or self-hosted setups are of course accepted as well, 'git fetch ' works the same on all of them. We recommend GitHub because it is free, easy to use, has been proven to be reliable and has a really good web GUI.

layer maintainer: Khem Raj raj.khem@gmail.com