Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
# Autogenerated with 'bitbake -c update_crates minkidlc'

# from Cargo.lock
SRC_URI += " \
crate://crates.io/aho-corasick/1.1.4 \
crate://crates.io/anstream/0.6.21 \
crate://crates.io/anstyle/1.0.13 \
crate://crates.io/anstyle-parse/0.2.7 \
crate://crates.io/anstyle-query/1.1.4 \
crate://crates.io/anstyle-wincon/3.0.10 \
crate://crates.io/bitflags/2.10.0 \
crate://crates.io/block-buffer/0.10.4 \
crate://crates.io/cfg-if/1.0.4 \
crate://crates.io/clap/4.5.51 \
crate://crates.io/clap_builder/4.5.51 \
crate://crates.io/clap_derive/4.5.49 \
crate://crates.io/clap_lex/0.7.6 \
crate://crates.io/colorchoice/1.0.4 \
crate://crates.io/convert_case/0.6.0 \
crate://crates.io/cpufeatures/0.2.17 \
crate://crates.io/crypto-common/0.1.6 \
crate://crates.io/digest/0.10.7 \
crate://crates.io/env_filter/0.1.4 \
crate://crates.io/env_logger/0.11.8 \
crate://crates.io/futures/0.3.31 \
crate://crates.io/futures-channel/0.3.31 \
crate://crates.io/futures-core/0.3.31 \
crate://crates.io/futures-executor/0.3.31 \
crate://crates.io/futures-io/0.3.31 \
crate://crates.io/futures-sink/0.3.31 \
crate://crates.io/futures-task/0.3.31 \
crate://crates.io/futures-util/0.3.31 \
crate://crates.io/generic-array/0.14.9 \
crate://crates.io/heck/0.5.0 \
crate://crates.io/is_terminal_polyfill/1.70.2 \
crate://crates.io/jiff/0.2.16 \
crate://crates.io/jiff-static/0.2.16 \
crate://crates.io/libc/0.2.177 \
crate://crates.io/lock_api/0.4.14 \
crate://crates.io/log/0.4.28 \
crate://crates.io/memchr/2.7.6 \
crate://crates.io/once_cell/1.21.3 \
crate://crates.io/once_cell_polyfill/1.70.2 \
crate://crates.io/parking_lot/0.12.5 \
crate://crates.io/parking_lot_core/0.9.12 \
crate://crates.io/pest/2.8.3 \
crate://crates.io/pest_derive/2.8.3 \
crate://crates.io/pest_generator/2.8.3 \
crate://crates.io/pest_meta/2.8.3 \
crate://crates.io/pin-project-lite/0.2.16 \
crate://crates.io/pin-utils/0.1.0 \
crate://crates.io/portable-atomic/1.11.1 \
crate://crates.io/portable-atomic-util/0.2.4 \
crate://crates.io/prettyplease/0.2.37 \
crate://crates.io/proc-macro2/1.0.103 \
crate://crates.io/quote/1.0.42 \
crate://crates.io/redox_syscall/0.5.18 \
crate://crates.io/regex/1.12.2 \
crate://crates.io/regex-automata/0.4.13 \
crate://crates.io/regex-syntax/0.8.8 \
crate://crates.io/scc/2.4.0 \
crate://crates.io/scopeguard/1.2.0 \
crate://crates.io/sdd/3.0.10 \
crate://crates.io/serde_core/1.0.228 \
crate://crates.io/serde_derive/1.0.228 \
crate://crates.io/serial_test/3.2.0 \
crate://crates.io/serial_test_derive/3.2.0 \
crate://crates.io/sha2/0.10.9 \
crate://crates.io/slab/0.4.11 \
crate://crates.io/smallvec/1.15.1 \
crate://crates.io/strsim/0.11.1 \
crate://crates.io/syn/2.0.110 \
crate://crates.io/thiserror/1.0.69 \
crate://crates.io/thiserror-impl/1.0.69 \
crate://crates.io/typenum/1.19.0 \
crate://crates.io/ucd-trie/0.1.7 \
crate://crates.io/unicode-ident/1.0.22 \
crate://crates.io/unicode-segmentation/1.12.0 \
crate://crates.io/utf8parse/0.2.2 \
crate://crates.io/version_check/0.9.5 \
crate://crates.io/windows-link/0.2.1 \
crate://crates.io/windows-sys/0.60.2 \
crate://crates.io/windows-targets/0.53.5 \
crate://crates.io/windows_aarch64_gnullvm/0.53.1 \
crate://crates.io/windows_aarch64_msvc/0.53.1 \
crate://crates.io/windows_i686_gnu/0.53.1 \
crate://crates.io/windows_i686_gnullvm/0.53.1 \
crate://crates.io/windows_i686_msvc/0.53.1 \
crate://crates.io/windows_x86_64_gnu/0.53.1 \
crate://crates.io/windows_x86_64_gnullvm/0.53.1 \
crate://crates.io/windows_x86_64_msvc/0.53.1 \
"

SRC_URI[aho-corasick-1.1.4.sha256sum] = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
SRC_URI[anstream-0.6.21.sha256sum] = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
SRC_URI[anstyle-1.0.13.sha256sum] = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
SRC_URI[anstyle-parse-0.2.7.sha256sum] = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
SRC_URI[anstyle-query-1.1.4.sha256sum] = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2"
SRC_URI[anstyle-wincon-3.0.10.sha256sum] = "3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a"
SRC_URI[bitflags-2.10.0.sha256sum] = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
SRC_URI[clap-4.5.51.sha256sum] = "4c26d721170e0295f191a69bd9a1f93efcdb0aff38684b61ab5750468972e5f5"
SRC_URI[clap_builder-4.5.51.sha256sum] = "75835f0c7bf681bfd05abe44e965760fea999a5286c6eb2d59883634fd02011a"
SRC_URI[clap_derive-4.5.49.sha256sum] = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671"
SRC_URI[clap_lex-0.7.6.sha256sum] = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
SRC_URI[colorchoice-1.0.4.sha256sum] = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
SRC_URI[convert_case-0.6.0.sha256sum] = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
SRC_URI[env_filter-0.1.4.sha256sum] = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
SRC_URI[env_logger-0.11.8.sha256sum] = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
SRC_URI[futures-0.3.31.sha256sum] = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
SRC_URI[futures-channel-0.3.31.sha256sum] = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
SRC_URI[futures-core-0.3.31.sha256sum] = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
SRC_URI[futures-executor-0.3.31.sha256sum] = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
SRC_URI[futures-io-0.3.31.sha256sum] = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
SRC_URI[futures-sink-0.3.31.sha256sum] = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
SRC_URI[futures-task-0.3.31.sha256sum] = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
SRC_URI[futures-util-0.3.31.sha256sum] = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
SRC_URI[generic-array-0.14.9.sha256sum] = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2"
SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
SRC_URI[is_terminal_polyfill-1.70.2.sha256sum] = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
SRC_URI[jiff-0.2.16.sha256sum] = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35"
SRC_URI[jiff-static-0.2.16.sha256sum] = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69"
SRC_URI[libc-0.2.177.sha256sum] = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
SRC_URI[lock_api-0.4.14.sha256sum] = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
SRC_URI[log-0.4.28.sha256sum] = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
SRC_URI[memchr-2.7.6.sha256sum] = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
SRC_URI[once_cell_polyfill-1.70.2.sha256sum] = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
SRC_URI[parking_lot-0.12.5.sha256sum] = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
SRC_URI[parking_lot_core-0.9.12.sha256sum] = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
SRC_URI[pest-2.8.3.sha256sum] = "989e7521a040efde50c3ab6bbadafbe15ab6dc042686926be59ac35d74607df4"
SRC_URI[pest_derive-2.8.3.sha256sum] = "187da9a3030dbafabbbfb20cb323b976dc7b7ce91fcd84f2f74d6e31d378e2de"
SRC_URI[pest_generator-2.8.3.sha256sum] = "49b401d98f5757ebe97a26085998d6c0eecec4995cad6ab7fc30ffdf4b052843"
SRC_URI[pest_meta-2.8.3.sha256sum] = "72f27a2cfee9f9039c4d86faa5af122a0ac3851441a34865b8a043b46be0065a"
SRC_URI[pin-project-lite-0.2.16.sha256sum] = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
SRC_URI[portable-atomic-1.11.1.sha256sum] = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
SRC_URI[portable-atomic-util-0.2.4.sha256sum] = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
SRC_URI[prettyplease-0.2.37.sha256sum] = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
SRC_URI[proc-macro2-1.0.103.sha256sum] = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
SRC_URI[quote-1.0.42.sha256sum] = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
SRC_URI[redox_syscall-0.5.18.sha256sum] = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
SRC_URI[regex-1.12.2.sha256sum] = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
SRC_URI[regex-automata-0.4.13.sha256sum] = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
SRC_URI[regex-syntax-0.8.8.sha256sum] = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
SRC_URI[scc-2.4.0.sha256sum] = "46e6f046b7fef48e2660c57ed794263155d713de679057f2d0c169bfc6e756cc"
SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
SRC_URI[sdd-3.0.10.sha256sum] = "490dcfcbfef26be6800d11870ff2df8774fa6e86d047e3e8c8a76b25655e41ca"
SRC_URI[serde_core-1.0.228.sha256sum] = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
SRC_URI[serde_derive-1.0.228.sha256sum] = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
SRC_URI[serial_test-3.2.0.sha256sum] = "1b258109f244e1d6891bf1053a55d63a5cd4f8f4c30cf9a1280989f80e7a1fa9"
SRC_URI[serial_test_derive-3.2.0.sha256sum] = "5d69265a08751de7844521fd15003ae0a888e035773ba05695c5c759a6f89eef"
SRC_URI[sha2-0.10.9.sha256sum] = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
SRC_URI[slab-0.4.11.sha256sum] = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
SRC_URI[smallvec-1.15.1.sha256sum] = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
SRC_URI[syn-2.0.110.sha256sum] = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea"
SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
SRC_URI[typenum-1.19.0.sha256sum] = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
SRC_URI[ucd-trie-0.1.7.sha256sum] = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"
SRC_URI[unicode-ident-1.0.22.sha256sum] = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
SRC_URI[unicode-segmentation-1.12.0.sha256sum] = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
SRC_URI[windows-link-0.2.1.sha256sum] = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
SRC_URI[windows-sys-0.60.2.sha256sum] = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
SRC_URI[windows-targets-0.53.5.sha256sum] = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
SRC_URI[windows_aarch64_gnullvm-0.53.1.sha256sum] = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
SRC_URI[windows_aarch64_msvc-0.53.1.sha256sum] = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
SRC_URI[windows_i686_gnu-0.53.1.sha256sum] = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
SRC_URI[windows_i686_gnullvm-0.53.1.sha256sum] = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
SRC_URI[windows_i686_msvc-0.53.1.sha256sum] = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
SRC_URI[windows_x86_64_gnu-0.53.1.sha256sum] = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
SRC_URI[windows_x86_64_gnullvm-0.53.1.sha256sum] = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
SRC_URI[windows_x86_64_msvc-0.53.1.sha256sum] = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
SUMMARY = "Mink IDL compiler"
DESCRIPTION = " \
Mink IDL is used to describe programming interfaces that can be used to communicate across security domain boundaries. \
Once an interface is described in an IDL source file, the Mink IDL compiler can generate target language header files. \
"
HOMEPAGE = "https://github.com/quic/mink-idl-compiler.git"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The recipe should be named mink-idl-compiler, it was pointed out beforehand.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1094 (comment)
Did you modify the dependency in minkipc_git.bb?
DEPENDS += "mink-idl-compiler-native"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you remove the idl from ./tmp/sysroots-components/x86_64/minkidlc-native/usr/bin/idlc, you will encounter a compilation issue. For reference, see: #1094 (comment)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would you remove something from the dir that is not managed by the user?

SECTION = "devel"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=acff25b0ff46523fa016b260dbf64945"

SRC_URI = "git://github.com/quic/mink-idl-compiler.git;branch=main;protocol=https;tag=v${PV}"
SRCREV = "b308d896f37e76b2a9b28b837a9d3db5de99ab3d"

require minkidlc-crates.inc

inherit cargo cargo-update-recipe-crates

BBCLASSEXTEND = "native"
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
SUMMARY = "Qualcomm MinkIPC applications and library"
DESCRIPTION = " \
MINK ('Mink is Not a Kernel') is a capability-based security framework, \
which is a synchronous message passing facility based on the Object-Capability model, \
designed to facilitate secure communication between different domains. \
qteesupplicant service is designed for invocation dispatch and handling callbacks. \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is qteesupplicant provided as part of this repository?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provides the qteesupplicant as a service to enable communication between VMs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ricardosalveti ,
qteesuuplicant is a daemon that hosts callbacks for listeners, which are essential for QTEE communication.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of your responses answer Ricardo's question

Copy link
Contributor

@ricardosalveti ricardosalveti Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know what qteesupplicant is, my question is to understand why qteesupplicant is provided as part of the minkipc and not separately.

qcom-tee is hosted separately, but then qteesupplicant available via minkipc?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harshaldev27 there are enough examples in the repo (and anyway OE-Core is a better reference), use PACKAGE_BEFORE_PN, git grep will show the rest.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As shown here, the binary is packaged into ${PN}-bin, while the libraries are packaged into ${PN}. Therefore, it's not necessary to use PACKAGE_BEFORE_PN to install both binaries and libraries multiple times.

.../build/tmp/work/armv8-2a-qcom-linux/minkipc/0.0+git/packages-split$ tree minkipc minkipc-bin
minkipc
└── usr
    └── lib
        ├── libfsservice.so.1 -> libfsservice.so.1.0.0
        ├── libfsservice.so.1.0.0
        ├── libgpfsservice.so.1 -> libgpfsservice.so.1.0.0
        ├── libgpfsservice.so.1.0.0
        ├── libminkadaptor.so.0 -> libminkadaptor.so.0.1.0
        ├── libminkadaptor.so.0.1.0
        ├── libminkteec.so.1 -> libminkteec.so.1.0.0
        ├── libminkteec.so.1.0.0
        ├── libtaautoload.so.1 -> libtaautoload.so.1.0.0
        ├── libtaautoload.so.1.0.0
        ├── libtimeservice.so.1 -> libtimeservice.so.1.0.0
        ├── libtimeservice.so.1.0.0
        └── systemd
            ├── system
            │   └── qteesupplicant.service
            └── system-preset
                └── 98-minkipc.preset
minkipc-bin
└── usr
    └── bin
        ├── gp_test_client
        ├── qtee_supplicant
        └── smcinvoke_client

2 directories, 3 files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can define your own FILES and PACKAGES or use PACKAGE_BEFORE_PN for picking up individual files which are normally packaged as part of PN.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The binaries and libraries are now properly installed in CMake. Do we still need to implement a custom packaging approach using PACKAGE_BEFORE_PN?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PACKAGE_BEFORE_PN is only how it will be packaged by OE, it has nothing to do with cmake.

"
HOMEPAGE = "https://github.com/qualcomm/minkipc.git"
SECTION = "devel"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2b1366ebba1ebd9ae25ad19626bbca93"

inherit cmake systemd lib_package pkgconfig

SRC_URI = "git://github.com/qualcomm/minkipc.git;branch=main;protocol=https"
SRCREV = "ca81bb6728465301abd85a004248f285f7810ab0"
PV = "0.0+git"

DEPENDS = "qcbor qcomtee minkidlc-native glib-2.0 systemd"

EXTRA_OECMAKE = " \
-DBUILD_UNITTEST=ON \
-DCFG_ENABLE_SYSTEMD=ON \
-DCFG_USE_PKGCONFIG=ON \
-DMINKIDLC_BIN_DIR=${STAGING_BINDIR_NATIVE} \
"

SYSTEMD_SERVICE:${PN} = "qteesupplicant.service"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have been asked to split QTEE supplicant to a separate package. What happened?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lumag , I responded above explaining the reason for qtee_supplicant being part of the minkipc package, quoting it here in-case it's missed.

Hello @ricardosalveti, the reason that qtee_supplicant is part of the minkipc repository is because it is an indispensable part of the Mink-IPC communication stack. It isn't just a client application which uses the Mink-IPC library to communicate with QTEE, it is a daemon hosting listener services which are invoked by QTEE to request access to REE (Rich Execution Environment such as Linux) hosted services such a File system and System time. Hosting it in a separate repo would decouple this important daemon from the Mink IPC stack, making many important and mandatory security services hosted in QTEE in-operational if the daemon isn't available on the system.

The OPTEE Linux stack also has a similar supplicant called tee-supplicant, which is also part of the same repo as the library which enables communication with OPTEE. Please refer: https://github.com/OP-TEE/optee_client/tree/master/tee-supplicant

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You replied why it is a part of the repo. We are asking to split it to a separate package, generated by the recipe.

Loading