summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_install.py
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-12 18:55:08 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-12 18:55:08 (GMT)
commitc06b231cb8d754b8b39efc26f15226fc57e70e54 (patch)
tree6293f5f95971f3d0cb2ec2dd1ac92fbe86d9efef /abs/core/LinHES-config/mv_install.py
parentb93628bae449bd9c92aa465b9fb4e13405ae2c19 (diff)
downloadlinhes_pkgbuild-c06b231cb8d754b8b39efc26f15226fc57e70e54.zip
linhes_pkgbuild-c06b231cb8d754b8b39efc26f15226fc57e70e54.tar.gz
linhes_pkgbuild-c06b231cb8d754b8b39efc26f15226fc57e70e54.tar.bz2
LinHES-config: mv_network.py: add network fixed name link
mv_install.py: remove devpts and shm from fstab
Diffstat (limited to 'abs/core/LinHES-config/mv_install.py')
-rwxr-xr-xabs/core/LinHES-config/mv_install.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index fe4a395..4abdaa7 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -946,10 +946,6 @@ def create_fstab(extralines):
f = open(fstabfile, 'w')
line = '''# <file system> <dir> <type> <options> <dump> <pass> \n'''
fstab_list.append(line)
- line = '''devpts /dev/pts devpts defaults 0 0 \n'''
- fstab_list.append(line)
- line = '''shm /dev/shm tmpfs nodev,nosuid 0 0 \n'''
- fstab_list.append(line)
line = '''/dev/sr0 /media/cdrom auto ro,user,noauto,unhide 0 0\n'''
fstab_list.append(line)
line = '''UUID=ROOTUID / %s defaults,noatime 0 1\n''' %(hostoptions["rootfs"])
@@ -1162,18 +1158,6 @@ def fstab_it(install_type):
newfstab.append(line)
- 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)