diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-05 19:01:07 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-05 19:01:07 (GMT) |
commit | bfa7dca8c393b0a54b6dda5301e8725a3aeecfb3 (patch) | |
tree | 77be472c218be69da116cd00862671e45540b983 /build_tools/archiso/mythvantage/root-image/root/.post_process/go.sh | |
parent | 6460f7b4846030b1ace3264c2e18a0ad08b99944 (diff) | |
download | linhes_dev-bfa7dca8c393b0a54b6dda5301e8725a3aeecfb3.zip |
mkarchiso configs
Diffstat (limited to 'build_tools/archiso/mythvantage/root-image/root/.post_process/go.sh')
-rwxr-xr-x | build_tools/archiso/mythvantage/root-image/root/.post_process/go.sh | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/build_tools/archiso/mythvantage/root-image/root/.post_process/go.sh b/build_tools/archiso/mythvantage/root-image/root/.post_process/go.sh new file mode 100755 index 0000000..a87ca0c --- /dev/null +++ b/build_tools/archiso/mythvantage/root-image/root/.post_process/go.sh @@ -0,0 +1,40 @@ +#!/bin/bash +#This script is run after data is copied, but before configuration. + +. /usr/MythVantage/bin/mv_config.py + +PD="/root/.post_process" +pacman -Sff --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 + + +#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 |