Talk:Gentoo ebuild tree from scratch

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

Suggested verification script

Talk status
This discussion is still ongoing as of August 7, 2018.

I use the following script in /etc/portage/repo.postsync.d/ in conjunction with the recently added app-portage/gverify package.

CODE gentoo_verify.sh
#!/bin/bash

repository_name="${1}"
repository_path="${3}"

[[ ${repository_name} == "gentoo" ]] || exit 0

source /lib/gentoo/functions.sh

ebegin "Verifying gentoo repository"
cd "${repository_path}"
gverify ORIG_HEAD..HEAD
eend $?

Maybe this is an approach worth adding to this page?

--Poncho (talk) 07:40, 7 August 2018 (UTC)

Looks great to me, Poncho (Poncho) . Go for it! --Maffblaster (talk) 17:10, 7 August 2018 (UTC)