initramfs: add initial emlinux-initramfs-base recipe#626
Open
hiromotai7 wants to merge 1 commit intomiraclelinux:emlinux3from
Open
initramfs: add initial emlinux-initramfs-base recipe#626hiromotai7 wants to merge 1 commit intomiraclelinux:emlinux3from
hiromotai7 wants to merge 1 commit intomiraclelinux:emlinux3from
Conversation
Introduce the emlinux-initramfs-base recipe for the first time. Confirmed it contains the same files as the original initrd. Signed-off-by: Hirotaka Motai <hirotaka.motai@miraclelinux.com>
Closed
masami256
reviewed
Apr 14, 2026
| # Debian packages that should be install into the system for building the | ||
| # initramfs. | ||
| INITRAMFS_PREINSTALL += " \ | ||
| dmsetup \ |
Contributor
There was a problem hiding this comment.
do we need dmsetup by default?
Contributor
|
@hiromotai7 The *.img file name is changed from emlinux3 branch note: '*.img' files in tmp-orig directory were built with head of emlinux3 branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Added a new INITRD recipe.
Test
Comfirmed the following:
IMAGE_INITRDis defined in local.conf.Test results
1. Confirming initrd.img creation
Add the following line to local.conf.
Run
bitbake emlinux-image-basetwice:DISTRO = "emlinux-bookworm"in conf/local.confDISTRO = "emlinux-trixie"in conf/local.confconfirmed that the initrd.img was generated and that it uses the name of the INITRD recipe.
${INITRD_RECIPE_NAME}-${DISTRO}-${MACHINE}-initrd.img2. Compare the file list inside initrd.img
The original produces 2 initrd files.
Compared them respectively.
emlinux-bookworm
Ran the following commands for comparison.
No differences found.
emlinux-trixie
Ran the following commands for comparison.
No differences found.
Since the differences are identical to those in the two original files as below and no files were missing, I consider this to be acceptable.