Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions recipes-initramfs/emlinux-initramfs/emlinux-initramfs-base.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# EMLinux initramfs base image
#
# Copyright Cybertrust Japan Co., Ltd.
#
# Authors:
# Hirotaka Motai <hirotaka.motai@miraclelinux.com>
#
# SPDX-License-Identifier: MIT
#
# The image will be deployed to:
# build/tmp/deploy/images/${MACHINE}/emlinux-initramfs-base-${DISTRO}-${MACHINE}-initrd.img
#

inherit initramfs

# Debian packages that should be install into the system for building the
# initramfs.
INITRAMFS_PREINSTALL += " \
dmsetup \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need dmsetup by default?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's because dmsetup was included in the emlinux-bookworm initramfs by default, However, these packages were not present in the emlinux-trixie initramfs.

Since verified filesystem is becoming more common in embedded systems for security, I think we should keep them in unless there's a specific reason not to.

systemd \
"

# Recipes that should be install into the initramfs build rootfs.
INITRAMFS_INSTALL += " \
"