2019-01-17 16:47:49 +00:00
|
|
|
SUMMARY = "${PN}"
|
|
|
|
HOMEPAGE = "http://github.com/subgraph/citadel"
|
|
|
|
LICENSE = "CLOSED"
|
|
|
|
LIC_FILES_CHKSUM=""
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
inherit cargo systemd gsettings pkgconfig
|
2021-10-04 11:00:14 +00:00
|
|
|
|
2019-01-17 16:47:49 +00:00
|
|
|
#
|
|
|
|
# Update this when changes are pushed to github
|
|
|
|
#
|
2022-09-19 14:07:32 +00:00
|
|
|
SRCREV = "c79ff22a987ea5c9621db88df5ec638439011b3e"
|
2019-01-17 16:47:49 +00:00
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
GIT_URI = "git://github.com/brl/citadel-tools.git;protocol=https;branch=master"
|
2019-01-17 16:47:49 +00:00
|
|
|
|
|
|
|
# If Cargo.lock changes in citadel-tools, this needs to be updated.
|
|
|
|
# cargo bitbake does not support workspaces so as a workaround first
|
|
|
|
# copy the Cargo.lock file into one of the tool subdirectories. In
|
|
|
|
# that subdirectory run "cargo bitbake" and it will produce a bitbake
|
|
|
|
# recipe file with the correct set of dependencies for the Cargo.lock
|
|
|
|
# file. Copy just the SRC_URI variable from that file here to update
|
|
|
|
# the dependency list.
|
|
|
|
|
|
|
|
SRC_URI += " \
|
2021-12-16 21:24:41 +00:00
|
|
|
crate://crates.io/acl-sys/1.2.2 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/addr2line/0.17.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/adler/1.0.2 \
|
|
|
|
crate://crates.io/aho-corasick/0.7.18 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/ansi_term/0.12.1 \
|
|
|
|
crate://crates.io/anyhow/1.0.57 \
|
|
|
|
crate://crates.io/array-macro/1.0.5 \
|
|
|
|
crate://crates.io/async-broadcast/0.3.4 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/async-channel/1.6.1 \
|
|
|
|
crate://crates.io/async-executor/1.4.1 \
|
|
|
|
crate://crates.io/async-io/1.6.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/async-lock/2.5.0 \
|
|
|
|
crate://crates.io/async-task/4.2.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/atk-sys/0.14.0 \
|
|
|
|
crate://crates.io/atk/0.14.0 \
|
|
|
|
crate://crates.io/atty/0.2.14 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/autocfg/1.1.0 \
|
|
|
|
crate://crates.io/backtrace/0.3.65 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/bincode/1.3.3 \
|
|
|
|
crate://crates.io/bitflags/1.2.1 \
|
|
|
|
crate://crates.io/block-buffer/0.9.0 \
|
|
|
|
crate://crates.io/block-cipher/0.7.1 \
|
|
|
|
crate://crates.io/blowfish/0.5.0 \
|
|
|
|
crate://crates.io/byteorder/1.4.3 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/cache-padded/1.2.0 \
|
|
|
|
crate://crates.io/cairo-rs/0.14.9 \
|
|
|
|
crate://crates.io/cairo-sys-rs/0.14.9 \
|
|
|
|
crate://crates.io/cc/1.0.73 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/cfg-expr/0.8.1 \
|
|
|
|
crate://crates.io/cfg-if/0.1.10 \
|
|
|
|
crate://crates.io/cfg-if/1.0.0 \
|
|
|
|
crate://crates.io/chrono/0.4.19 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/clap/2.34.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/concurrent-queue/1.2.2 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/cpufeatures/0.2.2 \
|
2022-09-19 14:07:32 +00:00
|
|
|
crate://crates.io/crc32fast/1.3.2 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/crossbeam-channel/0.3.9 \
|
|
|
|
crate://crates.io/crossbeam-utils/0.6.6 \
|
|
|
|
crate://crates.io/crypto-mac/0.8.0 \
|
|
|
|
crate://crates.io/cursive/0.11.0 \
|
|
|
|
crate://crates.io/dbus/0.6.5 \
|
|
|
|
crate://crates.io/dbus/0.8.4 \
|
|
|
|
crate://crates.io/derivative/2.2.0 \
|
|
|
|
crate://crates.io/digest/0.9.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/easy-parallel/3.2.0 \
|
|
|
|
crate://crates.io/ed25519/1.5.2 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/either/1.6.1 \
|
|
|
|
crate://crates.io/enum-map-derive/0.4.6 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/enum-map-internals/0.1.2 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/enum-map/0.5.0 \
|
|
|
|
crate://crates.io/enumflags2/0.6.4 \
|
|
|
|
crate://crates.io/enumflags2_derive/0.6.4 \
|
|
|
|
crate://crates.io/enumset/0.3.19 \
|
|
|
|
crate://crates.io/enumset_derive/0.3.2 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/event-listener/2.5.2 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/failure/0.1.8 \
|
|
|
|
crate://crates.io/failure_derive/0.1.8 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/fastrand/1.7.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/field-offset/0.3.4 \
|
2022-09-19 14:07:32 +00:00
|
|
|
crate://crates.io/flate2/1.0.24 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/futures-channel/0.3.21 \
|
|
|
|
crate://crates.io/futures-core/0.3.21 \
|
|
|
|
crate://crates.io/futures-executor/0.3.21 \
|
|
|
|
crate://crates.io/futures-io/0.3.21 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/futures-lite/1.12.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/futures-macro/0.3.21 \
|
|
|
|
crate://crates.io/futures-sink/0.3.21 \
|
|
|
|
crate://crates.io/futures-task/0.3.21 \
|
|
|
|
crate://crates.io/futures-util/0.3.21 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/gdk-pixbuf-sys/0.14.0 \
|
|
|
|
crate://crates.io/gdk-pixbuf/0.14.0 \
|
|
|
|
crate://crates.io/gdk-sys/0.14.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/gdk/0.14.3 \
|
|
|
|
crate://crates.io/generic-array/0.14.5 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/getrandom/0.1.16 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/getrandom/0.2.6 \
|
|
|
|
crate://crates.io/gimli/0.26.1 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/gio-sys/0.14.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/gio/0.14.8 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/glib-macros/0.10.1 \
|
|
|
|
crate://crates.io/glib-macros/0.14.1 \
|
|
|
|
crate://crates.io/glib-sys/0.10.1 \
|
|
|
|
crate://crates.io/glib-sys/0.14.0 \
|
|
|
|
crate://crates.io/glib/0.10.3 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/glib/0.14.8 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/gobject-sys/0.10.0 \
|
|
|
|
crate://crates.io/gobject-sys/0.14.0 \
|
|
|
|
crate://crates.io/gtk-sys/0.14.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/gtk/0.14.3 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/gtk3-macros/0.14.0 \
|
|
|
|
crate://crates.io/heck/0.3.3 \
|
|
|
|
crate://crates.io/hermit-abi/0.1.19 \
|
|
|
|
crate://crates.io/hex/0.4.3 \
|
|
|
|
crate://crates.io/hmac/0.8.1 \
|
|
|
|
crate://crates.io/inotify-sys/0.1.5 \
|
|
|
|
crate://crates.io/inotify/0.8.3 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/instant/0.1.12 \
|
|
|
|
crate://crates.io/itertools/0.10.3 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/itertools/0.9.0 \
|
|
|
|
crate://crates.io/lazy_static/1.4.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/libc/0.2.126 \
|
|
|
|
crate://crates.io/libdbus-sys/0.2.2 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/libsodium-sys/0.2.7 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/log/0.4.17 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/md-5/0.9.1 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/memchr/2.5.0 \
|
|
|
|
crate://crates.io/memoffset/0.6.5 \
|
|
|
|
crate://crates.io/miniz_oxide/0.5.1 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/nix/0.17.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/nix/0.21.2 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/num-complex/0.2.4 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/num-integer/0.1.45 \
|
|
|
|
crate://crates.io/num-iter/0.1.43 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/num-rational/0.2.4 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/num-traits/0.2.15 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/num/0.2.1 \
|
|
|
|
crate://crates.io/numtoa/0.1.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/object/0.28.4 \
|
|
|
|
crate://crates.io/once_cell/1.10.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/opaque-debug/0.2.3 \
|
|
|
|
crate://crates.io/opaque-debug/0.3.0 \
|
|
|
|
crate://crates.io/owning_ref/0.4.1 \
|
|
|
|
crate://crates.io/pango-sys/0.10.0 \
|
|
|
|
crate://crates.io/pango-sys/0.14.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/pango/0.14.8 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/pango/0.9.1 \
|
|
|
|
crate://crates.io/parking/2.0.0 \
|
|
|
|
crate://crates.io/pest/2.1.3 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/pin-project-lite/0.2.9 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/pin-utils/0.1.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/pkg-config/0.3.25 \
|
|
|
|
crate://crates.io/polling/2.2.0 \
|
2021-12-16 21:24:41 +00:00
|
|
|
crate://crates.io/posix-acl/1.0.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/ppv-lite86/0.2.16 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/proc-macro-crate/0.1.5 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/proc-macro-crate/1.1.3 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/proc-macro-error-attr/1.0.4 \
|
|
|
|
crate://crates.io/proc-macro-error/1.0.4 \
|
|
|
|
crate://crates.io/proc-macro2/0.4.30 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/proc-macro2/1.0.39 \
|
2022-09-19 14:07:32 +00:00
|
|
|
crate://crates.io/procfs/0.12.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/pwhash/0.3.1 \
|
|
|
|
crate://crates.io/quote/0.6.13 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/quote/1.0.18 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/rand/0.7.3 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/rand/0.8.5 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/rand_chacha/0.2.2 \
|
|
|
|
crate://crates.io/rand_chacha/0.3.1 \
|
|
|
|
crate://crates.io/rand_core/0.5.1 \
|
|
|
|
crate://crates.io/rand_core/0.6.3 \
|
|
|
|
crate://crates.io/rand_hc/0.2.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/redox_syscall/0.2.13 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/redox_termios/0.1.2 \
|
|
|
|
crate://crates.io/regex-syntax/0.6.25 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/regex/1.5.5 \
|
2021-12-16 21:24:41 +00:00
|
|
|
crate://crates.io/remove_dir_all/0.5.3 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/rpassword/4.0.5 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/rustc-demangle/0.1.21 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/rustc_version/0.3.3 \
|
|
|
|
crate://crates.io/same-file/1.0.6 \
|
|
|
|
crate://crates.io/scoped-tls/1.0.0 \
|
|
|
|
crate://crates.io/semver-parser/0.10.2 \
|
|
|
|
crate://crates.io/semver/0.11.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/serde/1.0.137 \
|
|
|
|
crate://crates.io/serde_derive/1.0.137 \
|
|
|
|
crate://crates.io/serde_repr/0.1.8 \
|
|
|
|
crate://crates.io/sha-1/0.9.8 \
|
|
|
|
crate://crates.io/sha1/0.6.1 \
|
|
|
|
crate://crates.io/sha1_smol/1.0.0 \
|
|
|
|
crate://crates.io/sha2/0.9.9 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/signal-hook-registry/1.4.0 \
|
|
|
|
crate://crates.io/signal-hook/0.1.17 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/signature/1.5.0 \
|
|
|
|
crate://crates.io/slab/0.4.6 \
|
|
|
|
crate://crates.io/slotmap/1.0.6 \
|
|
|
|
crate://crates.io/smallvec/1.8.0 \
|
|
|
|
crate://crates.io/socket2/0.4.4 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/sodiumoxide/0.2.7 \
|
|
|
|
crate://crates.io/stable_deref_trait/1.2.0 \
|
|
|
|
crate://crates.io/static_assertions/1.1.0 \
|
|
|
|
crate://crates.io/strsim/0.8.0 \
|
|
|
|
crate://crates.io/strum/0.18.0 \
|
|
|
|
crate://crates.io/strum/0.21.0 \
|
|
|
|
crate://crates.io/strum_macros/0.18.0 \
|
|
|
|
crate://crates.io/strum_macros/0.21.1 \
|
|
|
|
crate://crates.io/subtle/2.4.1 \
|
|
|
|
crate://crates.io/syn/0.15.44 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/syn/1.0.95 \
|
|
|
|
crate://crates.io/synstructure/0.12.6 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/system-deps/1.3.2 \
|
|
|
|
crate://crates.io/system-deps/3.2.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/tempfile/3.3.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/termion/1.5.6 \
|
|
|
|
crate://crates.io/textwrap/0.11.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/thiserror-impl/1.0.31 \
|
|
|
|
crate://crates.io/thiserror/1.0.31 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/time/0.1.43 \
|
|
|
|
crate://crates.io/toml/0.4.10 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/toml/0.5.9 \
|
|
|
|
crate://crates.io/typenum/1.15.0 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/ucd-trie/0.1.3 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/unicode-ident/1.0.0 \
|
|
|
|
crate://crates.io/unicode-segmentation/1.9.0 \
|
|
|
|
crate://crates.io/unicode-width/0.1.9 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/unicode-xid/0.1.0 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/unicode-xid/0.2.3 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/vec_map/0.8.2 \
|
|
|
|
crate://crates.io/version-compare/0.0.10 \
|
|
|
|
crate://crates.io/version-compare/0.0.11 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/version_check/0.9.4 \
|
2021-10-04 11:00:14 +00:00
|
|
|
crate://crates.io/void/1.0.2 \
|
|
|
|
crate://crates.io/waker-fn/1.1.0 \
|
|
|
|
crate://crates.io/walkdir/2.3.2 \
|
|
|
|
crate://crates.io/wasi/0.10.2+wasi-snapshot-preview1 \
|
|
|
|
crate://crates.io/wasi/0.9.0+wasi-snapshot-preview1 \
|
|
|
|
crate://crates.io/wepoll-ffi/0.1.2 \
|
|
|
|
crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
|
|
|
|
crate://crates.io/winapi-util/0.1.5 \
|
|
|
|
crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
|
|
|
|
crate://crates.io/winapi/0.3.9 \
|
|
|
|
crate://crates.io/xi-unicode/0.1.0 \
|
|
|
|
crate://crates.io/zbus/2.0.0-beta.5 \
|
|
|
|
crate://crates.io/zbus_macros/2.0.0-beta.5 \
|
2022-05-28 15:20:07 +00:00
|
|
|
crate://crates.io/zvariant/2.10.0 \
|
|
|
|
crate://crates.io/zvariant_derive/2.10.0 \
|
2019-01-17 16:47:49 +00:00
|
|
|
"
|
|
|
|
|
2019-08-21 04:48:48 +00:00
|
|
|
export SODIUM_USE_PKG_CONFIG = "1"
|
|
|
|
|
2021-12-16 21:24:41 +00:00
|
|
|
DEPENDS = "libsodium openssl dbus gtk+3 glib-2.0 acl"
|
2019-01-17 16:47:49 +00:00
|
|
|
BBCLASSEXTEND = "native"
|
2020-11-03 13:14:07 +00:00
|
|
|
PACKAGES =+ "${PN}-realms ${PN}-tools ${PN}-mkimage ${PN}-boot"
|
2019-01-17 16:47:49 +00:00
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
FILES:${PN}-realms = "${bindir}/realms"
|
|
|
|
FILES:${PN}-mkimage = "${bindir}/citadel-mkimage"
|
|
|
|
FILES:${PN}-boot = "${libexecdir}/citadel-boot"
|
2019-04-02 19:55:18 +00:00
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
FILES:${PN} = "\
|
2019-04-02 19:55:18 +00:00
|
|
|
${libexecdir}/citadel-tool \
|
|
|
|
${libexecdir}/citadel-boot \
|
|
|
|
${libexecdir}/citadel-run \
|
|
|
|
${libexecdir}/citadel-install \
|
2020-10-09 13:02:46 +00:00
|
|
|
${libexecdir}/citadel-install-backend \
|
2019-04-02 19:55:18 +00:00
|
|
|
${libexecdir}/citadel-desktop-sync \
|
2020-10-09 13:02:46 +00:00
|
|
|
${libexecdir}/citadel-realmsd \
|
|
|
|
${libexecdir}/citadel-installer-ui \
|
2021-10-04 11:00:14 +00:00
|
|
|
${libexecdir}/realm-config-ui \
|
2019-04-02 19:55:18 +00:00
|
|
|
${bindir}/citadel-image \
|
|
|
|
${bindir}/citadel-realmfs \
|
2019-08-21 04:48:48 +00:00
|
|
|
${bindir}/citadel-update \
|
2019-01-17 16:47:49 +00:00
|
|
|
${systemd_system_unitdir} \
|
2020-08-05 23:30:26 +00:00
|
|
|
${sysconfdir}/dbus-1/system.d \
|
2021-10-04 11:00:14 +00:00
|
|
|
${datadir}/applications \
|
2019-01-17 16:47:49 +00:00
|
|
|
"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
SYSTEMD_SERVICE:${PN} = "citadel-current-watcher.path citadel-realmsd.service citadel-boot-automount.service"
|
2019-01-17 16:47:49 +00:00
|
|
|
|
|
|
|
TARGET_BIN = "${B}/target/${CARGO_TARGET_SUBDIR}"
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
install -d ${D}${bindir}
|
|
|
|
install -d ${D}${libexecdir}
|
|
|
|
install -d ${D}${systemd_system_unitdir}
|
2021-10-04 11:00:14 +00:00
|
|
|
install -d ${D}${datadir}/applications
|
|
|
|
install -d ${D}${datadir}/glib-2.0/schemas
|
2019-01-17 16:47:49 +00:00
|
|
|
|
2019-04-02 19:55:18 +00:00
|
|
|
# Services desktop sync
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 644 ${S}/systemd/citadel-desktop-watcher.path ${D}${systemd_system_unitdir}
|
|
|
|
install -m 644 ${S}/systemd/citadel-desktop-watcher.service ${D}${systemd_system_unitdir}
|
|
|
|
install -m 644 ${S}/systemd/citadel-current-watcher.path ${D}${systemd_system_unitdir}
|
|
|
|
install -m 644 ${S}/systemd/citadel-current-watcher.service ${D}${systemd_system_unitdir}
|
2019-01-17 16:47:49 +00:00
|
|
|
|
2020-12-07 22:26:39 +00:00
|
|
|
# Unit to run: citadel-boot boot-automount
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 644 ${S}/systemd/citadel-boot-automount.service ${D}${systemd_system_unitdir}
|
2020-12-07 22:26:39 +00:00
|
|
|
|
2020-08-05 23:30:26 +00:00
|
|
|
# realmsd
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 644 ${S}/data/citadel-realmsd.service ${D}${systemd_system_unitdir}
|
2020-08-05 23:30:26 +00:00
|
|
|
install -m 755 -T ${TARGET_BIN}/realmsd ${D}${libexecdir}/citadel-realmsd
|
|
|
|
install -d ${D}${sysconfdir}/dbus-1/system.d
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 644 ${S}/data/com.subgraph.realms.Manager.conf ${D}${sysconfdir}/dbus-1/system.d
|
2020-08-05 23:30:26 +00:00
|
|
|
|
2020-10-09 13:02:46 +00:00
|
|
|
# citadel-installer-ui
|
|
|
|
install -m 755 ${TARGET_BIN}/citadel-installer-ui ${D}${libexecdir}
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 644 ${S}/data/com.subgraph.installer.Manager.conf ${D}${sysconfdir}/dbus-1/system.d
|
2019-01-17 16:47:49 +00:00
|
|
|
|
2021-10-04 11:00:14 +00:00
|
|
|
# realm-config-ui
|
|
|
|
install -m 0755 ${TARGET_BIN}/realm-config-ui ${D}${libexecdir}
|
|
|
|
install -m 0644 ${S}/data/com.subgraph.RealmConfig.desktop ${D}${datadir}/applications
|
|
|
|
install -m 0644 ${S}/data/com.subgraph.RealmConfig.gschema.xml ${D}${datadir}/glib-2.0/schemas
|
|
|
|
|
2019-04-02 19:55:18 +00:00
|
|
|
# /usr/libexec/citadel-tool
|
|
|
|
install -m 755 ${TARGET_BIN}/citadel-tool ${D}${libexecdir}
|
2019-01-17 16:47:49 +00:00
|
|
|
|
|
|
|
# citadel-realms as /usr/bin/realms
|
|
|
|
install -m 755 -T ${TARGET_BIN}/citadel-realms ${D}${bindir}/realms
|
2019-04-02 19:55:18 +00:00
|
|
|
|
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${libexecdir}/citadel-boot
|
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${libexecdir}/citadel-install
|
2020-10-09 13:02:46 +00:00
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${libexecdir}/citadel-install-backend
|
2019-04-02 19:55:18 +00:00
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${libexecdir}/citadel-desktop-sync
|
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${libexecdir}/citadel-run
|
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${bindir}/citadel-image
|
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${bindir}/citadel-mkimage
|
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${bindir}/citadel-realmfs
|
2019-08-21 04:48:48 +00:00
|
|
|
ln ${D}${libexecdir}/citadel-tool ${D}${bindir}/citadel-update
|
2019-01-17 16:47:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#
|
|
|
|
# To make development more convenient citadel-tools recipes support
|
|
|
|
# building from a checked out tree on the filesystem. If the variable
|
|
|
|
# CITADEL_TOOLS_PATH is set (preferably in build/conf/local.conf) then
|
|
|
|
# bitbake will not check out the source files from git but instead will
|
|
|
|
# copy the directory this variable contains.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# By default:
|
|
|
|
#
|
|
|
|
# S = "${WORKDIR}/git"
|
|
|
|
#
|
|
|
|
# if CITADEL_TOOLS_PATH is set:
|
|
|
|
#
|
|
|
|
# S = "${WORKDIR}${CITADEL_TOOLS_PATH}"
|
|
|
|
#
|
|
|
|
S = "${WORKDIR}${@source_path(d)}"
|
|
|
|
|
|
|
|
#
|
|
|
|
# By default:
|
|
|
|
#
|
|
|
|
# SRC_URI += "${GIT_URI}"
|
|
|
|
#
|
|
|
|
# If CITADEL_TOOLS_PATH is set:
|
|
|
|
#
|
|
|
|
# SRC_URI += "file://${CITADEL_TOOLS_PATH}"
|
|
|
|
#
|
|
|
|
SRC_URI += "${@source_uri(d)}"
|
|
|
|
|
|
|
|
def source_path(d):
|
|
|
|
tools_path = d.getVar("CITADEL_TOOLS_PATH")
|
|
|
|
|
|
|
|
if tools_path:
|
|
|
|
return tools_path
|
|
|
|
else:
|
|
|
|
return "/git"
|
|
|
|
|
|
|
|
def source_uri(d):
|
|
|
|
tools_path = d.getVar("CITADEL_TOOLS_PATH")
|
|
|
|
if tools_path:
|
|
|
|
return "file://" + tools_path
|
|
|
|
else:
|
|
|
|
return d.getVar("GIT_URI")
|
2019-04-02 19:55:18 +00:00
|
|
|
|
|
|
|
# Set debug build if CITADEL_TOOLS_PATH is set for faster builds
|
|
|
|
DEBUG_BUILD = "${@debug_build(d)}"
|
|
|
|
def debug_build(d):
|
|
|
|
tools_path = d.getVar("CITADEL_TOOLS_PATH")
|
|
|
|
if tools_path:
|
|
|
|
return "1"
|
|
|
|
else:
|
|
|
|
return "0"
|
|
|
|
|
|
|
|
#do_fetch[file-checksums] = ""
|