| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.11 2005/07/06 20:23:20 agriffis Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.12 2006/06/15 14:45:59 vapier Exp $ |
|
|
4 | # |
|
|
5 | # This eclass is really only useful for bootloaders. |
| 4 | # |
6 | # |
| 5 | # If the live system has a separate /boot partition configured, then this |
7 | # If the live system has a separate /boot partition configured, then this |
| 6 | # function tries to ensure that it's mounted in rw mode, exiting with an |
8 | # function tries to ensure that it's mounted in rw mode, exiting with an |
| 7 | # error if it cant. It does nothing if /boot isn't a separate partition. |
9 | # error if it cant. It does nothing if /boot isn't a separate partition. |
| 8 | |
10 | # |
|
|
11 | # MAINTAINER: base-system@gentoo.org |
| 9 | |
12 | |
| 10 | EXPORT_FUNCTIONS pkg_preinst |
13 | EXPORT_FUNCTIONS pkg_preinst |
| 11 | |
14 | |
| 12 | mount-boot_mount_boot_partition(){ |
15 | mount-boot_mount_boot_partition(){ |
| 13 | # note that /dev/BOOT is in the Gentoo default /etc/fstab file |
16 | # note that /dev/BOOT is in the Gentoo default /etc/fstab file |