Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions recipes-core/images/emlinux-image-base.bb
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ IMAGE_PREINSTALL:append = "\
inherit image

DEPENDS:class-sdk:append = " ${IMAGE_INSTALL}"

INITRAMFS_RECIPE ?= "emlinux-initramfs-base"
IMAGE_INITRD = "${INITRAMFS_RECIPE}"
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 \
systemd \
"

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