summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-05 23:13:29 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-05 23:13:29 (GMT)
commit53ed8e22c9626d9dccf9676f0dfc95f6e7b9756c (patch)
tree019a998cefc5f360da9835f3082caf0e47237177 /abs/core-testing
parent9bedd8cf62642d2c1ccec60000a70c3b9bd60e5e (diff)
downloadlinhes_pkgbuild-53ed8e22c9626d9dccf9676f0dfc95f6e7b9756c.zip
linhes_pkgbuild-53ed8e22c9626d9dccf9676f0dfc95f6e7b9756c.tar.gz
linhes_pkgbuild-53ed8e22c9626d9dccf9676f0dfc95f6e7b9756c.tar.bz2
create vg mount points for updates.
Diffstat (limited to 'abs/core-testing')
-rwxr-xr-xabs/core-testing/live-installer/PKGBUILD2
-rwxr-xr-xabs/core-testing/live-installer/install_functions.sh11
2 files changed, 10 insertions, 3 deletions
diff --git a/abs/core-testing/live-installer/PKGBUILD b/abs/core-testing/live-installer/PKGBUILD
index 7eb5436..fe42458 100755
--- a/abs/core-testing/live-installer/PKGBUILD
+++ b/abs/core-testing/live-installer/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=live-installer
pkgver=1.0
-pkgrel=77
+pkgrel=81
pkgdesc="Install and configure your system"
depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan)
arch=('i686')
diff --git a/abs/core-testing/live-installer/install_functions.sh b/abs/core-testing/live-installer/install_functions.sh
index bafb27a..511dc16 100755
--- a/abs/core-testing/live-installer/install_functions.sh
+++ b/abs/core-testing/live-installer/install_functions.sh
@@ -414,8 +414,15 @@ case $1 in
sed -i -e "s/.*swap\ .*$/UUID=$SWAPUUID swap swap defaults 0/g" /$mountpoint/etc/fstab
#if Knoppmyth upgrade then loop through old fstab picking out vg
-
-
+ if [ -f /tmp/etc/KnoppMyth-version ]
+ then
+ if [ -f /tmp/etc/fstab ]
+ then
+ grep /dev/vg /tmp/etc/fstab >> /$mountpoint/etc/fstab
+ grep /dev/vg /tmp/etc/fstab | awk -v mount=$mountpoint ' { print "/" mount $2 }' |xargs mkdir
+ grep /dev/vg /tmp/etc/fstab | awk -v mount=$mountpoint ' { print "/" mount $2 }' |xargs chown -R mythtv:users
+ fi
+ fi
;;
grub_it )