Signed-off-by: Denys Dmytriyenko <[email protected]>
---
.../recipes-core/images/arago-tiny-image.bb | 35 ++-----------------
1 file changed, 3 insertions(+), 32 deletions(-)
diff --git a/meta-arago-distro/recipes-core/images/arago-tiny-image.bb
b/meta-arago-distro/recipes-core/images/arago-tiny-image.bb
index 465d322b..5d1733e2 100644
--- a/meta-arago-distro/recipes-core/images/arago-tiny-image.bb
+++ b/meta-arago-distro/recipes-core/images/arago-tiny-image.bb
@@ -1,16 +1,9 @@
-# Common pieces for Arago images
+ARAGO_SYSVINIT = "1"
-LICENSE = "MIT"
-
-COMPATIBLE_MACHINE = "ti-soc"
-
-IMAGE_FEATURES += "package-management splash"
+require arago-image.inc
IMAGE_FSTYPES += "cpio"
-# 4KB per 1 inode should be enough
-EXTRA_IMAGECMD_ext2.gz += "-i 4096"
-
# Install a small set of utils which can be used for diagnostics
ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= " \
parted \
@@ -21,31 +14,9 @@ ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= " \
arago-feed-config \
"
-IMAGE_INSTALL += " \
+IMAGE_INSTALL = " \
packagegroup-arago-sysvinit-boot \
${ARAGO_TINY_IMAGE_EXTRA_INSTALL} \
"
export IMAGE_BASENAME = "arago-tiny-image"
-
-IMAGE_LINGUAS = ""
-
-make_bootfiles_symlinks_relative() {
- for f in "${IMAGE_ROOTFS}/boot"/*
- do
- [ -L "$f" ] || continue
-
- l=$(readlink "$f")
- if [ "${l:0:6}" == "/boot/" ]
- then
- ln -sf "${l##/boot/}" "$f"
- elif ["${l:0:1}" == "/" ]
- then
- ln -sf "..$l" "$f"
- fi
- done
-}
-
-ROOTFS_POSTPROCESS_COMMAND += "make_bootfiles_symlinks_relative;"
-
-inherit core-image
--
2.17.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago