diff options
author | 2013-05-27 01:00:49 -0700 | |
---|---|---|
committer | 2013-06-01 22:12:32 -0700 | |
commit | b04e6805a25ef61c29fe88bcc4cea73ebb23f57a (patch) | |
tree | 81e4560f701e6e76e7ebcc62ca8be141f5ee2ce1 /paludis/repositories/e/exndbam_repository_TEST_setup.sh | |
parent | d34636a1dc4f422aeb868e49447a0503c303f0a2 (diff) | |
download | paludis-b04e6805a25ef61c29fe88bcc4cea73ebb23f57a.tar.gz paludis-b04e6805a25ef61c29fe88bcc4cea73ebb23f57a.tar.xz |
merger: add support for selective parts
This adds the ability to take the associated classification information via
expart and then use that along with options to selectively install parts.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/repositories/e/exndbam_repository_TEST_setup.sh')
-rwxr-xr-x | paludis/repositories/e/exndbam_repository_TEST_setup.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/paludis/repositories/e/exndbam_repository_TEST_setup.sh b/paludis/repositories/e/exndbam_repository_TEST_setup.sh index 4d2311f62..1636f26db 100755 --- a/paludis/repositories/e/exndbam_repository_TEST_setup.sh +++ b/paludis/repositories/e/exndbam_repository_TEST_setup.sh @@ -86,3 +86,22 @@ src_install() { } EOF +cat <<- EOF > parts/packages/category/partitioned/partitioned-1.exheres-0 +PLATFORMS="test" +MYOPTIONS="parts: binaries libraries" + +SLOT="0" + +src_unpack() { + edo mkdir -p "\${WORK}" +} + +src_install() { + edo mkdir -p "\${IMAGE}"/usr/{bin,lib,share/man/man1} + edo touch "\${IMAGE}"/usr/{bin/binary,lib/library.{so,a},share/man/man1/expart.1} + + expart binaries /usr/bin + expart libraries /usr/lib +} +EOF + |