summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-05-17 18:28:10 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-05-17 18:28:10 (GMT)
commit51bde26d381a43dbe03fbec0028228bea8a17f33 (patch)
tree9b009dd8408b6c72040b5a1213e4d182c4a4ff0d /abs/core
parent6f7a84649ef75069cc4fa06fabeb63e762e049d1 (diff)
downloadlinhes_pkgbuild-51bde26d381a43dbe03fbec0028228bea8a17f33.zip
linhes_pkgbuild-51bde26d381a43dbe03fbec0028228bea8a17f33.tar.gz
linhes_pkgbuild-51bde26d381a43dbe03fbec0028228bea8a17f33.tar.bz2
LinHES-system: add_storage.py: fix writing config with dir_sg
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-system/add_storage.py5
2 files changed, 7 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index 4af9bea..991c05e 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=8.4
-pkgrel=10
+pkgrel=11
arch=('i686' 'x86_64')
install=system.install
pkgdesc="Everything that makes LinHES an automated system"
@@ -100,7 +100,7 @@ md5sums=('c03d5e54f00e404c561c7dc69fff9168'
'bc69a520add58ede9b060c73e67ace13'
'74e17d6f7453c52d56fecaed5c3f6ad5'
'47e093e8cfe4b5b96602358e1f540832'
- 'e270f46a1737a52e8f6b915830ef65f7'
+ '9d1ad3c698296a1f8790c5cdc85483e3'
'0c81e5cad656f6260e39cd7585b1421a'
'e5bb027c54a2727d0bcf8d6fb357ba32'
'2c005d95312018bef80092136f80f254'
diff --git a/abs/core/LinHES-system/add_storage.py b/abs/core/LinHES-system/add_storage.py
index 260421f..853c39e 100755
--- a/abs/core/LinHES-system/add_storage.py
+++ b/abs/core/LinHES-system/add_storage.py
@@ -57,6 +57,7 @@ class disk_device:
self.model = self.get_model(device_props)
self.mmount = False
+ self.dir_sg = False
self.f = self.get_mounts(device_props)
self.is_mounted = self.get_is_mounted(device_props)
@@ -80,6 +81,9 @@ class disk_device:
def set_mmount(self,flag):
self.mmount = flag
+ def set_dir_sg(self,flag):
+ self.dir_sg = flag
+
def set_disk_num(self,num):
self.disk_num=num
@@ -730,6 +734,7 @@ def myth_main(no_mount,install_call,dir_sg):
print " Disk: %s" %(i.get_name())
i.set_mmount(True)
+ i.set_dir_sg(dir_sg)
i.set_partition("7")
i.set_disk_num(0)
i.lookup_format()