diff options
author | James Meyer <jams@linhes.org> | 2010-12-04 23:44:45 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-04 23:44:51 (GMT) |
commit | f51fb708846d13222bd97b3f760eb3be902c0be0 (patch) | |
tree | ad25ff81828f12cb7da86384863e163cb4e001f2 /build_tools/clarch/larch/profiles/MV-local/post_process | |
parent | 4384efe238cdfeac86fae0d8e1097a409350f8c6 (diff) | |
download | linhes_dev-f51fb708846d13222bd97b3f760eb3be902c0be0.zip |
remove old versions of larch 6 and 7
Diffstat (limited to 'build_tools/clarch/larch/profiles/MV-local/post_process')
13 files changed, 0 insertions, 510 deletions
diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/fstab b/build_tools/clarch/larch/profiles/MV-local/post_process/fstab deleted file mode 100755 index 8ea8305..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/fstab +++ /dev/null @@ -1,14 +0,0 @@ -# -# /etc/fstab: static file system information -# -# <file system> <dir> <type> <options> <dump> <pass> -none /dev/pts devpts defaults 0 0 -none /dev/shm tmpfs defaults 0 0 - -/dev/cdrom /mnt/cd iso9660 ro,user,noauto,unhide 0 0 -/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0 -/dev/fd0 /mnt/fl vfat user,noauto 0 0 - -/dev/hda1 / reiserfs defaults 0 1 -/dev/hda2 swap swap defaults 0 0 -/dev/hda3 /data reiserfs defaults 0 0 diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/functions.patch b/build_tools/clarch/larch/profiles/MV-local/post_process/functions.patch deleted file mode 100644 index eb9034c..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/functions.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- functions.orig 2008-07-06 10:16:37.000000000 -0500 -+++ functions 2008-07-06 19:42:07.000000000 -0500 -@@ -61,8 +61,8 @@ - - # prefixes: - --PREFIX_REG="::" --PREFIX_HL=" >" -+PREFIX_REG=" :" -+PREFIX_HL=" :" - - # functions: - diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.allow b/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.allow deleted file mode 100644 index ca19dbb..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.allow +++ /dev/null @@ -1,7 +0,0 @@ -# -# /etc/hosts.allow -# -ALL: 192.168. -ALL: 10. -ALL: 127.0.0.1 -# End of file diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.deny b/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.deny deleted file mode 100755 index ca30ab4..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.deny +++ /dev/null @@ -1,6 +0,0 @@ -# -# /etc/hosts.deny -# -ALL - -# End of file diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/menu.lst b/build_tools/clarch/larch/profiles/MV-local/post_process/menu.lst deleted file mode 100755 index 1bd45a6..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/menu.lst +++ /dev/null @@ -1,55 +0,0 @@ -# Config file for GRUB - The GNU GRand Unified Bootloader -# /boot/grub/menu.lst - -# DEVICE NAME CONVERSIONS -# -# Linux Grub -# ------------------------- -# /dev/fd0 (fd0) -# /dev/hda (hd0) -# /dev/hdb2 (hd1,1) -# /dev/hda3 (hd0,2) -# - -# FRAMEBUFFER RESOLUTION SETTINGS -# +-------------------------------------------------+ -# | 640x480 800x600 1024x768 1280x1024 -# ----+-------------------------------------------- -# 256 | 0x301=769 0x303=771 0x305=773 0x307=775 -# 32K | 0x310=784 0x313=787 0x316=790 0x319=793 -# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794 -# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795 -# +-------------------------------------------------+ - -# general configuration: -timeout 5 -default 0 -#color light-blue/black light-cyan/blue - -# boot sections follow -# each is implicitly numbered from 0 in the order of appearance below -# -# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line. -# -#-* -hiddenmenu - -# (0) normal -title MythVantage -root (hd0,0) -kernel /boot/vmlinuz26 root=/dev/hda1 ro init=/sbin/runit console=tty1 -initrd /boot/kernel26.img - -# (1) bootsplash -title STB-bootsplash -root (hd0,0) -kernel /boot/vmlinuz26 root=/dev/hda1 ro init=/sbin/runit quiet vga=0x318 splash=silent,theme:darch console=tty1 -initrd /boot/kernel26.img - -# (2) noautologin -title STB-nologin -root (hd0,0) -kernel /boot/vmlinuz26 root=/dev/hda1 ro init=/sbin/runit quiet vga=0x318 splash=silent,theme:darch console=tty1 noautologin -initrd /boot/kernel26.img - - diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/pacman.conf b/build_tools/clarch/larch/profiles/MV-local/post_process/pacman.conf deleted file mode 100755 index e4495ed..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/pacman.conf +++ /dev/null @@ -1,64 +0,0 @@ -# -# /etc/pacman.conf -# -# NOTE: If you find a mirror that is geographically close to you, please -# move it to the top of the server list, so pacman will choose it -# first. -# -# To re-sort your mirror lists by ping/traceroute results, use the -# /usr/bin/sortmirrors script. It requires the "netselect" package. -# - -# See the pacman manpage for option directives - -# -# GENERAL OPTIONS -# -[options] -LogFile = /var/log/pacman.log -NoUpgrade = etc/passwd etc/group etc/shadow etc/sudoers -NoUpgrade = etc/fstab etc/raidtab etc/ld.so.conf -NoUpgrade = etc/rc.conf etc/rc.local -NoUpgrade = etc/modprobe.conf etc/modules.conf -NoUpgrade = etc/lilo.conf boot/grub/menu.lst -NoUpgrade = data/srv/hobbit/etc/bb-hosts -NoUpgrade = etc/func/minion.conf - -HoldPkg = pacman glibc -CacheDir = /data/var/cache/pacman/pkg -#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u - -# -# REPOSITORIES -# - can be defined here or included from another file -# - pacman will search repositories in the order defined here. -# - local/custom mirrors can be added here or in separate files -# -[mv-core-testing] -Server = http://mvbuild/repo/mv-core-testing/ - -[mv-extra-testing] -Server = http://mvbuild/repo/mv-extra-testing/ - -[svc_pkg] -Include = /etc/pacman.d/svc_pkg - - -########################ARCH DEFAULTS############# -#[core] -# Add your preferred servers here, they will be used first -#Include = /etc/pacman.d/mirrorlist - -#[extra] -# Add your preferred servers here, they will be used first -#Include = /etc/pacman.d/mirrorlist - -#[community] -# Add your preferred servers here, they will be used first -#Include = /etc/pacman.d/mirrorlist - -# Unstable is disabled by default. To enable, uncomment the following -# two lines. You can add preferred servers immediately after the header, -# and they will be used before the default mirrors. -#[unstable] -#Include = /etc/pacman.d/mirrorlist diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.conf b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.conf deleted file mode 100755 index 03d8e5c..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.conf +++ /dev/null @@ -1,113 +0,0 @@ -# -# /etc/rc.conf - Main Configuration for Arch Linux -# - -# -# ----------------------------------------------------------------------- -# LOCALIZATION -# ----------------------------------------------------------------------- -# -# LOCALE: available languages can be listed with the 'locale -a' command -# HARDWARECLOCK: set to "UTC" or "localtime" -# TIMEZONE: timezones are found in /usr/share/zoneinfo -# KEYMAP: keymaps are found in /usr/share/kbd/keymaps -# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US) -# CONSOLEMAP: found in /usr/share/kbd/consoletrans -# USECOLOR: use ANSI color sequences in startup messages -# -LOCALE="en_US.utf8" -HARDWARECLOCK="UTC" -TIMEZONE="US/Central" -KEYMAP="us" -CONSOLEFONT= -CONSOLEMAP= -USECOLOR="no" - -# -# ----------------------------------------------------------------------- -# HARDWARE -# ----------------------------------------------------------------------- -# -# Scan hardware and load required modules at bootup -MOD_AUTOLOAD="yes" -if [ -f /etc/systemconfig ] -then - . /etc/systemconfig -fi - -if [ x$Audiotype = xOSS -a ! -f /tmp/.alsatest ] -then - ALSABLACKLIST="soundcore" -else - if [ x$Audiotype = x ] - then - ALSABLACKLIST="soundcore" - else - ALSABLACKLIST="" - fi -fi - -# Module Blacklist - modules in this list will never be loaded by udev -MOD_BLACKLIST=($ALSABLACKLIST) -# -# Modules to load at boot-up (in this order) -# - prefix a module with a ! to blacklist it -# -MODULES=() -# Scan for LVM volume groups at startup, required if you use LVM -USELVM="no" - -# -# ----------------------------------------------------------------------- -# NETWORKING -# ----------------------------------------------------------------------- -# -HOSTNAME=`cat /etc/hostname` - -#The following is only used on the install. After the first boot everything is set from /etc/net. - - -# -# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available -# interfaces. -# -# Interfaces to start at boot-up (in this order) -# Declare each interface then list in INTERFACES -# - prefix an entry in INTERFACES with a ! to disable it -# - no hyphens in your interface names - Bash doesn't like it -# -# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp") -# -lo="lo 127.0.0.1" -#eth0="dhcp" -INTERFACES=(lo ) -# -# Routes to start at boot-up (in this order) -# Declare each route then list in ROUTES -# - prefix an entry in ROUTES with a ! to disable it -# -gateway="default gw 192.168.0.1" -ROUTES=(!gateway) -# -# Enable these network profiles at boot-up. These are only useful -# if you happen to need multiple network configurations (ie, laptop users) -# - set to 'menu' to present a menu during boot-up (dialog package required) -# - prefix an entry with a ! to disable it -# -# Network profiles are found in /etc/network-profiles -# -#NET_PROFILES=(main) - -# -# ----------------------------------------------------------------------- -# DAEMONS -# ----------------------------------------------------------------------- -# -# Daemons to start at boot-up (in this order) -# - prefix a daemon with a ! to disable it -# - prefix a daemon with a @ to start it up in the background -# -#DAEMONS=(syslog-ng network netfs crond) -DAEMONS=(!syslog-ng !hotplug !pcmcia network mysqld dbus hal avahi-daemon) - -# End of file diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.local b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.local deleted file mode 100755 index 0552860..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.local +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -. /etc/profile -. ${MV_ROOT}/bin/install_functions.sh -#install initial database -pacman -S --noconfirm /data/var/cache/pacman/pkg/mythdb-initial* 2>/dev/null - -init_network -/etc/rc.d/alsa-utils start 0 -init_remote -random_theme - -echo $CMDLINE | grep -q NoX -if [ $? = 0 ] -then - echo "No auto X option found" - /usr/bin/chvt 2 -else - /root/startx & -fi - - diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.shutdown b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.shutdown deleted file mode 100755 index 1a8cdbe..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.shutdown +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/bash -# -# /etc/rc.shutdown -# - -. /etc/rc.conf -. /etc/rc.d/functions - -# avoid staircase effect -/bin/stty onlcr - -echo " " -printhl "Initiating Shutdown..." -echo " " - -if [ -x /etc/rc.local.shutdown ]; then - /etc/rc.local.shutdown -fi - -if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then - # Shutdown daemons - let i=${#DAEMONS[@]} - while [[ i -ge 0 ]]; do - if [[ `echo ${DAEMONS[$i]} | grep '^[^\!]' | wc -l` -eq 1 ]]; then - /etc/rc.d/${DAEMONS[$i]#@} stop - fi - let i=i-1 - done - # find any leftover daemons and shut them down - if [ -d /var/run/daemons ]; then - for daemon in `ls /var/run/daemons`; do - /etc/rc.d/$daemon stop - done - fi -fi - -# Terminate all processes -stat_busy "Sending SIGTERM To Processes" -/sbin/killall5 -15 &> /dev/null -/bin/sleep 5 -stat_done - -stat_busy "Sending SIGKILL To Processes" -/sbin/killall5 -9 &> /dev/null -/bin/sleep 1 -stat_done - -stat_busy "Saving Random Seed" -/bin/dd if=/dev/urandom of=/var/run/random-seed count=1 bs=512 2> /dev/null -stat_done - -stat_busy "Saving System Clock" -if [ "$HARDWARECLOCK" = "UTC" ]; then - /sbin/hwclock --directisa --utc --systohc -else - /sbin/hwclock --directisa --localtime --systohc -fi -stat_done - -# removing psmouse module to fix some reboot issues on newer laptops -modprobe -r psmouse >/dev/null 2>&1 - -# Write to wtmp file before unmounting -/sbin/halt -w - -stat_busy "Deactivating Swap" -/sbin/swapoff -a -stat_done - -stat_busy "Unmounting Filesystems" -/bin/umount -a -stat_done - -if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then - if [ -d /etc/lvm -a -x /sbin/lvm ]; then - /bin/mount -n -t sysfs none /sys 2>/dev/null - if [ -d /sys/block ]; then - stat_busy "Deactivating LVM2 groups" - /sbin/lvm vgchange --ignorelockingfailure -a n - stat_done - umount /sys - fi - fi -fi - -stat_busy "Remounting Root Filesystem Read-only" -/bin/mount -n -o remount,ro / -stat_done -exit 0 -# Power off or reboot -if [ "$RUNLEVEL" = "0" ]; then - printsep - printhl "${C_H2}POWER OFF" - /sbin/poweroff -d -f -h -i -else - printsep - printhl "${C_H2}REBOOTING" - # adding kexec support - [ -x /usr/sbin/kexec ] && /usr/sbin/kexec -e > /dev/null 2>&1 - /sbin/reboot -d -f -i -fi - -# End of file -# vim: set ts=2 noet: diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch deleted file mode 100644 index 7648f7f..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- rc.sysinit.orig 2009-02-22 22:45:07.000000000 +0000 -+++ rc.sysinit 2009-02-22 22:45:46.000000000 +0000 -@@ -7,9 +7,8 @@ - . /etc/rc.d/functions - - echo " " --printhl "LinHES" --printhl "The Linux Home Entertainment System" --printhl "${C_H2}http://www.linhes.org" -+printhl "MythVantage" -+printhl "http://www.MythVantage.com" - printhl "Distributed under the GNU General Public License (GPL)" - printsep - diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/root b/build_tools/clarch/larch/profiles/MV-local/post_process/root deleted file mode 100644 index e6542a2..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/root +++ /dev/null @@ -1,13 +0,0 @@ -# -# DO NOT EDIT THIS FILE MANUALLY!! USE crontab -e INSTEAD. -# - -# <minute> <hour> <day> <month> <dow> <command> - - -01 * * * * /usr/sbin/run-cron /etc/cron.hourly -*/10 * * * * /usr/sbin/run-cron /etc/cron.tenminutes -02 00 * * * /usr/sbin/run-cron /etc/cron.daily -22 00 * * 0 /usr/sbin/run-cron /etc/cron.weekly -42 00 1 * * /usr/sbin/run-cron /etc/cron.monthly - diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/securetty b/build_tools/clarch/larch/profiles/MV-local/post_process/securetty deleted file mode 100755 index 68e8a50..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/securetty +++ /dev/null @@ -1,19 +0,0 @@ -# -# /etc/securetty -# - -console -vc/1 -vc/2 -vc/3 -vc/4 -vc/5 -vc/6 -tty1 -tty2 -tty3 -tty4 -tty5 -tty6 - -# End of file diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/tweak.sh b/build_tools/clarch/larch/profiles/MV-local/post_process/tweak.sh deleted file mode 100755 index 9fa0396..0000000 --- a/build_tools/clarch/larch/profiles/MV-local/post_process/tweak.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/bash - -cd / -#tar -zxvf .tweak/linux-kernel-2.6.16-i486-1.tgz -#chmod 755 install/doinst.sh -#install/doinst.sh -cd .tweak -#cd /boot -#ln -s vmlinuz26STB vmlinuz -#cd - -#cp fstab /etc/fstab.install -#cp pacman.conf /etc -cp menu.lst /boot/grub/menu.lst - -cp -f hosts.allow /etc/hosts.allow -cp -f securetty /etc/securetty -cp -f rc.conf /etc/rc.conf -#cp -f rc.local /etc/rc.local -#cp -f locale.gen /etc/locale.gen - -cp -f rc.shutdown /etc/rc.shutdown -#cp -f inittab /etc/inittab - -#cp -f fbsplash-darch-1024x768 /boot/fbsplash-darch-1024x768 - - - -#cp -rf .tilda /data/home/mythtv/.tilda -ln -s /etc/keylaunchrc /root/.keylaunchrc -mkdir -p /etc/cron.tenminutes -cp -f root /var/spool/cron/root -chmod 0440 /etc/sudoers -#echo "mvi" > /etc/hostname -#echo /usr/local/lib >> /etc/ld.so.conf -#/sbin/ldconfig -#/usr/sbin/locale-gen - -chmod 777 /tmp -mkdir -p /data/home/mythtv/.mythtv -ln -s /etc/lircrc /data/home/mythtv/.mythtv/lircrc -ln -s /etc/lircrc /data/home/mythtv/.lircrc -cp -f /etc/skel/.bashrc /data/home/mythtv/ -cp -f /etc/skel/.bash_profile /data/home/mythtv/ -cp -f /etc/skel/.bashrc /root/ -cp -f /etc/skel/.bash_profile /root/ -mkdir -p /data/home/mythtv/templates -chown -R mythtv /data/media -chown -R mythtv /data/home/mythtv -ln -s /usr/sbin/chroot /usr/bin/chroot -ln -s /bin/lsmod /sbin/lsmod -/sbin/add_service.sh netfs -/sbin/add_service.sh oss -/sbin/add_service.sh syslog-ng -/sbin/remove_service.sh alsa-utils -/usr/bin/chage -d 01-01-2000 nobody -/usr/bin/chage -E 01-01-3000 nobody -cp /etc/pam.d/chage /etc/pam.d/chsh -chsh -s /bin/bash nobody - - -cd /etc/rc.d -echo "patching functions" -patch -p0 </.tweak/functions.patch -cd /etc -echo "patching rc.sysinit" -patch -p0 </.tweak/rc.sysinit.patch -ln -s /bin/bash /bin/ash |