sys-fs/stratisd: fix main binary install

master
Alexander Miroshnichenko 2021-08-11 15:05:09 +03:00
parent ecb0828fe9
commit c2b6664405
Signed by: alex
GPG Key ID: E93720C6C73A77F4
2 changed files with 9 additions and 8 deletions

View File

@ -141,5 +141,5 @@ DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9d
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
EBUILD stratisd-2.4.2.ebuild 6146 BLAKE2B 47f0eff200e1a9c1e029dd23169799b2e4f14a441c10a68ff708c757f6174ef53ff4e27504de444f91a38d359228435184317ed1d8db96b35089d5afe551681c SHA512 aebc1d31325870ea3a16b9aa0d6dc33483c7fcc72e51bcdb51926b89f71a912fab6c365d78fc146c43915de6a32a3439218ed5c437312b04116d3796428bbc3b
EBUILD stratisd-2.4.2.ebuild 6154 BLAKE2B c67e423c9015b6d03ed6e68a21fd58eb0505afc7cde56690d7cb973dab0f242e2e79920a3af9b84fd2112b8c5537ce3da1959b8675aef92e848a77752f1ddaa6 SHA512 a01efad953c5d013ce0d8c2fc99be360d91ba762c6af9b186f7ab2c3c014577b4200608bf94961038793ec038f587b924d4505b713e457c5abef6d638b3d7b40
MISC metadata.xml 364 BLAKE2B 05556be8a2ea9f74b4592df7eb2038f3baee6c2863129b938540e509c241ede9651e8221dcc9abf13f015af316aafefafcf9e9121034cdaa1d5967b910e67be1 SHA512 ae850f4a01394975342a4e078a1486a179c4155cb262ad89a25073da25823d48989f7cb34673f4c71520f624f8619cb5932bff62b0c912af27ecc71fe8327a52

View File

@ -231,20 +231,17 @@ src_install() {
dosym "$(get_udevdir)"/stratis-str-cmp "$(get_udevdir)"/stratis-base32-decode
dosym "$(get_udevdir)"/stratis-str-cmp "${EPREFIX}"/bin/stratis-predict-usage
if use extra; then
dobin ${S}/target/release/stratis_dumpmetadata
fi
exeinto /usr/libexec
doexe ${S}/target/release/stratisd
if use dracut; then
doexe ${S}/target/release/stratisd-min
dobin ${S}/target/release/stratis-min
exeinto "$(get_udevdir)"
newexe ${S}/target/release/stratis-utils stratis-str-cmp
exeinto /usr/libexec
doexe ${S}/target/release/stratisd ${S}/target/release/stratisd-min
insinto /usr/lib/dracut/modules.d/
doins -r ${S}/dracut/90stratis
doins -r ${S}/dracut/90stratis-clevis
@ -266,6 +263,10 @@ src_install() {
else
newinitd "${FILESDIR}/init.d.stratisd-r3" stratisd
fi
if use extra; then
dobin ${S}/target/release/stratis_dumpmetadata
fi
}
pkg_postinst() {