summaryrefslogtreecommitdiffstats
path: root/meta-linaro/recipes-linaro/images/linaro-sysroot-lamp.bb
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-08 22:46:13 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-08 22:46:13 +0200
commit8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch)
treeeb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro/recipes-linaro/images/linaro-sysroot-lamp.bb
downloadmeta-linaro-dizzy-enea.tar.gz
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro/recipes-linaro/images/linaro-sysroot-lamp.bb')
-rw-r--r--meta-linaro/recipes-linaro/images/linaro-sysroot-lamp.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-linaro/recipes-linaro/images/linaro-sysroot-lamp.bb b/meta-linaro/recipes-linaro/images/linaro-sysroot-lamp.bb
new file mode 100644
index 0000000..67eeb0f
--- /dev/null
+++ b/meta-linaro/recipes-linaro/images/linaro-sysroot-lamp.bb
@@ -0,0 +1,24 @@
1inherit core-image
2
3IMAGE_INSTALL = " \
4 packagegroup-core-standalone-hhvm-sdk-target \
5 "
6
7IMAGE_FEATURES += "\
8 dev-pkgs \
9 staticdev-pkgs \
10 "
11
12IMAGE_PREPROCESS_COMMAND += "do_delete_not_needed_dirs; "
13
14fakeroot do_delete_not_needed_dirs () {
15 for dir in bin boot dev etc home media mnt opt proc run sbin sys tmp var;
16 do
17 rm -rf ${IMAGE_ROOTFS}/${dir}
18 done
19
20 for dir in aarch64-oe-linux bin games sbin share src
21 do
22 rm -rf ${IMAGE_ROOTFS}/usr/${dir}
23 done
24}