summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_install.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-22 23:58:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-22 23:58:23 (GMT)
commitd2e4ca30c0b6ec1a4910f9b368f4755abafea263 (patch)
tree9497272a2af7a9183b00a6444a78bc25c3b15331 /abs/core/LinHES-config/mv_install.py
parent7b15d842df63e59ef978194846d9be33c8bb3457 (diff)
downloadlinhes_pkgbuild-d2e4ca30c0b6ec1a4910f9b368f4755abafea263.zip
linhes_pkgbuild-d2e4ca30c0b6ec1a4910f9b368f4755abafea263.tar.gz
linhes_pkgbuild-d2e4ca30c0b6ec1a4910f9b368f4755abafea263.tar.bz2
LinHES-config: mv_install add filesystem type to fstab when building it.
Was set to auto but that caused some problems with the initrd and mounting.
Diffstat (limited to 'abs/core/LinHES-config/mv_install.py')
-rwxr-xr-xabs/core/LinHES-config/mv_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index 72c94f8..260a275 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -675,9 +675,9 @@ def create_fstab(extralines):
fstab_list.append(line)
line = '''/dev/sr0 /media/cdrom auto ro,user,noauto,unhide 0 0\n'''
fstab_list.append(line)
- line = '''UUID=ROOTUID / auto defaults,noatime 0 1\n'''
+ line = '''UUID=ROOTUID / %s defaults,noatime 0 1\n''' %(hostoptions["rootfs"])
fstab_list.append(line)
- line = '''UUID=DATAUID %s auto defaults,noatime 0 1\n''' %(data_config.DATAMOUNT)
+ line = '''UUID=DATAUID %s %s defaults,noatime 0 1\n''' %(data_config.DATAMOUNT,hostoptions["datafs"])
fstab_list.append(line)
line = '''UUID=SWAPUID swap swap defaults 0 0 \n'''
fstab_list.append(line)