sys-fs/stratisd: fix ebuild

This commit is contained in:
Alexander Miroshnichenko 2021-06-17 17:57:48 +03:00
parent 46d3aecf69
commit 75d3dacfc6
Signed by: alex
GPG Key ID: E93720C6C73A77F4
2 changed files with 8 additions and 1 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-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-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 DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
EBUILD stratisd-2.4.2.ebuild 5140 BLAKE2B e7a01ce571de173de09322dfd659f872c205f4f929ac588803cd14507917b6c424299b1c7a393ec5f4c4343ac0e00fe6c2f22f69578d1a76d33b178b7270efca SHA512 08c0bdf6bc8501211735a0308d756852f7f8967899d7a05c8e63015a582f49927e95f66e6cfdc6b696e71a94f50961b02d0b121a531fea791a024b4a95ec652d EBUILD stratisd-2.4.2.ebuild 5292 BLAKE2B 47e361cb46d0b0cc7330038345f214fd8ac9104839355b6c5eca027b379eb7b9c7ff957e72011f3fb3cc3bf059b015c6062dafb44b0a6d21f974c0474fac3e73 SHA512 38854205f644cadf11817df47d1ba1597fc5d578effdaa92b0834551e9990a87c3dc270824f3f1309ef0bcaa0e7c5a4dab5582eb42b923491f13cfa8b609aefd
MISC metadata.xml 364 BLAKE2B 05556be8a2ea9f74b4592df7eb2038f3baee6c2863129b938540e509c241ede9651e8221dcc9abf13f015af316aafefafcf9e9121034cdaa1d5967b910e67be1 SHA512 ae850f4a01394975342a4e078a1486a179c4155cb262ad89a25073da25823d48989f7cb34673f4c71520f624f8619cb5932bff62b0c912af27ecc71fe8327a52 MISC metadata.xml 364 BLAKE2B 05556be8a2ea9f74b4592df7eb2038f3baee6c2863129b938540e509c241ede9651e8221dcc9abf13f015af316aafefafcf9e9121034cdaa1d5967b910e67be1 SHA512 ae850f4a01394975342a4e078a1486a179c4155cb262ad89a25073da25823d48989f7cb34673f4c71520f624f8619cb5932bff62b0c912af27ecc71fe8327a52

View File

@ -187,6 +187,12 @@ PATCHES=(
${FILESDIR}/0002-duplicate_check-disable.patch ${FILESDIR}/0002-duplicate_check-disable.patch
) )
src_prepare() {
sed -i "s@/usr/lib/udev@$(get_udevdir)@g" "${S}"/dracut/90stratis/module-setup.sh
default
}
src_compile() { src_compile() {
# allow building on musl with dynamic linking support # allow building on musl with dynamic linking support
# https://github.com/BurntSushi/rust-pcre2/issues/7 # https://github.com/BurntSushi/rust-pcre2/issues/7
@ -221,6 +227,7 @@ src_install() {
if use dracut; then if use dracut; then
insinto /usr/lib/dracut/modules.d/ insinto /usr/lib/dracut/modules.d/
doins -r ${S}/dracut/90stratis doins -r ${S}/dracut/90stratis
doins -r ${S}/dracut/90stratis-clevis
insinto /usr/lib/dracut/dracut.conf.d insinto /usr/lib/dracut/dracut.conf.d
doins ${S}/dracut/90-stratis.conf doins ${S}/dracut/90-stratis.conf