My Yocto project currently contains both Poky Linux distro with my settings and with some mandatory software and some amount of debugging and development stuff, which I need only during debugging phase and I'd love to skip it from getting into final image. The problem is that there is a lot of packages I would love to skip and their list is changing all the time. So I need some sort of mechanics to have these packages only in dev phase but then I should have a 'magic button' to build a final image without all that debugging and development stuff.
What I think now of it is a separate directory of development and debug tools, built but not installed into final image - that directory can reside on my NFS server or whatever, but then I can install any RPM into final image after mounting that NFS with typical rpm -iv ...
I have no idea how I can specify correctly enough and in Yocto-polite way to build but not install packages into final image.
Could you please help me with that approach - how to build but not install packages in Yocto/BB recipes and place resulting RPM's into separate directory? Or, probably you can suggest me a better way of separating development tools and final image?
I would appreciate any help.
How to separate development tools from final image correctly in Yocto?
46 views Asked by Mirimat At
1
There are 1 answers
Related Questions in YOCTO
- Create kea runtime directory at startup in Yocto image
- Bitbaking recipe doesn't install DEPENDS
- How do I make a container image from an SD card image?
- Yocto kernel patch fails with git am
- Yocto Kirkstone Bitbake Recipe using Python3 TOML for python3-fastapi
- Confusion with thumb instructions while compiling recipe for cortexm4 CPU
- How to make Yocto place all target RPMs for a specific package group to a separate directory?
- bitbake package-index not creating repomd.xml
- yocto IMAGE_POSTPROCESS_COMMAND
- Yocto Build edk2 recipe giving error in Ubuntu: 20.04.6 LTS
- How to have per MACHINE kernel configuration in Yocto?
- tar.gz image archive created via bitbake differs from archive created manually
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- Yocto conflicting error while building rootfs
- Starting a firmware on imx7d m4 core with bootaux, on u-boot, fail when using TCM memory but not when using DDR memory
Related Questions in LAYER
- How to reuse postgres database connection client across multiple AWS Lambda invocations?
- Accessing the last convolutional layer in the model name
- Delay observed between two moving sublayers
- Nuxt 3 Layers and Azure DevOps repositories
- How to Build and Export a MSAVI raster file from Google Earth Engine
- Can I track the position of an element on flutter and display measurements and distances as on figma?
- Custom Layer using Keras
- How to get Stamen background with political boundaries
- How can I solve this layering problem in Unity 2D?
- How can I make a transparent outline for circles so that the background shows through?
- ValueError: Layer 'dense' expected 2 variables, but received 0 variables during loading. Expected: ['dense/kernel:0', 'dense/bias:0']
- how to get the full sized layer mask like photoshop in LibPSD library
- Can we create a stored procedure or a SQL function in a B1 Database using Service layer?
- Python and 3D Design
- How can i use Tailwind directive @layer @apply, when i was in Tailwind CDN environment?
Related Questions in BITBAKE
- Create kea runtime directory at startup in Yocto image
- Bitbaking recipe doesn't install DEPENDS
- Confusion with thumb instructions while compiling recipe for cortexm4 CPU
- bitbake package-index not creating repomd.xml
- How to have per MACHINE kernel configuration in Yocto?
- tar.gz image archive created via bitbake differs from archive created manually
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- How to resolve Yocto build error for Glib-2.0 for Qt?
- Change recipe variable (e.g. EXTRA_OECMAKE) inside a bitbake task
- How to set SRCREV for git tag in Yocto?
- Adding custom recipe to core-image-sato reports ERROR: Task do_populate_sdk in core-image-sato.bb rdepends upon nonexistant task do_package_write_rpm
- Yocto do_package_write_rpm failed with exit code '1' while building with bitbake
- Gitlab diskspace monitor error while building yocto
- Yocto adding local tarball path to recipe problem
- Yocto / Bitbake : How to recover after a build crash
Related Questions in OPENEMBEDDED
- Change recipe variable (e.g. EXTRA_OECMAKE) inside a bitbake task
- How to set SRCREV for git tag in Yocto?
- How can I solve the following issue when I run the command to build the Linux environment on GitBash: Python was not found, disable this shortcut
- Bitbake fetch fails complaining that URL is not trusted
- How to list all recipes used to build an image in Yocto build?
- How can I determine what is dependent on rust in my yocto distribution?
- Yocto kernel is bigger than 1GB
- How to separate development tools from final image correctly in Yocto?
- Why my editing still alive in the work dir after I do cleanall for the recipe?
- Do machine specific overrides for a machine configuration required by my custom machine configuration, get used when I build for my custom machine?
- Include meta-python-image in custom image
- OpenEmbedded (Yocto) recipe for Python validators library
- why does the arm-poky-linux-gnueabi-gcc linker not use the definition of a symbol that it says it found on the C-library?
- How to use a tool, installed on yocto build server host, from bitbake without qualifying it's full path?
- How to avoid error in do_prepare_recipe_sysroot stage?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
One way to do this is by way of using separate image recipes as briefly discussed in this same question.
For example, you could have a base image recipe (i.e. core-image-foo) that doesn't contain debug/development stuff. Then you could have another image recipe (i.e. core-image-foo-dev) that extends the base image recipe (by requiring it) with debug & development only stuff.