diff options
author | James Meyer <james.meyer@operamail.com> | 2014-10-13 17:03:13 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-10-13 17:03:13 (GMT) |
commit | 2e7abbab92370a4a99ad68e460c476d02296e665 (patch) | |
tree | 1d6273195dd2c4f2e22d71d26a486cbfaa77052c /build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh | |
parent | 8bef8020a022c52a8d1d4bb373b5c8cdc256284f (diff) | |
download | linhes_dev-2e7abbab92370a4a99ad68e460c476d02296e665.zip |
archiso-19 + configs for linhes iso.
This provides archiso-19 but doesn't install it inside the dev env.
Diffstat (limited to 'build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh')
-rwxr-xr-x | build_tools/archiso-19/mythvantage/backup_copy/airootfs/root/.post_process/go.sh | 41 |
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 |