-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1780 from flatcar/jepio/portage-coreos-cargo
Allow injecting coreos-cargo.eclass into portage-stable ebuilds
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/zram-generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cros_pre_src_unpack_coreos_unpack() { | ||
local _COREOS_CARGO_SKIP_INHERIT=1 | ||
source "${CROS_ADDONS_TREE}"/../eclass/coreos-cargo.eclass | ||
src_unpack() { | ||
einfo "Running coreos-cargo_src_unpack" | ||
coreos-cargo_src_unpack | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...tainer/src/third_party/coreos-overlay/coreos/config/env/sys-block/thin-provisioning-tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cros_pre_src_unpack_coreos_unpack() { | ||
local _COREOS_CARGO_SKIP_INHERIT=1 | ||
source "${CROS_ADDONS_TREE}"/../eclass/coreos-cargo.eclass | ||
src_unpack() { | ||
einfo "Running coreos-cargo_src_unpack" | ||
coreos-cargo_src_unpack | ||
} | ||
} | ||
|
||
cros_pre_src_install_rust_cross() { | ||
pushd "${S}" | ||
local rust_target="$(ls -d target/*-unknown-linux-gnu)" | ||
rust_target="${rust_target#target/}" | ||
ln -f target/{"${rust_target}",}/"$(usex debug debug release)/pdata_tools" || die | ||
popd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters