Created
March 25, 2020 18:28
-
-
Save kapsh/301df8b0c7b011901b6deac3fca4fabe to your computer and use it in GitHub Desktop.
paludis pbins 101
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
--- | |
- block: | |
- name: pbins distfiles location | |
file: | |
dest: "{{paludis_cache}}/distfiles/pbins" | |
state: directory | |
- name: pbins repository layout | |
file: | |
dest: "{{paludis_repos}}/pbins/{{item}}" | |
state: directory | |
loop: | |
- metadata | |
- packages | |
- profiles | |
- name: pbins repository metadata | |
copy: | |
dest: "{{paludis_repos}}/pbins/{{item.name}}" | |
content: "{{item.content}}" | |
loop: | |
- name: profiles/repo_name | |
content: pbins | |
- name: metadata/layout.conf | |
content: masters = arbor | |
- name: Ensure categories are present in pbins | |
file: | |
dest: "{{paludis_repos}}/pbins/metadata/categories.conf" | |
state: touch | |
access_time: preserve | |
modification_time: preserve | |
module_defaults: | |
file: | |
owner: paludisbuild | |
group: paludisbuild | |
mode: u+rw,g+rw | |
copy: | |
owner: paludisbuild | |
group: paludisbuild | |
mode: u+rw,g+rw | |
- name: Enable pbins repository | |
template: | |
src: repo_configs/pbins.conf | |
dest: '{{paludis_confdir}}/repositories/' |
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
format = e | |
location = ${root}{{paludis_repos}}/pbins | |
binary_destination = true | |
distdir = {{paludis_cache}}/distfiles/pbins | |
binary_distdir = ${distdir} | |
binary_keywords_filter = amd64 ~amd64 | |
tool_prefix = x86_64-pc-linux-gnu- |
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
--- | |
paludis_cache: /var/cache/paludis | |
paludis_confdir: /etc/paludis | |
paludis_default_resume_file: /tmp/cave.resume | |
paludis_repos: /var/db/paludis/repositories | |
paludis_search_index: '{{paludis_cache}}/search/index.sqlite' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment