summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-blockdevices-filesystems.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-02 23:04:21 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-02 23:04:21 +0100
commit51c3e18910565ece5fdfeeec5d3673fb19035938 (patch)
treead804e122ecfcceea461bcf63f4ca0dff2548896 /src/core/libs/lib-blockdevices-filesystems.sh
parent3b7d5576116b84b0062d995f00190d95481b0cfb (diff)
sort of fixed/decoupled auto_{fstab,network,locale}, run_mkinitcpio
Diffstat (limited to 'src/core/libs/lib-blockdevices-filesystems.sh')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index a3bc099..8641dc4 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -272,14 +272,13 @@ _mkfs() {
# comments out old fields and inserts new ones
# according to partitioning/formatting stage
#
-auto_fstab()
+target_configure_fstab()
{
- if [ "$S_MKFS" = "1" -o "$S_MKFSAUTO" = "1" ]; then
- if [ -f /tmp/.fstab ]; then
- # comment out stray /dev entries
- sed -i 's/^\/dev/#\/dev/g' $var_TARGET_DIR/etc/fstab
- # append entries from new configuration
- sort /tmp/.fstab >>$var_TARGET_DIR/etc/fstab
- fi
- fi
+ if [ -f /home/arch/fifa/runtime/.fstab ]
+ then
+ # comment out stray /dev entries
+ sed -i 's/^\/dev/#\/dev/g' $var_TARGET_DIR/etc/fstab
+ # append entries from new configuration
+ sort /home/arch/fifa/runtime/.fstab >>$var_TARGET_DIR/etc/fstab
+ fi
}