From 52b76328ff61765861da32a3c4c14b9a89dfb1ba Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 11 Nov 2008 17:18:42 -0600 Subject: MythVantage profile --- .../clarch/larch/profiles/MV-local/addedpacks | 145 ++++++++ .../clarch/larch/profiles/MV-local/baseveto | 7 + .../clarch/larch/profiles/MV-local/cache_packs | 35 ++ .../MV-local/cd-root/isolinux/isolinux.cfg | 38 +++ .../profiles/MV-local/cd-root/isolinux/vbg.jpg | Bin 0 -> 57322 bytes .../clarch/larch/profiles/MV-local/locale.gen | 8 + .../clarch/larch/profiles/MV-local/mkinitcpio.conf | 54 +++ .../clarch/larch/profiles/MV-local/pacman.conf | 66 ++++ build_tools/clarch/larch/profiles/MV-local/pkglist | 366 +++++++++++++++++++++ .../clarch/larch/profiles/MV-local/post-process.sh | 17 + .../larch/profiles/MV-local/post_process/fstab | 14 + .../profiles/MV-local/post_process/functions.patch | 13 + .../profiles/MV-local/post_process/hosts.allow | 7 + .../profiles/MV-local/post_process/hosts.deny | 6 + .../larch/profiles/MV-local/post_process/menu.lst | 55 ++++ .../profiles/MV-local/post_process/pacman.conf | 64 ++++ .../larch/profiles/MV-local/post_process/rc.conf | 113 +++++++ .../larch/profiles/MV-local/post_process/rc.local | 21 ++ .../profiles/MV-local/post_process/rc.shutdown | 104 ++++++ .../MV-local/post_process/rc.sysinit.patch | 14 + .../larch/profiles/MV-local/post_process/root | 13 + .../larch/profiles/MV-local/post_process/securetty | 19 ++ .../larch/profiles/MV-local/post_process/tweak.sh | 67 ++++ build_tools/clarch/larch/profiles/MV-local/rcconfx | 16 + .../MV-local/rootoverlay/etc/conf.d/dhcpcd | 6 + .../profiles/MV-local/rootoverlay/etc/hosts.allow | 7 + .../profiles/MV-local/rootoverlay/etc/inittab | 42 +++ .../MV-local/rootoverlay/etc/larch-shutdown | 47 +++ .../profiles/MV-local/rootoverlay/etc/ppp/options | 352 ++++++++++++++++++++ .../profiles/MV-local/rootoverlay/etc/rc.local | 21 ++ .../profiles/MV-local/rootoverlay/root/.bashrc | 2 + 31 files changed, 1739 insertions(+) create mode 100644 build_tools/clarch/larch/profiles/MV-local/addedpacks create mode 100644 build_tools/clarch/larch/profiles/MV-local/baseveto create mode 100644 build_tools/clarch/larch/profiles/MV-local/cache_packs create mode 100644 build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg create mode 100644 build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/vbg.jpg create mode 100644 build_tools/clarch/larch/profiles/MV-local/locale.gen create mode 100644 build_tools/clarch/larch/profiles/MV-local/mkinitcpio.conf create mode 100755 build_tools/clarch/larch/profiles/MV-local/pacman.conf create mode 100644 build_tools/clarch/larch/profiles/MV-local/pkglist create mode 100755 build_tools/clarch/larch/profiles/MV-local/post-process.sh create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/fstab create mode 100644 build_tools/clarch/larch/profiles/MV-local/post_process/functions.patch create mode 100644 build_tools/clarch/larch/profiles/MV-local/post_process/hosts.allow create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/hosts.deny create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/menu.lst create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/pacman.conf create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/rc.conf create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/rc.local create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/rc.shutdown create mode 100644 build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch create mode 100644 build_tools/clarch/larch/profiles/MV-local/post_process/root create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/securetty create mode 100755 build_tools/clarch/larch/profiles/MV-local/post_process/tweak.sh create mode 100644 build_tools/clarch/larch/profiles/MV-local/rcconfx create mode 100644 build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/conf.d/dhcpcd create mode 100644 build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/hosts.allow create mode 100644 build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/inittab create mode 100644 build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/larch-shutdown create mode 100644 build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/ppp/options create mode 100755 build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local create mode 100644 build_tools/clarch/larch/profiles/MV-local/rootoverlay/root/.bashrc diff --git a/build_tools/clarch/larch/profiles/MV-local/addedpacks b/build_tools/clarch/larch/profiles/MV-local/addedpacks new file mode 100644 index 0000000..f518409 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/addedpacks @@ -0,0 +1,145 @@ +# These are needed to build a live CD +linhes-live +squashfs-tools +lzop + +syslinux + +# You need a kernel. +#kernel26 is now in 'base' +aufs + +# To eject a cd +eject + +# Useful for use as installer, etc. +ntfsprogs +parted +#ddcxinfo-knoppix +#hwd + +# generally useful tools which don't require X +openssh +dosfstools +lynx +#mc +unzip +zip + +lsof +#cdrkit +#dvd+rw-tools + +etcnet + +xorg +xorg-xinit +#xf86-video-amd +xf86-video-apm +xf86-video-ark +xf86-video-ati +xf86-video-chips +xf86-video-cirrus +xf86-video-dummy +xf86-video-fbdev +xf86-video-glint +xf86-video-i128 +xf86-video-i740 +#xf86-video-i810 +xf86-video-imstt +xf86-video-intel +xf86-video-mga +xf86-video-neomagic +xf86-video-nv +#xf86-video-radeonhd +xf86-video-rendition +xf86-video-s3 +xf86-video-s3virge +xf86-video-savage +xf86-video-siliconmotion +xf86-video-sis +xf86-video-sisusb +#xf86-video-tdfx +xf86-video-trident +xf86-video-tseng +xf86-video-v4l +xf86-video-vesa +xf86-video-vga +xf86-video-vmware +xf86-video-voodoo +nvidia + + + + + +#terminal +openssh +ntp +runit +runit-scripts-mv +mysql + +mythtv-release-fixes +mythtv-themes-release-fixes +mediadirsetup +lm_sensors +MythVantage-mythmenu +setserial +avahi +keylaunch +mysql-python +acpid + + +tilda +#opera +ivtv-utils +hd3000firmware +oss-linux-free +alsa-utils + +make +python-iplib +#hdhgrab +hdhomerun + +#intel-e1000 +perl-dbi +perl-dbd-mysql +lcdproc +netkit-telnet +nfs-utils +jfsutils +xfsprogs + +patch +gdb +sudo +syslog-ng + +ttf-bitstream-vera +xine-lib + +#syth-lacquer-wide +#Midnight-wide +#Midnight-blue +#basic-blue +#basic-green +#basic-amber +#basic-purple +#basic-red + + +MythVantage-system +#live-installer +MythVantage-config +libstatgrab +nmbscan +smbclient + + + +enlightenment +e16-myth-settings +ttf-ms-fonts diff --git a/build_tools/clarch/larch/profiles/MV-local/baseveto b/build_tools/clarch/larch/profiles/MV-local/baseveto new file mode 100644 index 0000000..419aad4 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/baseveto @@ -0,0 +1,7 @@ +xfsprogs +xfsdump +jfsutils +kernel26STB +xf86-video-unichrome +xf86-video-via + diff --git a/build_tools/clarch/larch/profiles/MV-local/cache_packs b/build_tools/clarch/larch/profiles/MV-local/cache_packs new file mode 100644 index 0000000..ee33030 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/cache_packs @@ -0,0 +1,35 @@ +#comment +xosd +local-website +webcalendar +lighttpd +mythdb-initial +samba +libmysqlclient +mysql +hobbitserver +hobbit-client +dnsmasq +mysql-clients +mythtv-status +avahi +dbus +myth2ipod +tightvnc +phpmyadmin +libgl-dri +mythphone-release-fixes +mytharchive-release-fixes +mythbrowser-release-fixes +mythnews-release-fixes +mythgame-release-fixes +mythflix-release-fixes +mythweather-release-fixes +mythcontrols-release-fixes +mythgallery-release-fixes +mythmovietime-release-fixes +mythmusic-release-fixes +mythsmolt-release-fixes +mythvideo-release-fixes +mythweb-release-fixes +alsa-lib diff --git a/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg new file mode 100644 index 0000000..6686db4 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg @@ -0,0 +1,38 @@ +PROMPT 0 +TIMEOUT 40 +DEFAULT vesamenu.c32 +MENU BACKGROUND vbg.jpg +MENU TITLE MythVantage Boot options +MENU COLOR border 31;40 #90ffff00 #00000000 std +MENU COLOR sel 31;47 #00000000 #FFFFFF15 all + + +LABEL MythVantage +KERNEL vmlinuz +APPEND vga=normal initrd=larch.img noauto + +LABEL MythVantage-NoX +KERNEL vmlinuz +APPEND vga=normal initrd=larch.img noauto NoX + +LABEL MythVantage-Vnc +KERNEL vmlinuz +APPEND vga=normal initrd=larch.img noauto vnc ip=192.168.1.222 netdev=eth0 + +LABEL MythVantage-dhcp +KERNEL vmlinuz +APPEND vga=normal initrd=larch.img noauto ip=dhcp netdev=eth0 + +LABEL MythVantage-remote +APPEND vga=normal initrd=larch.img noauto ip=dhcp remote=MX-500-jams remoteport=ttyS0 + +LABEL MythVantage-static-ip +KERNEL vmlinuz +APPEND vga=normal initrd=larch.img noauto vnc ip=192.168.1.222 netmask=255.255.0.0 gateway=192.168.1.1 netdev=eth0 dns=192.168.1.1 + +LABEL Boot_from_hardrive + localboot 0xffff + + +MENU ROWS 6 + diff --git a/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/vbg.jpg b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/vbg.jpg new file mode 100644 index 0000000..d9f3ebb Binary files /dev/null and b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/vbg.jpg differ diff --git a/build_tools/clarch/larch/profiles/MV-local/locale.gen b/build_tools/clarch/larch/profiles/MV-local/locale.gen new file mode 100644 index 0000000..a3276b1 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/locale.gen @@ -0,0 +1,8 @@ +# locales for larch (/etc/locale.gen) + +en_US ISO-8859-1 +en_US.UTF-8 UTF-8 +de_DE ISO-8859-1 +de_DE@euro ISO-8859-15 +de_DE.UTF-8 UTF-8 + diff --git a/build_tools/clarch/larch/profiles/MV-local/mkinitcpio.conf b/build_tools/clarch/larch/profiles/MV-local/mkinitcpio.conf new file mode 100644 index 0000000..f26fdb1 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/mkinitcpio.conf @@ -0,0 +1,54 @@ +# vim:set ft=sh +# MODULES +# The following modules are loaded before any boot hooks are +# run. Advanced users may wish to specify all system modules +# in this array. For instance: +# MODULES="piix ide_disk reiserfs" +MODULES="" + +# BINARIES +# This setting includes, into the CPIO image, and additional +# binaries a given user may wish. This is run first, so may +# be used to override the actual binaries used in a given hook. +# (Existing files are NOT overwritten is already added) +# BINARIES are dependancy parsed, so you may safely ignore libraries +#BINARIES="" + +# FILES +# This setting is similar to BINARIES above, however, files are added +# as-is and are not parsed in anyway. This is useful for config files. +# Some users may wish to include modprobe.conf for custom module options, +# like so: +# FILES="/etc/modprobe.conf" +FILES="" + +# HOOKS +# This is the most important setting in this file. The HOOKS control the +# modules and scripts added to the image, and what happens at boot time. +# Order is important, and it is recommended that you do not change the +# order in which HOOKS are added. Run 'mkinitcpio -H ' for +# help on a given hook. +# 'base' is _required_ unless you know precisely what you are doing. +# 'udev' is _required_ in order to automatically load modules +# 'modload' may be used in place of 'udev', but is not recommended +# 'filesystems' is _required_ unless you specify your fs modules in MODULES +# Examples: +# This setup specifies all modules in the MODULES setting above. +# No raid, lvm, or encrypted root is needed. +# HOOKS="base" +# +# This setup will autodetect all modules for your system and should +# work as a sane default +# HOOKS="base udev autodetect ide scsi sata filesystems" +# +# This setup will generate a 'full' image which supports most systems. +# No autodetection is done. +# HOOKS="base udev ide scsi sata usb filesystems" +# +# This setup assembles an ide raid array with an encrypted root FS. +# Note: See 'mkinitcpio -H raid' for more information on raid devices. +# HOOKS="base udev ide filesystems raid encrypt" +# +# This setup loads an LVM volume group on a usb device. +# HOOKS="base udev usb filesystems lvm" +HOOKS="base udev ide scsi sata usb larch1 larch2___aufs___ larch3" diff --git a/build_tools/clarch/larch/profiles/MV-local/pacman.conf b/build_tools/clarch/larch/profiles/MV-local/pacman.conf new file mode 100755 index 0000000..3739bbc --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/pacman.conf @@ -0,0 +1,66 @@ +# +# /etc/pacman.conf +# from pacman.conf MV +# 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] +Server = http://localmirror/repo/i686/mv-core + +[core-testing] +#Server = file:///data/local/pkg_repo/i686/core-testing +Server = http://localmirror/repo/i686/core-testing + +[extra-testing] +#Server = file:///data/local/pkg_repo/i686/core-testing +Server = http://localmirror/repo/i686/extra-testing + + +########################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/pkglist b/build_tools/clarch/larch/profiles/MV-local/pkglist new file mode 100644 index 0000000..91351bc --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/pkglist @@ -0,0 +1,366 @@ +Midnight-blue 1-22 +Midnight-wide 1-22 +STB-mythmenu 1.0-38 +STB-system 3.0-159 +acl 2.2.47-1 +acpid 1.0.6-3 +alsa-lib 1.0.16-1 +atk 1.22.0-1 +attr 2.4.41-1 +audiofile 0.2.6-3 +avahi 0.6.22-1 +bash 3.2.033-2 +basic-amber 1-5 +basic-blue 1-6 +basic-green 1-5 +basic-purple 1-5 +basic-red 1-5 +bc 1.06-4 +bigreqsproto 1.0.2-1 +binutils 2.18-8 +bzip2 1.0.5-2 +ca-certificates 20080514-3 +cairo 1.6.4-1 +compositeproto 0.4-1 +confuse 2.5-1 +coreutils 6.12-1 +cpio 2.9-3 +cracklib 2.8.10-5 +cryptsetup 1.0.6-1 +curl 7.18.2-1 +damageproto 1.1.0-1 +dash 0.5.4-4 +db 4.6.21-2 +dbus 1.2.1-1 +dbus-glib 0.76-1 +dcron 3.2-3 +ddcxinfo-arch 0.8-1 +device-mapper 1.02.24-1 +dhcpcd 3.2.1-1 +dialog 1.1_20080316-3 +diffutils 2.8.1-5 +dmapi 2.2.8-3 +dmidecode 2.9-2 +dmxproto 2.2.2-1 +dnsutils 9.4.2-1 +e16-myth-settings 1.0-38 +e2fsprogs 1.40.8-1 +ed 0.9-1 +eject 2.1.5-3 +enlightenment 0.16.8.9-2 +esd 0.2.38-3 +etcnet 0.7.15-19 +ethtool 6-1 +evilwm 1.0.0-1.1 +exo 0.3.4-1 +expat 2.0.1-1 +expect 5.44.1.4-1 +file 4.24-1 +filesystem 2008.06-2 +findutils 4.4.0-1 +fixesproto 4.0-2 +flac 1.2.1-1 +fontcacheproto 0.1.2-1 +fontconfig 2.5.0-1 +fontsproto 2.0.2-1 +freetype2 2.3.6-1 +func 0.13-15 +gawk 3.1.6-2 +gcc 4.3.1-1 +gcc-libs 4.3.1-1 +gdb 6.8-1 +gdbm 1.8.3-5 +gdk-pixbuf 0.22.0-4 +gen-init-cpio 2.6.17-3 +gettext 0.17-1 +ghosd 0.0.1-18 +glib 1.2.10-7 +glib2 2.16.4-1 +glibc 2.8-2 +glproto 1.4.9-1 +gmp 4.2.2-2 +grep 2.5.3-3 +groff 1.19.2-4 +grub 0.97-12 +gtk 1.2.10-8 +gtk2 2.12.10-1 +guile 1.8.4-2 +gzip 1.3.12-4 +hal 0.5.11-1 +hal-info 0.20080508-1 +hd3000firmware 0.1-1 +hdhgrab 1-1 +hdhomerun 20070726-1 +hdparm 8.6-1 +heimdal 1.0.1-2 +hwd 5.3.4-1 +hwdetect 0.9-1 +iguanaIR 0.95-3 +imlib2 1.4.1-1 +initscripts 2008.05-1 +inputproto 1.4.3-1 +intel-dri 7.0.3-1 +intel-e1000 7.6.15.4-2 +iproute 2.6.24_rc7-1 +iptables 1.4.0-2 +iputils 20070202-4 +ivtv-utils 1.0.3-1 +jfsutils 1.1.12-2 +kbd 1.14.1.20080309-2 +kbproto 1.0.3-1 +kernel-headers 2.6.25.6-1 +kernel26STB 2.6.24-39 +keylaunch 1.3.3-10 +klibc 1.5-5 +klibc-extras 2.4-1 +klibc-kbd 1.15.20080312-5 +klibc-module-init-tools 3.2.2-3 +klibc-udev 116-3 +lame 3.98-1 +lcdproc 20080326-7 +less 418-1 +libarchive 2.5.5-1 +libavc1394 0.5.3-1 +libcap 1.10-2 +libdaemon 0.12-1 +libdatrie 0.1.2-1 +libdc1394 2.0.1-1 +libdmx 1.0.2-1 +libdownload 1.3-1 +libdrm 2.3.0-1 +libfontenc 1.0.4-1 +libgcrypt 1.4.1-1 +libglade 2.6.2-1 +libgpg-error 1.6-1 +libice 1.0.4-1 +libid3tag 0.15.1b-2 +libiec61883 1.1.0-1 +libjpeg 6b-4 +liblbxutil 1.0.1-1 +libldap 2.3.40-1 +libmng 1.0.10-1 +libmpeg2 0.4.1-1 +libmysqlclient 5.0.60-1 +libogg 1.1.3-1 +libpcap 0.9.8-2 +libpng 1.2.29-1 +libraw1394 1.3.0-1 +libsasl 2.1.22-5 +libsm 1.0.3-1 +libsmbios 2.0.2-1 +libstatgrab 0.14-1 +libthai 0.1.9-1 +libtheora 1.0beta1-1 +libtiff 3.8.2-3 +libtool 2.2.4-1 +libungif 4.1.4-1 +libusb 0.1.12-3 +libvorbis 1.2.0-1 +libx11 1.1.4-2 +libx86 0.99-1 +libxau 1.0.3-1 +libxaw 1.0.4-1 +libxcb 1.1-1 +libxcomposite 0.4.0-1 +libxcursor 1.1.9-1 +libxdamage 1.1.1-1 +libxdmcp 1.0.2-1 +libxext 1.0.4-1 +libxfce4util 4.4.2-1 +libxfixes 4.0.3-1 +libxfont 1.3.2-1 +libxfontcache 1.0.4-1 +libxft 2.1.12-1 +libxi 1.1.3-1 +libxinerama 1.0.3-1 +libxkbfile 1.0.5-1 +libxkbui 1.0.2-1 +libxml2 2.6.32-1 +libxmu 1.0.4-1 +libxp 1.0.0-1 +libxpm 3.5.7-1 +libxrandr 1.2.2-1 +libxrender 0.9.4-1 +libxt 1.0.5-1 +libxtrap 1.0.0-1 +libxtst 1.0.3-1 +libxv 1.0.4-1 +libxvmc 1.0.4-1 +libxxf86dga 1.0.2-1 +libxxf86misc 1.0.1-1 +libxxf86vm 1.0.1-1 +licenses 2.4-1 +lirc 0.8.3-17 +lirc-utils 0.8.3-13 +live-installer 3.2-52 +lm_sensors 3.0.2-1 +logrotate 3.7.5-1 +lvm2 2.02.36-1 +lzo2 2.02-3 +mailx 8.1.1-5 +man 1.6f-2 +man-pages 3.00-1 +mcpp 2.6.4-2 +mdadm 2.6.4-1 +mediadirsetup 1-14 +mesa 7.0.3-3 +mkinitcpio 0.5.19-1 +mlocate 0.20-2 +module-init-tools 3.2.2-6 +mpfr 2.3.1-1 +mysql 5.0.60-200 +mysql-clients 5.0.60-1 +mysql-python 1.2.2-1 +mythtv-release-fixes 17773-8 +mythtv-themes-release-fixes 15931-4 +nano 2.0.7-1 +ncid 0.71-1 +ncurses 5.6-6 +net-tools 1.60-13 +netkit-telnet 0.17-7 +nfs-utils 1.1.0-2 +nfsidmap 0.20-2 +nmbscan 1.2.5-1 +ntp 4.2.4p4-1 +nvidia-STB 173.08-5 +nvidia-utils 173.08-4 +openssh 5.0p1-1 +openssl 0.9.8h-3 +opera 9.51-1 +oss 4.0_1016-11 +pacman 3.2.0-2008 +pam 1.0.1-1 +pango 1.18.4-3 +patch 2.5.9-1 +pciutils 2.2.8-3 +pcmciautils 014-4 +pcre 7.7-1 +perl 5.10.0-3 +perl-date-manip 5.44-1 +perl-dbd-mysql 3.0008-11000 +perl-dbi 1.601-1 +perl-uri 1.35-3 +perl-xml-parser 2.34-2 +pixman 0.10.0-1 +pm-utils 1.1.2.2-1 +popt 1.10.6-3 +portmap 6.0-2 +ppp 2.4.4-6 +printproto 1.0.4-1 +procinfo 19-2 +procps 3.2.7-1000 +psmisc 22.6-1 +pyopenssl 0.6-3 +python 2.5.2-2 +python-iplib 1.0-1 +qt3 3.3.8-7 +randrproto 1.2.1-1 +readline 5.2-7 +recordproto 1.13.2-1 +reiserfsprogs 3.6.20-3 +renderproto 0.9.3-1 +rp-pppoe 3.8-3 +run-parts 2.28.6-2 +runit 1.8.0-32 +sdl 1.2.13-1 +sdparm 1.02-2 +sed 4.1.5-3 +setserial 2.17-2 +shadow 4.0.18.2-2 +smbclient 3.0.30-1 +sudo 1.6.9p17-1 +swig 1.3.31-1 +sysfsutils 2.1.0-4 +syslog-ng 2.0.9-4 +sysvinit 2.86-4 +syth-lacquer-wide 4-1 +tar 1.20-2 +tcl 8.5.3-1 +tcp_wrappers 7.6-8 +terminal 0.2.8-2 +tilda 0.9.6-8 +trapproto 3.4.3-1 +ttf-bitstream-vera 1.10-5 +tzdata 2008c-1 +udev 119-1 +unclutter 8-1 +unichrome-dri 7.0.3-1 +usbutils 0.73-5 +util-linux-ng 2.13.0.1-2 +vbetool 1.0-2 +vi 7.1.330-1 +videoproto 2.2.2-1 +vmwaretools 6.0.0-6 +vte 0.16.14-1 +wavpack 4.50.0-1 +wget 1.11.3-1 +which 2.19-2 +wireless_tools 29-2 +wol 0.7.1-2 +wpa_supplicant 0.5.10-1 +xbitmaps 1.0.1-1 +xcb-proto 1.1-1 +xcursor-themes 1.0.1-1 +xextproto 7.0.3-1 +xf86-input-evdev 2.0.1-1 +xf86-input-joystick 1.3.1-1 +xf86-input-keyboard 1.3.1-1 +xf86-input-mouse 1.2.3-1 +xf86-video-apm 1.2.0-1 +xf86-video-ark 0.7.0-1 +xf86-video-ati 6.8.0-4 +xf86-video-chips 1.2.0-1 +xf86-video-cirrus 1.2.1-1 +xf86-video-dummy 0.2.0-4 +xf86-video-fbdev 0.3.1-4 +xf86-video-glint 1.1.1-5 +xf86-video-i128 1.2.1-4 +xf86-video-i740 1.1.0-4 +xf86-video-imstt 1.1.0-4 +xf86-video-intel 2.3.2-1 +xf86-video-mga 1.4.8-3 +xf86-video-neomagic 1.2.1-1 +xf86-video-nv 2.1.9-1 +xf86-video-rendition 4.1.3-4 +xf86-video-s3 0.5.0-4 +xf86-video-s3virge 1.10.1-1 +xf86-video-savage 2.2.1-1 +xf86-video-siliconmotion 1.5.1-4 +xf86-video-sis 0.9.4-3 +xf86-video-sisusb 0.8.1-4 +xf86-video-tdfx 1.4.0-1 +xf86-video-trident 1.3.0-2 +xf86-video-tseng 1.1.1-4 +xf86-video-v4l 0.1.1-4 +xf86-video-vesa 1.3.0-5 +xf86-video-vga 4.1.0-4 +xf86-video-via 0.2.2-5 +xf86-video-vmware 10.16.2-1 +xf86-video-voodoo 1.1.1-4 +xf86dgaproto 2.0.3-1 +xf86miscproto 0.9.2-1 +xf86vidmodeproto 2.2.2-1 +xfsprogs 2.9.7-1 +xine-lib 1.1.12-1 +xineramaproto 1.1.2-1 +xkeyboard-config 1.2-1 +xorg-apps 1.0.3-3 +xorg-font-utils 1.0.3-3 +xorg-fonts-100dpi 1.0.1-1 +xorg-fonts-75dpi 1.0.1-2 +xorg-fonts-alias 1.0.1-1 +xorg-fonts-encodings 1.0.2-2 +xorg-fonts-misc 1.0.0-3 +xorg-res-utils 1.0.3-2 +xorg-server 1.4.2-10 +xorg-server-utils 7.3-1 +xorg-twm 1.0.1-2 +xorg-utils 7.3-1 +xorg-xauth 1.0.2-1 +xorg-xinit 1.1.0-1 +xorg-xkb-utils 1.0.2-2 +xosd 2.2.14-1 +xproto 7.0.13-1 +xterm 235-1 +xtrans 1.2-1 +zlib 1.2.3-4 diff --git a/build_tools/clarch/larch/profiles/MV-local/post-process.sh b/build_tools/clarch/larch/profiles/MV-local/post-process.sh new file mode 100755 index 0000000..131b907 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post-process.sh @@ -0,0 +1,17 @@ +#!/bin/bash +echo $@ +INSTDIR=$1 +PROFILE=$2 + +#everything below this point is specific to MythVantage +cp -rp $PROFILE/post_process $INSTDIR/.tweak +chroot $INSTDIR .tweak/tweak.sh +rm -rf $INSTDIR/.tweak + +#find the size of the install. +#This is used to calculate progress on the install +tsize=`du -sm $INSTDIR/ | cut -f1` +echo "TOTALSIZE=$tsize" > $INSTDIR/root/.install_size +upsize=`du -sm --exclude data $INSTDIR/ |cut -f1` +echo "UPGRADESIZE=$upsize" >> $INSTDIR/root/.install_size + diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/fstab b/build_tools/clarch/larch/profiles/MV-local/post_process/fstab new file mode 100755 index 0000000..8ea8305 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/fstab @@ -0,0 +1,14 @@ +# +# /etc/fstab: static file system information +# +# +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 new file mode 100644 index 0000000..eb9034c --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/functions.patch @@ -0,0 +1,13 @@ +--- 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 new file mode 100644 index 0000000..ca19dbb --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.allow @@ -0,0 +1,7 @@ +# +# /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 new file mode 100755 index 0000000..ca30ab4 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/hosts.deny @@ -0,0 +1,6 @@ +# +# /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 new file mode 100755 index 0000000..1bd45a6 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/menu.lst @@ -0,0 +1,55 @@ +# 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 new file mode 100755 index 0000000..e4495ed --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/pacman.conf @@ -0,0 +1,64 @@ +# +# /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 new file mode 100755 index 0000000..790269c --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.conf @@ -0,0 +1,113 @@ +# +# /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 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 new file mode 100755 index 0000000..0552860 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.local @@ -0,0 +1,21 @@ +#!/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 new file mode 100755 index 0000000..1a8cdbe --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.shutdown @@ -0,0 +1,104 @@ +#!/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 new file mode 100644 index 0000000..69a1ce0 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch @@ -0,0 +1,14 @@ +--- rc.sysinit.orig 2008-07-06 19:39:36.000000000 -0500 ++++ rc.sysinit 2008-07-06 19:40:28.000000000 -0500 +@@ -9,10 +9,7 @@ + source_functions + + echo " " +-printhl "Arch Linux $C_OTHER(${C_H2}Core Dump$C_OTHER)\n" +-printhl "${C_H2}http://www.archlinux.org" +-printhl "Copyright 2002-2007 Judd Vinet" +-printhl "Copyright 2007-2008 Aaron Griffin" ++printhl "MythVantage \n" + 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 new file mode 100644 index 0000000..e6542a2 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/root @@ -0,0 +1,13 @@ +# +# DO NOT EDIT THIS FILE MANUALLY!! USE crontab -e INSTEAD. +# + +# + + +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 new file mode 100755 index 0000000..68e8a50 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/securetty @@ -0,0 +1,19 @@ +# +# /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 new file mode 100755 index 0000000..9fa0396 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/post_process/tweak.sh @@ -0,0 +1,67 @@ +#!/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 & /dev/null + +# End of file diff --git a/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/larch-shutdown b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/larch-shutdown new file mode 100644 index 0000000..d614d4b --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/larch-shutdown @@ -0,0 +1,47 @@ +# Functions used by rc.shutdown +# Modified versions for larch live systems + +f_saveclock () +{ + : +} + +f_swapoff () +{ + ############################# Include session saving functions + # . /opt/larch-live/session-save/shutdown2 + # if [ -f /tmp/checkse ]; then + # . /tmp/checkse + #else + # checkse + # fi + + if [ -n "${saving}" ] && ! session_save; then + echo + echo "If you know what you are doing, you may be able to recover" + echo "something from this unpleasant situation." + echo + echo "You may use the command line to investigate further ..." + echo + echo "When finished please enter 'exit', the shutdown process will" + echo "then continue." + sh -i + fi + + ############################# + + stat_busy "Deactivating Swap" + /sbin/swapoff -a + stat_done +} + +f_remountro () +{ + if [ -n "${ejectdev}" ]; then + echo "Ejecting live CD" + eject ${ejectdev} + echo "sleeping for 6 seconds" + sleep 6 + + fi +} diff --git a/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/ppp/options b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/ppp/options new file mode 100644 index 0000000..237c390 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/ppp/options @@ -0,0 +1,352 @@ +# /etc/ppp/options +# +# Originally created by Jim Knoble +# Modified for Debian by alvar Bray +# Modified for PPP Server setup by Christoph Lameter +# Modified for ArchLinux by Manolis Tzanidakis +# +# To quickly see what options are active in this file, use this command: +# egrep -v '#|^ *$' /etc/ppp/options + +# Specify which DNS Servers the incoming Win95 or WinNT Connection should use +# Two Servers can be remotely configured +# ms-dns 192.168.1.1 +# ms-dns 192.168.1.2 + +# Specify which WINS Servers the incoming connection Win95 or WinNT should use +# ms-wins 192.168.1.50 +# ms-wins 192.168.1.51 + +# Run the executable or shell command specified after pppd has +# terminated the link. This script could, for example, issue commands +# to the modem to cause it to hang up if hardware modem control signals +# were not available. +#disconnect "chat -- \d+++\d\c OK ath0 OK" + +# async character map -- 32-bit hex; each bit is a character +# that needs to be escaped for pppd to receive it. 0x00000001 +# represents '\x01', and 0x80000000 represents '\x1f'. +asyncmap 0 + +# Require the peer to authenticate itself before allowing network +# packets to be sent or received. +# Please do not disable this setting. It is expected to be standard in +# future releases of pppd. Use the call option (see manpage) to disable +# authentication for specific peers. +#auth + +# Use hardware flow control (i.e. RTS/CTS) to control the flow of data +# on the serial port. +crtscts + +# Use software flow control (i.e. XON/XOFF) to control the flow of data +# on the serial port. +#xonxoff + +# Specifies that certain characters should be escaped on transmission +# (regardless of whether the peer requests them to be escaped with its +# async control character map). The characters to be escaped are +# specified as a list of hex numbers separated by commas. Note that +# almost any character can be specified for the escape option, unlike +# the asyncmap option which only allows control characters to be +# specified. The characters which may not be escaped are those with hex +# values 0x20 - 0x3f or 0x5e. +#escape 11,13,ff + +# Don't use the modem control lines. +#local + +# Specifies that pppd should use a UUCP-style lock on the serial device +# to ensure exclusive access to the device. +lock + +# Don't show the passwords when logging the contents of PAP packets. +# This is the default. +hide-password + +# When logging the contents of PAP packets, this option causes pppd to +# show the password string in the log message. +#show-password + +# Use the modem control lines. On Ultrix, this option implies hardware +# flow control, as for the crtscts option. (This option is not fully +# implemented.) +modem + +# Set the MRU [Maximum Receive Unit] value to for negotiation. pppd +# will ask the peer to send packets of no more than bytes. The +# minimum MRU value is 128. The default MRU value is 1500. A value of +# 296 is recommended for slow links (40 bytes for TCP/IP header + 256 +# bytes of data). +#mru 542 + +# Set the interface netmask to , a 32 bit netmask in "decimal dot" +# notation (e.g. 255.255.255.0). +#netmask 255.255.255.0 + +# Disables the default behaviour when no local IP address is specified, +# which is to determine (if possible) the local IP address from the +# hostname. With this option, the peer will have to supply the local IP +# address during IPCP negotiation (unless it specified explicitly on the +# command line or in an options file). +#noipdefault + +# Enables the "passive" option in the LCP. With this option, pppd will +# attempt to initiate a connection; if no reply is received from the +# peer, pppd will then just wait passively for a valid LCP packet from +# the peer (instead of exiting, as it does without this option). +#passive + +# With this option, pppd will not transmit LCP packets to initiate a +# connection until a valid LCP packet is received from the peer (as for +# the "passive" option with old versions of pppd). +#silent + +# Don't request or allow negotiation of any options for LCP and IPCP +# (use default values). +#-all + +# Disable Address/Control compression negotiation (use default, i.e. +# address/control field disabled). +#-ac + +# Disable asyncmap negotiation (use the default asyncmap, i.e. escape +# all control characters). +#-am + +# Don't fork to become a background process (otherwise pppd will do so +# if a serial device is specified). +#-detach + +# Disable IP address negotiation (with this option, the remote IP +# address must be specified with an option on the command line or in +# an options file). +#-ip + +# Disable IPCP negotiation and IP communication. This option should +# only be required if the peer is buggy and gets confused by requests +# from pppd for IPCP negotiation. +#noip + +# Disable magic number negotiation. With this option, pppd cannot +# detect a looped-back line. +#-mn + +# Disable MRU [Maximum Receive Unit] negotiation (use default, i.e. +# 1500). +#-mru + +# Disable protocol field compression negotiation (use default, i.e. +# protocol field compression disabled). +#-pc + +# Require the peer to authenticate itself using PAP. +#+pap + +# Don't agree to authenticate using PAP. +#-pap + +# Require the peer to authenticate itself using CHAP [Cryptographic +# Handshake Authentication Protocol] authentication. +#+chap + +# Don't agree to authenticate using CHAP. +#-chap + +# Disable negotiation of Van Jacobson style IP header compression (use +# default, i.e. no compression). +#-vj + +# Increase debugging level (same as -d). If this option is given, pppd +# will log the contents of all control packets sent or received in a +# readable form. The packets are logged through syslog with facility +# daemon and level debug. This information can be directed to a file by +# setting up /etc/syslog.conf appropriately (see syslog.conf(5)). (If +# pppd is compiled with extra debugging enabled, it will log messages +# using facility local2 instead of daemon). +#debug + +# Append the domain name to the local host name for authentication +# purposes. For example, if gethostname() returns the name porsche, +# but the fully qualified domain name is porsche.Quotron.COM, you would +# use the domain option to set the domain name to Quotron.COM. +#domain + +# Enable debugging code in the kernel-level PPP driver. The argument n +# is a number which is the sum of the following values: 1 to enable +# general debug messages, 2 to request that the contents of received +# packets be printed, and 4 to request that the contents of transmitted +# packets be printed. +#kdebug n + +# Set the MTU [Maximum Transmit Unit] value to . Unless the peer +# requests a smaller value via MRU negotiation, pppd will request that +# the kernel networking code send data packets of no more than n bytes +# through the PPP network interface. +#mtu + +# Set the name of the local system for authentication purposes to . +# This is a privileged option. With this option, pppd will use lines in the +# secrets files which have as the second field when looking for a +# secret to use in authenticating the peer. In addition, unless overridden +# with the user option, will be used as the name to send to the peer +# when authenticating the local system to the peer. (Note that pppd does +# not append the domain name to .) +#name + +# Enforce the use of the hostname as the name of the local system for +# authentication purposes (overrides the name option). +#usehostname + +# Set the assumed name of the remote system for authentication purposes +# to . +#remotename + +# Add an entry to this system's ARP [Address Resolution Protocol] +# table with the IP address of the peer and the Ethernet address of this +# system. +proxyarp + +# Use the system password database for authenticating the peer using +# PAP. Note: mgetty already provides this option. If this is specified +# then dialin from users using a script under Linux to fire up ppp wont work. +# login + +# If this option is given, pppd will send an LCP echo-request frame to the +# peer every n seconds. Normally the peer should respond to the echo-request +# by sending an echo-reply. This option can be used with the +# lcp-echo-failure option to detect that the peer is no longer connected. +lcp-echo-interval 30 + +# If this option is given, pppd will presume the peer to be dead if n +# LCP echo-requests are sent without receiving a valid LCP echo-reply. +# If this happens, pppd will terminate the connection. Use of this +# option requires a non-zero value for the lcp-echo-interval parameter. +# This option can be used to enable pppd to terminate after the physical +# connection has been broken (e.g., the modem has hung up) in +# situations where no hardware modem control lines are available. +lcp-echo-failure 4 + +# Set the LCP restart interval (retransmission timeout) to seconds +# (default 3). +#lcp-restart + +# Set the maximum number of LCP terminate-request transmissions to +# (default 3). +#lcp-max-terminate + +# Set the maximum number of LCP configure-request transmissions to +# (default 10). +#lcp-max-configure + +# Set the maximum number of LCP configure-NAKs returned before starting +# to send configure-Rejects instead to (default 10). +#lcp-max-failure + +# Set the IPCP restart interval (retransmission timeout) to +# seconds (default 3). +#ipcp-restart + +# Set the maximum number of IPCP terminate-request transmissions to +# (default 3). +#ipcp-max-terminate + +# Set the maximum number of IPCP configure-request transmissions to +# (default 10). +#ipcp-max-configure + +# Set the maximum number of IPCP configure-NAKs returned before starting +# to send configure-Rejects instead to (default 10). +#ipcp-max-failure + +# Set the PAP restart interval (retransmission timeout) to seconds +# (default 3). +#pap-restart + +# Set the maximum number of PAP authenticate-request transmissions to +# (default 10). +#pap-max-authreq + +# Set the maximum time that pppd will wait for the peer to authenticate +# itself with PAP to seconds (0 means no limit). +#pap-timeout + +# Set the CHAP restart interval (retransmission timeout for +# challenges) to seconds (default 3). +#chap-restart + +# Set the maximum number of CHAP challenge transmissions to +# (default 10). +#chap-max-challenge + +# If this option is given, pppd will rechallenge the peer every +# seconds. +#chap-interval + +# With this option, pppd will accept the peer's idea of our local IP +# address, even if the local IP address was specified in an option. +#ipcp-accept-local + +# With this option, pppd will accept the peer's idea of its (remote) IP +# address, even if the remote IP address was specified in an option. +#ipcp-accept-remote + +# Disable the IPXCP and IPX protocols. +# To let pppd pass IPX packets comment this out --- you'll probably also +# want to install ipxripd, and have the Internal IPX Network option enabled +# in your kernel. /usr/doc/HOWTO/IPX-HOWTO.gz contains more info. +noipx + +# Exit once a connection has been made and terminated. This is the default, +# unless the `persist' or `demand' option has been specified. +#nopersist + +# Do not exit after a connection is terminated; instead try to reopen +# the connection. +#persist + +# Terminate after n consecutive failed connection attempts. +# A value of 0 means no limit. The default value is 10. +#maxfail + +# Initiate the link only on demand, i.e. when data traffic is present. +# With this option, the remote IP address must be specified by the user on +# the command line or in an options file. Pppd will initially configure +# the interface and enable it for IP traffic without connecting to the peer. +# When traffic is available, pppd will connect to the peer and perform +# negotiation, authentication, etc. When this is completed, pppd will +# commence passing data packets (i.e., IP packets) across the link. +#demand + +# Specifies that pppd should disconnect if the link is idle for seconds. +# The link is idle when no data packets (i.e. IP packets) are being sent or +# received. Note: it is not advisable to use this option with the persist +# option without the demand option. If the active-filter option is given, +# data packets which are rejected by the specified activity filter also +# count as the link being idle. +#idle + +# Specifies how many seconds to wait before re-initiating the link after +# it terminates. This option only has any effect if the persist or demand +# option is used. The holdoff period is not applied if the link was +# terminated because it was idle. +#holdoff + +# Wait for up n milliseconds after the connect script finishes for a valid +# PPP packet from the peer. At the end of this time, or when a valid PPP +# packet is received from the peer, pppd will commence negotiation by +# sending its first LCP packet. The default value is 1000 (1 second). +# This wait period only applies if the connect or pty option is used. +#connect-delay + +# Packet filtering: for more information, see pppd(8) +# Any packets matching the filter expression will be interpreted as link +# activity, and will cause a "demand" connection to be activated, and reset +# the idle connection timer. (idle option) +# The filter expression is akin to that of tcpdump(1) +#active-filter + +# uncomment the line below this if you use PPPoE +#plugin /usr/lib/pppd/plugins/pppoe.so + +# ------ diff --git a/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local new file mode 100755 index 0000000..c1b0154 --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/etc/rc.local @@ -0,0 +1,21 @@ +#!/bin/bash +. /etc/profile +. ${MV_ROOT}/bin/install_functions.sh +#install initial database +pacman -S --noconfirm 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/rootoverlay/root/.bashrc b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/root/.bashrc new file mode 100644 index 0000000..3e5c29c --- /dev/null +++ b/build_tools/clarch/larch/profiles/MV-local/rootoverlay/root/.bashrc @@ -0,0 +1,2 @@ +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' -- cgit v0.12