summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_install.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-08-19 18:23:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-08-19 18:23:42 (GMT)
commit855cc7eb5a1ec13cc4ac28a910c79633703aa18f (patch)
tree8e740605bbbdd5cb0d959072201e3d2b66a821a4 /abs/core/LinHES-config/mv_install.py
parentb1b4f59f40b122ee1a9cfa0c3a0f7a6a3b488f5f (diff)
downloadlinhes_pkgbuild-855cc7eb5a1ec13cc4ac28a910c79633703aa18f.zip
linhes_pkgbuild-855cc7eb5a1ec13cc4ac28a910c79633703aa18f.tar.gz
linhes_pkgbuild-855cc7eb5a1ec13cc4ac28a910c79633703aa18f.tar.bz2
linhes-config: clean up etc/fstab (pts shm)
added service to list of things to unsquash .upgrades from CD will now work Converted most calls to the systemconfig dict to use .get. This will stop KEYERRORS form occuring.
Diffstat (limited to 'abs/core/LinHES-config/mv_install.py')
-rwxr-xr-xabs/core/LinHES-config/mv_install.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index 694a0b8..c032aad 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -651,6 +651,18 @@ def fstab_it(install_type):
logging.debug(" New fstab line:")
logging.debug( newline)
newfstab.append(newline)
+ elif line.startswith("none"):
+ templine = line.split()
+ if ( templine[1] == "/dev/pts" ):
+ newline = '''devpts /dev/pts devpts defaults 0 0 \n'''
+ logging.debug(" New fstab line (converted):")
+ logging.debug( newline)
+ newfstab.append(newline)
+ if ( templine[1] == "/dev/shm" ):
+ newline = '''shm /dev/shm tmpfs nodev,nosuid 0 0 \n'''
+ logging.debug(" New fstab line(converted):")
+ logging.debug( newline)
+ newfstab.append(newline)
else:
logging.debug(" Line didn't match, adding to newfstab:")
logging.debug( line)