summaryrefslogtreecommitdiffstats
path: root/build_tools/larch8/larch0/profiles/linhes-local-disk-testing-i686/post_process/modify_chroot.sh
blob: 63d52eb746e3a31e5ddc31ed01865726e9392d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
echo "larch5" > /etc/hostname
useradd -m -s /bin/bash mythtv -G audio,video,optical,storage,users
/usr/sbin/groupadd -g 20 utmp
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
chown -R mythtv.mythtv /home/mythtv/
chown -R mythtv.mythtv /myth

cp -f /.post_process/hosts.allow /etc/hosts.allow
cp -f /.post_process/rc.conf /etc/rc.conf
#cp -f /.post_process/rc.shutdown /etc/rc.shutdown
cp -f /.post_process/menu.lst /boot/grub/menu.lst

cp -f /etc/skel/.bash* /root/
rm -f /etc/ssh/ssh_host*key*
python2 /.post_process/locale.py
echo "generating locales"
/usr/sbin/locale-gen