summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-03-03 19:29:04 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-03-03 19:29:04 (GMT)
commit5741327307a68d7f78e86df162c5fcd552d7ed12 (patch)
treeab80a4a0303f2ca1599225a59ba76dbd0ab75335 /abs/core
parent274c143996992a171fea606887b8c53898fe1c77 (diff)
downloadlinhes_pkgbuild-5741327307a68d7f78e86df162c5fcd552d7ed12.zip
linhes_pkgbuild-5741327307a68d7f78e86df162c5fcd552d7ed12.tar.gz
linhes_pkgbuild-5741327307a68d7f78e86df162c5fcd552d7ed12.tar.bz2
LinHES-config: mv_install.py: add missing dirs /var/lock, /var/tmp, and /usr/lib/locale
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/LinHES-config/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-config/mv_install.py8
2 files changed, 9 insertions, 3 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index e84ac93..bdf3e0f 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.2
-pkgrel=17
+pkgrel=18
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
pkgdesc="Install and configure your system"
depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -101,7 +101,7 @@ build() {
install -m 0755 issue $startdir/pkg/etc/issue
}
-md5sums=('0f2d8f75fa96f9a1acbdca582560e889'
+md5sums=('39af24fdaba5c1bb241e63c0b7c757c2'
'1a4694fcd694b362c339bda781ed0f3e'
'e36da536dd651ef182e7642337889e77'
'985891a43f7c4c983eb2a362162f1a0f'
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index 1bacdd4..4c4c555 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -480,7 +480,7 @@ def copy_it(install_type):
#logging.debug(cmd)
#cmdout=commands.getoutput(cmd)
# Create the missing dir
- i = ("sys", "proc", "dev", "tmp", "mnt", "media", "media/cdrom", "media/dvd", "var/log/mythtv")
+ i = ("sys", "proc", "dev", "tmp", "mnt", "media", "media/cdrom", "media/dvd", "var/log/mythtv", "var/lock", "var/tmp", "usr/lib/locale")
mountpoint = data_config.MOUNTPOINT
for item in i:
try:
@@ -492,6 +492,12 @@ def copy_it(install_type):
# General fixup
cmd = "chmod 777 %s/tmp" %(data_config.MOUNTPOINT)
runcmd(cmd)
+ cmd = "chmod 1777 %s/var/lock" %(data_config.MOUNTPOINT)
+ runcmd(cmd)
+ cmd = "chmod 1777 %s/var/tmp" %(data_config.MOUNTPOINT)
+ runcmd(cmd)
+ cmd = "chmod 755 %s/usr/lib/locale" %(data_config.MOUNTPOINT)
+ runcmd(cmd)
cmd = "mknod %s/dev/null c 1 5" %(data_config.MOUNTPOINT)
runcmd(cmd)
cmd = "mknod %s/dev/console c 5 1" %(data_config.MOUNTPOINT)