Added code to allow the root file-system to be a module. This is for bug #118098.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@404 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 19 years ago
parent acf66c992d
commit e4820423a3

@ -19,3 +19,4 @@ MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr"
MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr raid0 raid1 \
raid5 raid6 raid10"
MODULES_DMRAID="dm-mod dm-mirror"
MODULES_FS="ext2 ext3 reiserfs jfs nfs xfs"

@ -78,5 +78,5 @@ CONSOLE="/dev/console"
# Only sections that are in by default or those that
# are not module groups need to be defined here...
HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid slowusb'
MY_HWOPTS='usb firewire sata dmraid'
HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid slowusb fs'
MY_HWOPTS='usb firewire sata dmraid fs'

@ -390,7 +390,8 @@ do
findnfsmount
else
# mount ro so fsck doesn't barf later
mount -o ro ${REAL_ROOT} ${NEW_ROOT}
REAL_ROOT_TYPE=`vol_id -t ${REAL_ROOT}`
mount -t ${REAL_ROOT_TYPE} -o ro ${REAL_ROOT} ${NEW_ROOT}
fi
# If mount is successful break out of the loop

@ -22,3 +22,4 @@ MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via \
sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci \
ata_piix sata_mv pdc_adma"
MODULES_FS="ext2 ext3 reiserfs jfs nfs xfs"

@ -22,3 +22,4 @@ MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via \
sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci \
ata_piix sata_mv pdc_adma"
MODULES_FS="ext2 ext3 reiserfs jfs nfs xfs"

@ -22,3 +22,4 @@ MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via \
sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci \
ata_piix sata_mv pdc_adma"
MODULES_FS="ext2 ext3 reiserfs jfs nfs xfs"

@ -22,3 +22,4 @@ MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via \
sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci \
ata_piix sata_mv pdc_adma"
MODULES_FS="ext2 ext3 reiserfs jfs nfs xfs"

Loading…
Cancel
Save