mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
x11-drivers/nvidia-drivers: add more spacing to the legacy warning
Bit more readable and also makes it stand out a bit more. Note that using \n rather than a blank `ewarn` given since some portage versions ago the blank ewarns are only shown in the build.log and not "after" emerging while \n is preserved. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -465,13 +465,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
@@ -548,13 +548,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
@@ -575,13 +575,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
@@ -575,13 +575,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
@@ -529,13 +529,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
@@ -528,13 +528,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
@@ -528,13 +528,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
@@ -529,13 +529,13 @@ pkg_postinst() {
|
||||
ewarn "\nYou are installing a version of ${PN} known not to work"
|
||||
ewarn "with a GPU of the current system. If unwanted, add the mask:"
|
||||
if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
|
||||
ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
|
||||
else
|
||||
ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
|
||||
fi
|
||||
ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions"
|
||||
ewarn "are available or fully functional, may need to consider nouveau[2])."
|
||||
ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html"
|
||||
ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user