summaryrefslogtreecommitdiffstats
path: root/recipes-test/big-update/big-update_1.0.bb
blob: dfb3a96402e6021d9cb9b09858621dbe67bde041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DESCRIPTION = "Example Package with 10MB of random, seeded content"
LICENSE = "MPL-2.0"

SRC_URI = "file://rand_file.py"

FILES_${PN} = "/usr/lib/big-update"

DEPENDS = "coreutils-native"

inherit python3native

do_install() {
   install -d ${D}/usr/lib/big-update
   python ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 10M)
}