Talk:Gentoo ebuild tree from scratch

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it 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)