summaryrefslogtreecommitdiffstats
path: root/classes/mfgtool-initramfs-image.bbclass
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-07-15 17:14:27 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2015-07-16 15:01:29 -0300
commitf8517afc7a5ada4538b3b7d397fa32586d57ffe5 (patch)
tree79349f091306d1760fd4687e62336ffa8fb8c721 /classes/mfgtool-initramfs-image.bbclass
parentc92b415d653afc55f33b6b93fb9248193bfd4fa0 (diff)
downloadmeta-freescale-f8517afc7a5ada4538b3b7d397fa32586d57ffe5.tar.gz
Move meta-fsl-arm content to layer root
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes/mfgtool-initramfs-image.bbclass')
-rw-r--r--classes/mfgtool-initramfs-image.bbclass40
1 files changed, 40 insertions, 0 deletions
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
new file mode 100644
index 00000000..a9a2adf1
--- /dev/null
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -0,0 +1,40 @@
1# Generates a Manufacturing Tool Initramfs image
2#
3# This generates the initramfs used for the installation process. The
4# image provides the utilities which are used, in the target, during
5# the process and receive the commands from the MfgTool application.
6#
7# Copyright 2014 (C) O.S. Systems Software LTDA.
8
9DEPENDS += "u-boot-mfgtool linux-mfgtool"
10
11FEATURE_PACKAGES_mtd = "packagegroup-fsl-mfgtool-mtd"
12FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs"
13
14IMAGE_FSTYPES = "cpio.gz.u-boot"
15IMAGE_ROOTFS_SIZE ?= "8192"
16IMAGE_CLASSES = "image_types_uboot"
17
18# Filesystems enabled by default
19DEFAULT_FS_SUPPORT = " \
20 mtd \
21 extfs \
22"
23
24IMAGE_FEATURES = " \
25 ${DEFAULT_FS_SUPPORT} \
26 \
27 read-only-rootfs \
28"
29
30# Avoid installation of syslog
31BAD_RECOMMENDATIONS += "busybox-syslog"
32
33# Avoid static /dev
34USE_DEVFS = "1"
35
36inherit core-image
37
38CORE_IMAGE_BASE_INSTALL = " \
39 ${CORE_IMAGE_EXTRA_INSTALL} \
40"