diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-09-26 15:44:53 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-09-26 15:44:53 +0200 |
commit | 844ddcf4496edfdb9b682f712ab1ae1cd16f1f97 (patch) | |
tree | 5cb9794fb8630c32797b9687cd847d7b954b55cd /recipes-core/images | |
parent | 0983092cf61779b70cb41741bd4913b0f0f0fbac (diff) | |
download | meta-updater-844ddcf4496edfdb9b682f712ab1ae1cd16f1f97.tar.gz |
Added initramfs image and fixed several error to make AGL rootfs
bootable as an OSTree deployment
Bug-AGL: SPEC-253
Change-Id: If636a282d51a64c73c46ce70a361518c1f70cdd6
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'recipes-core/images')
-rw-r--r-- | recipes-core/images/initramfs-ostree-image.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-core/images/initramfs-ostree-image.bb b/recipes-core/images/initramfs-ostree-image.bb new file mode 100644 index 0000000..71aa631 --- /dev/null +++ b/recipes-core/images/initramfs-ostree-image.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | # Netboot initramfs image. | ||
2 | DESCRIPTION = "OSTree initramfs image" | ||
3 | |||
4 | PACKAGE_INSTALL = "ostree ostree-initramfs systemd-initramfs busybox base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" | ||
5 | |||
6 | SYSTEMD_DEFAULT_TARGET = "initrd.target" | ||
7 | |||
8 | # Do not pollute the initrd image with rootfs features | ||
9 | IMAGE_FEATURES = "" | ||
10 | |||
11 | export IMAGE_BASENAME = "initramfs-ostree-image" | ||
12 | IMAGE_LINGUAS = "" | ||
13 | |||
14 | LICENSE = "MIT" | ||
15 | |||
16 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" | ||
17 | inherit core-image | ||
18 | |||
19 | IMAGE_ROOTFS_SIZE = "8192" | ||
20 | |||
21 | BAD_RECOMMENDATIONS += "busybox-syslog" | ||
22 | |||
23 | |||