• [gentoo-dev] [PATCH v2 3/3] greadme.eclass: set UNPACKER_NO_BANNER

    From Florian Schmaus@21:1/5 to All on Tue Jan 9 09:50:01 2024
    Signed-off-by: Florian Schmaus <flow@gentoo.org>
    ---
    eclass/greadme.eclass | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/eclass/greadme.eclass b/eclass/greadme.eclass
    index 25e0210406c1..ec01d090cc10 100644
    --- a/eclass/greadme.eclass
    +++ b/eclass/greadme.eclass
    @@ -174,7 +174,7 @@ greadme_pkg_preinst() {
    if [[ "${image_doc_file_basename}" == "${_GREADME_FILENAME}" ]]; then
    cp "${image_doc_file}" . || die
    else
    - nonfatal unpacker "${image_doc_file}"
    + UNPACKER_NO_BANNER=1 nonfatal unpacker "${image_doc_file}"
    if [[ $? -gt 0 ]]; then
    # We failed to unpack the readme doc from the
    # image, therefore, we can't show it (unless we @@ -222,7 +222,7 @@ greadme_pkg_preinst() {
    if [[ "${live_doc_file_basename}" == "${_GREADME_FILENAME}" ]]; then
    cp "${live_doc_file}" .
    else
    - nonfatal unpacker "${live_doc_file}"
    + UNPACKER_NO_BANNER=1 nonfatal unpacker "${live_doc_file}"
    if [[ $? -gt 0 ]]; then
    # We failed to unpack the live readme doc, fallback
    # to sh