[dvbapp] increase PR.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-vuplus / images / vuplus-image.inc
1 SUMMARY = "A Vuplus firmware image"
2
3 # packages to build for the feed
4 DEPENDS = " \
5         gdb \
6         lsof \
7         ltrace \
8         strace \
9 "
10
11 # build e2openplugins
12 DEPENDS += " \
13         enigma2-plugin-extensions-openwebif \
14         enigma2-plugin-extensions-remotestreamconvert \
15         enigma2-plugin-extensions-addstreamurl \
16         enigma2-plugin-systemplugins-autoshutdown \
17 "
18 DEPENDS += " \
19         ${@base_contains("VUPLUS_FEATURES", "webmanual", "vuplus-manual", "", d)} \
20 "
21 DEPENDS += " \
22         ${@base_contains("VUPLUS_FEATURES", "xbmc", "enigma2-plugin-extensions-xbmc", "", d)} \
23 "
24
25 #BAD_RECOMMENDATIONS += "libnss-mdns wpa-supplicant-passphrase"
26 BAD_RECOMMENDATIONS += "libnss-mdns"
27
28 PACKAGEGROUP_CORE_BOOT ?= "packagegroup-core-boot"
29 PACKAGEGROUP_VUPLUS_BASE ?= "packagegroup-vuplus-base"
30 PACKAGEGROUP_VUPLUS_ENIGMA ?= "packagegroup-vuplus-enigma2"
31 PACKAGEGROUP_ESSENCIAL ?= "packagegroup-vuplus-essential"
32
33 IMAGE_INSTALL = " \
34         ${PACKAGEGROUP_CORE_BOOT} ${ROOTFS_PKGMANAGE} \
35         ${PACKAGEGROUP_VUPLUS_BASE} \
36         ${PACKAGEGROUP_VUPLUS_ENIGMA} \
37         ${PACKAGEGROUP_ESSENCIAL} \
38 "
39
40 # enable online package management
41 IMAGE_FEATURES += "package-management"
42
43 # we don't want any locales, at least not in the common way.
44 IMAGE_LINGUAS = ""
45
46 inherit image
47
48 vuplus_rootfs_postprocess() {
49     # generate /etc/image-version
50     IMAGE_DATE=`date +%Y%m%d%H%M`
51     # 0: Release, 1: Experimental
52     IMAGE_TYPE="1"
53     # e.g. 400 for release 4.0.0, if IMAGE_TYPE=0
54     IMAGE_VERSION="000"
55     echo "version=${IMAGE_TYPE}${IMAGE_VERSION}${IMAGE_DATE}" > ${IMAGE_ROOTFS}/etc/image-version
56 }
57
58 ROOTFS_POSTPROCESS_COMMAND += "vuplus_rootfs_postprocess; "