enigma2: bump version to 4.3.3r1
[opendreambox.git] / meta-opendreambox / recipes-dreambox / recovery / recovery.inc
1 SUMMARY = "Command-line tools to flash and recover your Dreambox"
2 HOMEPAGE = "http://dreamboxupdate.com/"
3 LICENSE = "CLOSED"
4 DEPENDS = "coreutils-native udev"
5
6 inherit pkgconfig update-rc.d
7
8 SRC_URI_append = ";branch=${BRANCH}"
9
10 do_install() {
11     oe_runmake install DESTDIR=${D}
12 }
13
14 PACKAGES =+ "flash-scripts"
15
16 PACKAGE_ARCH = "${MACHINE_ARCH}"
17
18 EMMCRDEPENDS_recovery = " \
19     e2fsprogs-mke2fs \
20     gptfdisk-sgdisk \
21 "
22 EMMCRDEPENDS_flash-scripts = " \
23     util-linux-sfdisk \
24 "
25 NANDRDEPENDS_recovery = " \
26     mtd-utils-mkfs.ubifs \
27     mtd-utils-ubiattach \
28     mtd-utils-ubimkvol \
29     mtd-utils-ubirmvol \
30     mtd-utils-ubiformat \
31 "
32 NANDRDEPENDS_flash-scripts = " \
33     mtd-utils-flash-erase \
34     mtd-utils-nandwrite \
35 "
36 FASTBOOTRDEPENDS_flash-scripts = " \
37     fastboot \
38     mkbootblob \
39 "
40
41 RDEPENDS_${PN} = " \
42     flash-scripts \
43     gpgv \
44     pigz \
45     util-linux-blkid \
46     util-linux-mount \
47 "
48 RDEPENDS_${PN}_append_bcm7435 = " \
49     ${EMMCRDEPENDS_recovery} \
50 "
51 RDEPENDS_${PN}_append_bcm7439 = " \
52     ${EMMCRDEPENDS_recovery} \
53 "
54 RDEPENDS_${PN}_append_bcm73625 = " \
55     ${NANDRDEPENDS_recovery} \
56 "
57 RRECOMMENDS_${PN} = " \
58     recovery-ui \
59 "
60
61 RDEPENDS_flash-scripts = " \
62     coreutils-realpath \
63     tpm-ca \
64 "
65 RDEPENDS_flash-scripts_append_bcm7435 = " \
66     ${EMMCRDEPENDS_flash-scripts} \
67     ${FASTBOOTRDEPENDS_flash-scripts} \
68 "
69 RDEPENDS_flash-scripts_append_bcm7439 = " \
70     ${EMMCRDEPENDS_flash-scripts} \
71 "
72 RDEPENDS_flash-scripts_append_bcm73625 = " \
73     ${NANDRDEPENDS_flash-scripts} \
74 "
75
76 FILES_flash-scripts = " \
77     ${sbindir}/flash-fsbl \
78     ${sbindir}/flash-rescue \
79     ${sbindir}/flash-kernel \
80     ${sbindir}/flash-ssbl \
81     ${sbindir}/librecovery \
82     ${sbindir}/readspi \
83     ${sbindir}/select-boot-source \
84     ${sbindir}/to-the-rescue \
85     ${sbindir}/update-rescue \
86     ${sbindir}/writespi \
87 "
88
89 INITSCRIPT_NAME = "autoflashd"