Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35867 Details for
Bug 57836
Genkernel mounts /boot even when with --no-install
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't mount /boot if the user specifies --no-install
genkernel-no_mount_if_no_install.patch (text/plain), 1.34 KB, created by
Martin Parm
on 2004-07-21 04:18:56 UTC
(
hide
)
Description:
Don't mount /boot if the user specifies --no-install
Filename:
MIME Type:
Creator:
Martin Parm
Created:
2004-07-21 04:18:56 UTC
Size:
1.34 KB
patch
obsolete
>diff -uNr genkernel-3.0.2c/work/genkernel-3.0.2c/genkernel /root/genkernel-3.0.2c/genkernel >--- genkernel-3.0.2c/work/genkernel-3.0.2c/genkernel 2004-07-12 22:45:57.000000000 +0200 >+++ /root/genkernel-3.0.2c/genkernel 2004-07-21 13:01:58.000000000 +0200 >@@ -73,23 +73,31 @@ > fi > > # Check /boot is mounted >-if ! egrep -q ' /boot ' /proc/mounts >+if isTrue ${CMD_NOINSTALL} > then >- if egrep -q '^[^#].+ /boot ' /etc/fstab >+ if isTrue ${MOUNTBOOT} > then >- if isTrue ${MOUNTBOOT} >+ print_info 2 "Skipping automatic mount of boot" >+ fi >+else >+ if ! egrep -q ' /boot ' /proc/mounts >+ then >+ if egrep -q '^[^#].+ /boot ' /etc/fstab > then >- if ! mount /boot >+ if isTrue ${MOUNTBOOT} > then >- print_warning 1 "${BOLD}WARNING${NORMAL}: Failed to mount /boot!" >- echo >+ if ! mount /boot >+ then >+ print_warning 1 "${BOLD}WARNING${NORMAL}: Failed to mount /boot!" >+ echo >+ else >+ print_info 1 'mount: /boot mounted successfully!' >+ fi > else >- print_info 1 'mount: /boot mounted successfully!' >+ print_warning 1 "${BOLD}WARNING${NORMAL}: No mounted /boot partition detected!" >+ print_warning 1 ' Run ``mount /boot`` to mount it!' >+ echo > fi >- else >- print_warning 1 "${BOLD}WARNING${NORMAL}: No mounted /boot partition detected!" >- print_warning 1 ' Run ``mount /boot`` to mount it!' >- echo > fi > fi > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57836
: 35867