From d9457a3aa4ca86be1b7db164537210f152d8eb1b Mon Sep 17 00:00:00 2001 From: nic Date: Fri, 12 Jul 2024 13:58:52 -0400 Subject: Initial commit --- Technology/Gentoo/Custom Ebuild Repo.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Technology/Gentoo/Custom Ebuild Repo.md (limited to 'Technology/Gentoo/Custom Ebuild Repo.md') diff --git a/Technology/Gentoo/Custom Ebuild Repo.md b/Technology/Gentoo/Custom Ebuild Repo.md new file mode 100644 index 0000000..2a5e3b7 --- /dev/null +++ b/Technology/Gentoo/Custom Ebuild Repo.md @@ -0,0 +1,26 @@ +# Create the repo +su +mkdir -p /var/db/repos/$CUSTOM_EBUILD_REPO_NAME/{metadata,profiles} +chown -R portage:portage /var/db/repos/localrepo + +cd /var/db/repos/$CUSTOM_EBUILD_REPO_NAME/ + +vim profiles/[[repo_name](repo_name) + +vim metadata/[[layout.conf]] + +vim /etc/portage/repos.conf/[[$CUSTOM_EBUILD_REPO_NAME.conf]] + +# Add ebuilds to repo + +mkdir -p sci-visualization/visidata + +chown -R portage:portage sci-visualization + +cd + +wget ebuild_url -O pkg_name-version.ebuild + +chown -R portage:portage .ebuild + +doas pkgdev manifest -f -- cgit v1.2.3