summaryrefslogtreecommitdiffstats
path: root/build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh')
-rwxr-xr-xbuild_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh41
1 files changed, 41 insertions, 0 deletions
diff --git a/build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh b/build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh
new file mode 100755
index 0000000..2e6b1d4
--- /dev/null
+++ b/build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh
@@ -0,0 +1,41 @@
+#!/bin/bash
+#This script is run after data is copied, but before configuration.
+
+. /usr/MythVantage/bin/mv_config.py
+
+PD="/root/.post_process"
+pacman -S --force --noconfirm runit-scripts
+
+HDIR=`dirname $MYTHHOME`
+mkdir -p $HDIR
+useradd -b $HDIR -m -p "" -G "audio,disk,optical,wheel,storage,video,users" mythtv
+
+
+
+chown -R mythtv.mythtv $MYTHHOME
+
+#creating /myth for live cd
+mkdir -p $DATAMOUNT
+create_media_dirs.sh $DATAMOUNT
+chown -R mythtv.mythtv $DATAMOUNT/media
+
+
+
+python2 /root/.post_process/locale.py
+echo "generating locales"
+/usr/sbin/locale-gen
+
+rm -f /etc/issue
+ln -s /etc/LinHES-release /etc/issue
+
+#remove files
+#rm -f /root/LinHES-install.sh
+#rm -f /root/startx
+rm -f /root/.directory
+rm -rf /root/linhes_install
+rm -f /etc/systemd/system/linhes-install.service
+
+#cp -rvpf /.post_process/home/mythtv /home/
+#cp -rvpf /.post_process/home/mythtv/.fluxbox /root
+#cp -vpf /.post_process/nouveau.conf /etc/modprobe.d/nouveau.conf
+mv $PD $PD.old