diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/images/core-image-testmaster-initramfs.bb | 19 | ||||
-rw-r--r-- | meta/recipes-extended/images/core-image-testmaster.bb | 18 |
2 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-extended/images/core-image-testmaster-initramfs.bb b/meta/recipes-extended/images/core-image-testmaster-initramfs.bb new file mode 100644 index 0000000000..563260d3b8 --- /dev/null +++ b/meta/recipes-extended/images/core-image-testmaster-initramfs.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "Small image capable of booting a device with custom install scripts, \ | ||
2 | adding a second rootfs, used for testing." | ||
3 | |||
4 | # use -testfs live-install scripts | ||
5 | PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install-testfs initramfs-live-install-efi-testfs busybox udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" | ||
6 | |||
7 | # Do not pollute the initrd image with rootfs features | ||
8 | IMAGE_FEATURES = "" | ||
9 | |||
10 | export IMAGE_BASENAME = "core-image-testmaster-initramfs" | ||
11 | IMAGE_LINGUAS = "" | ||
12 | |||
13 | LICENSE = "MIT" | ||
14 | |||
15 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" | ||
16 | inherit core-image | ||
17 | |||
18 | IMAGE_ROOTFS_SIZE = "8192" | ||
19 | BAD_RECOMMENDATIONS += "busybox-syslog" | ||
diff --git a/meta/recipes-extended/images/core-image-testmaster.bb b/meta/recipes-extended/images/core-image-testmaster.bb new file mode 100644 index 0000000000..ac2fdbed32 --- /dev/null +++ b/meta/recipes-extended/images/core-image-testmaster.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "A master image to be deployed on a target useful for testing other images" | ||
2 | |||
3 | IMAGE_FEATURES += "ssh-server-openssh package-management" | ||
4 | |||
5 | inherit core-image | ||
6 | |||
7 | # the deploy code requires bash and | ||
8 | # normal linux utilities not busybox ones | ||
9 | IMAGE_INSTALL += "\ | ||
10 | bash coreutils util-linux tar gzip kmod \ | ||
11 | python-modules python-misc \ | ||
12 | e2fsprogs e2fsprogs-mke2fs parted \ | ||
13 | " | ||
14 | # we need a particular initramfs for live images | ||
15 | # that pulls custom install scripts which take | ||
16 | # care of partitioning for us | ||
17 | INITRD_IMAGE = "core-image-testmaster-initramfs" | ||
18 | |||