Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 274130
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +7 lines)
Line  Link Here
0
-- mount-boot.eclass
0
++ mount-boot.eclass
Lines 10-23 Link Here
10
#
10
#
11
# MAINTAINER: base-system@gentoo.org
11
# MAINTAINER: base-system@gentoo.org
12
12
13
EXPORT_FUNCTIONS pkg_preinst
13
EXPORT_FUNCTIONS pkg_preinst pkg_prerm
14
14
15
mount-boot_mount_boot_partition() {
15
mount-boot_mount_boot_partition() {
16
	if [[ -n ${DONT_MOUNT_BOOT} ]] ; then
16
	if [[ -n ${DONT_MOUNT_BOOT} ]] ; then
17
		return
17
		return
18
	else
18
	else
19
		elog
19
		elog
20
		elog "To avoid automounting and autoinstalling with /boot,"
20
		elog "To avoid automounting and auto(un)installing with /boot,"
21
		elog "just export the DONT_MOUNT_BOOT variable."
21
		elog "just export the DONT_MOUNT_BOOT variable."
22
		elog
22
		elog
23
	fi
23
	fi
Lines 72-74 Link Here
72
mount-boot_pkg_preinst() {
72
mount-boot_pkg_preinst() {
73
	mount-boot_mount_boot_partition
73
	mount-boot_mount_boot_partition
74
}
74
}
75
76
mount-boot_pkg_prerm() {
77
	mount-boot_mount_boot_partition
78
}

Return to bug 274130