Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2022 12:12:14 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Nuno Teixeira <eduardo@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: sh: getting <category>/<portname> from pwd
Message-ID:  <PSAPR03MB56398880D5E6C1B29844AD57FA309@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <CAFDf7UJp9PkrhfMmJRKO7QNTmGQYu7BQYyqczoz-Dy7hP3h74g@mail.gmail.com>
References:  <CAFDf7UJp9PkrhfMmJRKO7QNTmGQYu7BQYyqczoz-Dy7hP3h74g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

Nuno Teixeira wrote on 2022/10/26 07:14:
> I'm writing a shell script to feed poudriere testports and I need to get

Is it a hook script that installs in /usr/local/etc/poudriere.d/hooks/?
If so, I think it would be helpful to see the results of a grep like the following.

grep -r -n -e 'run_hook ' /usr/local/share/poudriere/

There are several things that origin can get from its arguments.

If the hook is after the package build is complete, there may be a way to pick it up with
/somewhere-localbase/bin/pkg query -F /somewhere/All/pkg-1.18.x.pkg %o

In the meantime, this is just an email to increase the possible ways of it :)

Regards.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB56398880D5E6C1B29844AD57FA309>