Skip to content

Commit 8658387

Browse files
immoloNowa-Ammerlaan
authored andcommitted
Add wiki URL
Users get confused on what do next. This simple addition links to a wiki article section so we can easily keep this up to date with all the all options a user can use. Bug: https://bugs.gentoo.org/971572 Signed-off-by: Ian Jordan <immoloism@gmail.com>
1 parent 139d636 commit 8658387

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎hooks/05-check-chroot.install‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
7676
echo "/etc/cmdline.d/. Or set the kernel_cmdline in a dracut"
7777
echo "configuration file."
7878
echo ""
79+
echo "For more information see:"
80+
echo "https://wiki.gentoo.org/wiki/Installkernel#Install_chroot_check"
81+
echo ""
7982
echo "Override this check with:"
8083
echo " touch /etc/kernel/preinst.d/05-check-chroot.install"
8184
echo ""
@@ -92,6 +95,9 @@ if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
9295
echo ""
9396
echo "Please specify a command line to use in /etc/kernel/cmdline."
9497
echo ""
98+
echo "For more information see:"
99+
echo "https://wiki.gentoo.org/wiki/Installkernel#Install_chroot_check"
100+
echo ""
95101
echo "Override this check with:"
96102
echo " touch /etc/kernel/preinst.d/05-check-chroot.install"
97103
echo ""
@@ -108,6 +114,9 @@ if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
108114
echo "Please specify a command line to use in /etc/kernel/cmdline"
109115
echo "or set the Cmdline= option in /etc/kernel/uki.conf."
110116
echo ""
117+
echo "For more information see:"
118+
echo "https://wiki.gentoo.org/wiki/Installkernel#Install_chroot_check"
119+
echo ""
111120
echo "Override this check with:"
112121
echo " touch /etc/kernel/preinst.d/05-check-chroot.install"
113122
echo ""

0 commit comments

Comments
 (0)