Lines 33-39
Link Here
|
33 |
# K_EXTRAEINFO - this is a new-line seperated list of einfo displays in |
33 |
# K_EXTRAEINFO - this is a new-line seperated list of einfo displays in |
34 |
# postinst and can be used to carry additional postinst |
34 |
# postinst and can be used to carry additional postinst |
35 |
# messages |
35 |
# messages |
36 |
# K_EXTRAEWARN - same as K_EXTRAEINFO except ewarn's instead of einfo's |
36 |
# K_EXTRAELOG - same as K_EXTRAEINFO except using elog instead of einfo |
|
|
37 |
# K_EXTRAEWARN - same as K_EXTRAEINFO except using ewarn instead of einfo |
37 |
# K_SYMLINK - if this is set, then forcably create symlink anyway |
38 |
# K_SYMLINK - if this is set, then forcably create symlink anyway |
38 |
# |
39 |
# |
39 |
# K_DEFCONFIG - Allow specifying a different defconfig target. |
40 |
# K_DEFCONFIG - Allow specifying a different defconfig target. |
Lines 633-642
Link Here
|
633 |
[[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir ${ROOT}sys |
634 |
[[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir ${ROOT}sys |
634 |
|
635 |
|
635 |
echo |
636 |
echo |
636 |
einfo "If you are upgrading from a previous kernel, you may be interested" |
637 |
elog "If you are upgrading from a previous kernel, you may be interested" |
637 |
einfo "in the following documents:" |
638 |
elog "in the following documents:" |
638 |
einfo " - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml" |
639 |
elog " - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml" |
639 |
kernel_is_2_6 && einfo " - 2.4 to 2.6 migration guide: http://www.gentoo.org/doc/en/migration-to-2.6.xml" |
640 |
kernel_is_2_6 && elog " - 2.4 to 2.6 migration guide: http://www.gentoo.org/doc/en/migration-to-2.6.xml" |
640 |
echo |
641 |
echo |
641 |
|
642 |
|
642 |
# if K_EXTRAEINFO is set then lets display it now |
643 |
# if K_EXTRAEINFO is set then lets display it now |
Lines 645-650
Link Here
|
645 |
while read -s ELINE; do einfo "${ELINE}"; done |
646 |
while read -s ELINE; do einfo "${ELINE}"; done |
646 |
fi |
647 |
fi |
647 |
|
648 |
|
|
|
649 |
# if K_EXTRAELOG is set then lets display it now |
650 |
if [[ -n ${K_EXTRAELOG} ]]; then |
651 |
echo ${K_EXTRAELOG} | fmt | |
652 |
while read -s ELINE; do elog "${ELINE}"; done |
653 |
fi |
654 |
|
648 |
# if K_EXTRAEWARN is set then lets display it now |
655 |
# if K_EXTRAEWARN is set then lets display it now |
649 |
if [[ -n ${K_EXTRAEWARN} ]]; then |
656 |
if [[ -n ${K_EXTRAEWARN} ]]; then |
650 |
echo ${K_EXTRAEWARN} | fmt | |
657 |
echo ${K_EXTRAEWARN} | fmt | |
Lines 662-672
Link Here
|
662 |
} |
669 |
} |
663 |
|
670 |
|
664 |
postinst_headers() { |
671 |
postinst_headers() { |
665 |
einfo "Kernel headers are usually only used when recompiling your system libc, as" |
672 |
elog "Kernel headers are usually only used when recompiling your system libc, as" |
666 |
einfo "such, following the installation of newer headers, it is advised that you" |
673 |
elog "such, following the installation of newer headers, it is advised that you" |
667 |
einfo "re-merge your system libc." |
674 |
elog "re-merge your system libc." |
668 |
einfo "Failure to do so will cause your system libc to not make use of newer" |
675 |
elog "Failure to do so will cause your system libc to not make use of newer" |
669 |
einfo "features present in the updated kernel headers." |
676 |
elog "features present in the updated kernel headers." |
670 |
} |
677 |
} |
671 |
|
678 |
|
672 |
# pkg_setup functions |
679 |
# pkg_setup functions |