Skip to content

Commit 8e38ea4

Browse files
committed
add utils::rauc v1.15
1 parent aa3131b commit 8e38ea4

2 files changed

Lines changed: 63 additions & 0 deletions

File tree

recipes/utils/rauc.yaml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
inherit: [meson, python3]
2+
3+
depends:
4+
- tools:
5+
target-toolchain: host-compat-toolchain
6+
depends:
7+
- libs::glib-tools
8+
- python::python3-setuptools
9+
- python::packaging
10+
11+
- libs::glib-dev
12+
- libs::openssl-dev
13+
- use: []
14+
depends:
15+
- libs::glib-tgt
16+
- libs::openssl-tgt
17+
18+
metaEnvironment:
19+
PKG_LICENSE: "LGPL-2.1"
20+
PKG_VERSION: "1.15"
21+
22+
checkoutSCM:
23+
scm: url
24+
url: https://github.com/rauc/rauc/releases/download/v${PKG_VERSION}/rauc-${PKG_VERSION}.tar.xz
25+
digestSHA256: 4ae0b5246c668acb544ce0230a3bada81c78e8afd4755e5afa2218cbd686fd70
26+
stripComponents: 1
27+
28+
buildTools: [glib]
29+
buildVars: [RAUC_OPTIONS]
30+
buildSetup: |
31+
export PYTHONPATH=$PYTHONPATH:${BOB_DEP_PATHS['libs::glib-tools']}/usr/share/glib-2.0/
32+
buildScript: |
33+
mesonBuild $1 \
34+
-Djson=disabled \
35+
-Dnetwork=false \
36+
-Dstreaming=false \
37+
-Dgpt=disabled \
38+
-Dtests=false \
39+
-Ddbussystemservicedir="/usr/share/dbus-1/system-services" \
40+
-Ddbusinterfacesdir="/usr/share/dbus-1/interfaces" \
41+
-Ddbuspolicydir="/usr/share/dbus-1/system.d" \
42+
${RAUC_OPTIONS}
43+
44+
packageScript: |
45+
mesonPackageTgt
46+
47+
multiPackage:
48+
host:
49+
environment:
50+
RAUC_OPTIONS: "-Dservice=false"
51+
provideTools:
52+
rauc: "usr/bin"
53+
client:
54+
depends:
55+
- core::dbus-dev
56+
- use: []
57+
depends:
58+
- core::dbus-tgt
59+
provideDeps: ['*-tgt']
60+
environment:
61+
RAUC_OPTIONS: "-Dcreate=false"

tests/buildall/recipes/all.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ depends:
194194
- utils::mtools
195195
- utils::nano
196196
- utils::pciutils
197+
- utils::rauc-client
198+
- utils::rauc-host
197199
- utils::s390-tools-ttyrun
198200
- utils::screen
199201
- utils::strace

0 commit comments

Comments
 (0)