From 5741327307a68d7f78e86df162c5fcd552d7ed12 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 3 Mar 2011 13:29:04 -0600 Subject: LinHES-config: mv_install.py: add missing dirs /var/lock, /var/tmp, and /usr/lib/locale --- abs/core/LinHES-config/PKGBUILD | 4 ++-- abs/core/LinHES-config/mv_install.py | 8 +++++++- 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) -- cgit v0.12