diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-01-17 19:15:09 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-03-03 18:19:42 -0300 |
commit | 5b9ece0eed86cc795f1b3a2b857a21ff0288b82f (patch) | |
tree | 5617290f7b4bc2ee14b0c9074c3bfedc1296055d | |
parent | e0c7455cd529fe2c408b5e6e05d02ca28fec308b (diff) | |
download | meta-freescale-5b9ece0eed86cc795f1b3a2b857a21ff0288b82f.tar.gz |
mfgtool-initramfs-image.bbclass: Abstracts the MfgTool's initramfs needs
Manage the initramfs requirements for Manufacturing Tool use and allow
future addition of new filesystem support if needed.
Change-Id: Ia3a1f0d32d1a12209262096162adeb36909c509b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | meta-fsl-arm/classes/mfgtool-initramfs-image.bbclass | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-fsl-arm/classes/mfgtool-initramfs-image.bbclass b/meta-fsl-arm/classes/mfgtool-initramfs-image.bbclass new file mode 100644 index 000000000..a6f8914d3 --- /dev/null +++ b/meta-fsl-arm/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 | |||
9 | DEPENDS += "u-boot-mfgtool linux-mfgtool" | ||
10 | |||
11 | PACKAGE_GROUP_mtd = "packagegroup-fsl-mfgtool-mtd" | ||
12 | PACKAGE_GROUP_extfs = "packagegroup-fsl-mfgtool-extfs" | ||
13 | |||
14 | IMAGE_FSTYPES = "cpio.gz.u-boot" | ||
15 | IMAGE_ROOTFS_SIZE ?= "8192" | ||
16 | IMAGE_CLASSES = "image_types_uboot" | ||
17 | |||
18 | # Filesystems enabled by default | ||
19 | DEFAULT_FS_SUPPORT = " \ | ||
20 | mtd \ | ||
21 | extfs \ | ||
22 | " | ||
23 | |||
24 | IMAGE_FEATURES = " \ | ||
25 | ${DEFAULT_FS_SUPPORT} \ | ||
26 | \ | ||
27 | read-only-rootfs \ | ||
28 | " | ||
29 | |||
30 | # Avoid installation of syslog | ||
31 | BAD_RECOMMENDATIONS += "busybox-syslog" | ||
32 | |||
33 | # Avoid static /dev | ||
34 | USE_DEVFS = "1" | ||
35 | |||
36 | inherit core-image | ||
37 | |||
38 | CORE_IMAGE_BASE_INSTALL = " \ | ||
39 | ${CORE_IMAGE_EXTRA_INSTALL} \ | ||
40 | " | ||