Ionut Biru wrote:
On 01/16/2010 05:00 AM, Allan McRae wrote:
Talking to Jan, we really need a custom repo for this given the size of
the rebuild and the length of time it will take. So I made the folders
needed for a [jpng] repo.

After making ~/staging/jpng I uploaded packages with
commitpkg jpng "message"

but then how do I get them to the repo. /arch/db-update checks the names
of the repo used and of course jpng is not there... What am I missing?

Allan

i don't think you can using db-update. i see in db-functions has a static return list.

get_repos_for_host() {
    if [ "$(hostname)" = "sigurd" ]; then
        echo "community community-testing"
    else
        echo "core extra testing"
    fi
}


Would it be possible to (temporarily) add jpng to the list for gerolde? That way we can use "/arch/db-update jpng" to add packages to the repo and have all the safety measures the db-scripts bring instead of manually using repo-add.

Any objections?
Allan



Reply via email to