ksud: Fix mount ext4 failed of sys-mount

This commit is contained in:
tiann 2023-02-12 18:07:42 +08:00
parent c187d1ad8a
commit 095acad8a6
No known key found for this signature in database
GPG Key ID: 6D3F65FFD9559C06
2 changed files with 6 additions and 8 deletions

View File

@ -88,9 +88,9 @@ checksum = "b645a089122eccb6111b4f81cbc1a49f5900ac4666bb93ac027feaecf15607bf"
[[package]]
name = "bindgen"
version = "0.59.2"
version = "0.60.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8"
checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6"
dependencies = [
"bitflags",
"cexpr",
@ -891,9 +891,8 @@ dependencies = [
[[package]]
name = "loopdev"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bfa0855b04611e38acaff718542e9e809cddfc16535d39f9d9c694ab19f7388"
version = "0.5.0"
source = "git+https://github.com/tiann/loopdev#4baedb0650a8df35efbd63ed117a88bb132c938a"
dependencies = [
"bindgen",
"errno",
@ -1345,8 +1344,7 @@ dependencies = [
[[package]]
name = "sys-mount"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8b080a2fff4d267282506b4d5f2efe0dfa732fb2a5715f30662eed1c4f13390"
source = "git+https://github.com/tiann/sys-mount#00359e763b3692986fc1af5e990d034bc9b48067"
dependencies = [
"bitflags",
"libc",

View File

@ -33,7 +33,7 @@ rust-embed = { version = "6.4.2", features = [
] }
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
sys-mount = "2.0.1"
sys-mount = { git = "https://github.com/tiann/sys-mount" }
# some android specific dependencies which compiles under unix are also listed here for convenience of coding
android-properties = { version = "0.2.2", features = ["bionic-deprecated"] }
procfs = "0.14"