aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2013-10-24 16:13:19 +0300
committerLinaro Code Review <review@review.linaro.org>2013-10-24 14:01:20 +0000
commitc7c3e3d60ad1d9433459606bda7047ba840f9a9f (patch)
tree5bcb53efa0b0694a048f62c81e5d608c0deda772 /meta-linaro
parentd9d15ac240153df1b55ec7a64db6ef6ce6c35d35 (diff)
downloadmeta-linaro-c7c3e3d60ad1d9433459606bda7047ba840f9a9f.tar.gz
Add ALIP sysroot recipe
To be used with external toolchain tarball. Change-Id: Ice181bd8a3c6abae42881c7c5120b6b41e33ff91 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'meta-linaro')
-rw-r--r--meta-linaro/recipes-linaro/images/linaro-image-alip.bb2
-rw-r--r--meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb20
2 files changed, 21 insertions, 1 deletions
diff --git a/meta-linaro/recipes-linaro/images/linaro-image-alip.bb b/meta-linaro/recipes-linaro/images/linaro-image-alip.bb
index 279b0202..8a769078 100644
--- a/meta-linaro/recipes-linaro/images/linaro-image-alip.bb
+++ b/meta-linaro/recipes-linaro/images/linaro-image-alip.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linaro image with basic X11 and firefox"
inherit core-image
-IMAGE_FEATURES += "splash package-management x11-base x11-sato ssh-server-dropbear"
+IMAGE_FEATURES += "splash package-management x11-base x11-sato ssh-server-openssh"
LICENSE = "MIT"
diff --git a/meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb b/meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb
new file mode 100644
index 00000000..2c30932f
--- /dev/null
+++ b/meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb
@@ -0,0 +1,20 @@
+require linaro-image-alip.bb
+
+IMAGE_FEATURES += "\
+ dev-pkgs \
+ staticdev-pkgs \
+ "
+
+IMAGE_PREPROCESS_COMMAND += "do_delete_not_needed_dirs; "
+
+fakeroot do_delete_not_needed_dirs () {
+ for dir in bin boot dev etc home media mnt opt proc run sbin sys tmp var;
+ do
+ rm -rf ${IMAGE_ROOTFS}/${dir}
+ done
+
+ for dir in arm-oe-linux-gnueabi aarch64-oe-linux bin games sbin share src
+ do
+ rm -rf ${IMAGE_ROOTFS}/usr/${dir}
+ done
+}