diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-08-28 21:23:23 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-08-28 21:23:23 (GMT) |
commit | f83117d46d8fc1f6192783371a68607a192c3276 (patch) | |
tree | 21bf30aeb943fe6cb23eb9c62a0ba899de2af0d7 /build_tools/l7/larch0/profiles/i686-testing-local/cd-root | |
parent | 69a0137390be9816d5ec5dc9e81d48817a817758 (diff) | |
download | linhes_dev-f83117d46d8fc1f6192783371a68607a192c3276.zip |
Larch 7
Diffstat (limited to 'build_tools/l7/larch0/profiles/i686-testing-local/cd-root')
8 files changed, 200 insertions, 0 deletions
diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/debugsub.cfg b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/debugsub.cfg new file mode 100644 index 0000000..5ef732d --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/debugsub.cfg @@ -0,0 +1,38 @@ +default vesamenu.c32 +prompt 0 +#timeout 300 + +MENU BACKGROUND vbg.jpg +MENU COLOR border 31;40 #90ffff00 #00000000 std +MENU COLOR sel 31;47 #00000000 #FFFFFF15 al +MENU ROWS 4 +MENU CMDLINEROW 22 +#MENU TIMEOUTROW 23 +MENU TABMSGROW 22 + +MENU TITLE LinHES: The Linux Home Entertainment System + + +label linux-nox +MENU LABEL Boot to console (without X windowing) +kernel vmlinuz +append initrd=larch.img NoX + +label linux-c2r +MENU LABEL LinHES: copy-to-ram (also activates swap) +kernel vmlinuz +append initrd=larch.img c2r + +label linux-swap +MENU LABEL LinHES: Use swap +kernel vmlinuz +append initrd=larch.img swap + +label memtest +MENU LABEL Memory tester +kernel memtest + +label goback +MENU LABEL Back +kernel vesamenu.c32 +append menu isolinux.cfg
\ No newline at end of file diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg new file mode 100644 index 0000000..c041eb2 --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg @@ -0,0 +1,57 @@ +default vesamenu.c32 +prompt 0 +#timeout 300 + +MENU BACKGROUND vbg.jpg +MENU COLOR border 31;40 #90ffff00 #00000000 std +MENU COLOR sel 31;47 #00000000 #FFFFFF15 al +MENU ROWS 4 +MENU CMDLINEROW 22 +MENU TABMSGROW 22 + +MENU TITLE LinHES: The Linux Home Entertainment System + +label atomic +MENU LABEL LinHES on Atomic Ant! +kernel vmlinuz +append initrd=larch.img vga=792 quiet splash=silent,theme:linhes console=tty1 disablemodules=agpart,intel_agp + +#label linux-i810 +#MENU LABEL with Intel i810 driver (DRI disabled) +#kernel vmlinuz +#append initrd=larch.img i810 + +label linux-vesa +MENU LABEL Force use of vesa driver +kernel vmlinuz +append initrd=larch.img forceXvesa + +lable skipTweaker +MENU LABEL LinHES no splashscren no tweaker. +kernel vmlinuz +append initrd=larch.img no_meth + +label dragon +MENU LABEL Dragon Version 1 +kernel vmlinuz +append initrd=larch.img type=dragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 + +label dragon2 +MENU LABEL Dragon Version 2 +kernel vmlinuz +append initrd=larch.img type=dragon2 vga=0x314 quiet splash=silent,theme:linhes console=tty1 + +label ausdragon +MENU LABEL Australian Dragon +kernel vmlinuz +append initrd=larch.img type=ausdragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 + +label 8400 +MENU LABEL For the Nvidia 8400 chipset. +kernel vmlinuz +append initrd=larch.img vga=792 quiet splash=silent,theme:linhes console=tty1 disablemodules=agpart + +label goback +MENU LABEL Back +kernel vesamenu.c32 +append menu isolinux.cfg diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg new file mode 100644 index 0000000..646b173 --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg @@ -0,0 +1,37 @@ +default vesamenu.c32 +prompt 0 +timeout 300 + +MENU BACKGROUND vbg.jpg +MENU COLOR border 31;40 #90ffff00 #00000000 std +MENU COLOR sel 31;47 #00000000 #FFFFFF15 al +MENU ROWS 4 +MENU CMDLINEROW 22 +MENU TIMEOUTROW 23 +MENU TABMSGROW 22 + +MENU TITLE LinHES: The Linux Home Entertainment System + +label linux +MENU LABEL LinHES (default). +kernel vmlinuz +append initrd=larch.img vga=0x314 quiet splash=silent,theme:linhes console=tty1 + +label linux-nosplash +MENU LABEL LinHES without splash screen. +kernel vmlinuz +append initrd=larch.img + +label special +MENU LABEL Special Hardware +kernel vesamenu.c32 +append hardsub.cfg + +label debug +MENU LABEL Debug options +kernel vesamenu.c32 +append debugsub.cfg + +label local +menu label Boot from ^local drive +localboot 0xffff diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/vbg.jpg b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/vbg.jpg Binary files differnew file mode 100644 index 0000000..07d31a6 --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/isolinux/vbg.jpg diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/actions.rc b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/actions.rc new file mode 100644 index 0000000..dd95b26 --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/actions.rc @@ -0,0 +1,3 @@ +type=0 +orientation=1 + diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/autologin b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/autologin new file mode 100644 index 0000000..93ca142 --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/autologin @@ -0,0 +1 @@ +root
\ No newline at end of file diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/bash_profile b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/bash_profile new file mode 100644 index 0000000..c49349b --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/bash_profile @@ -0,0 +1 @@ +. $HOME/.bashrc diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/larch0 b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/larch0 new file mode 100644 index 0000000..c80b7c2 --- /dev/null +++ b/build_tools/l7/larch0/profiles/i686-testing-local/cd-root/larch/copy/larch0 @@ -0,0 +1,63 @@ +# This is a script 'sourced' from the installation script larch-tidy. +# Its purpose is to remove custom live-only stuff from a just-installed +# system. +# ${INSTALL} is the path to the installed system root directory. + +rm "${INSTALL}/root/Desktop/Install Arch Linux.desktop" + +if [ -f ${INSTALL}/etc/rc.local.orig ]; then + mv ${INSTALL}/etc/rc.local.orig ${INSTALL}/etc/rc.local +fi +if [ -f ${INSTALL}/etc/rc.local.shutdown.orig ]; then + mv ${INSTALL}/etc/rc.local.shutdown.orig ${INSTALL}/etc/rc.local.shutdown +fi + +# slim is currently started in inittab +#sed -i '/^DAEMONS=/ s|!slim|@slim|' ${INSTALL}/etc/rc.conf + +# Copy xorg.conf.i810 to target xorg.conf if necessary +if ! [ -f /etc/X11/xorg.conf ]; then + if grep i810 /proc/cmdline &>/dev/null; then + cp /etc/X11/xorg.conf.i810 ${INSTALL}/etc/X11/xorg.conf + fi +fi + +#***************************************************# +# Replace uses of larchquit in xfce panels and menu.# +#***************************************************# +### Unfortunately this isn't very simple. If anyone has a better way of +### providing different Quit actions in the live version and the version +### installed to disk from it, please let me know! +### Maybe it would be better just to provide a special live quit desktop +### icon which can be removed on installation, like the installation icon. + +defaultquit='<builtin name="Quit" cmd="Quit" icon="gnome-logout"/>' + +replacequit () +{ + for f in ${INSTALL}$1/.config/xfce4/panel/*; do + if grep "^Exec=larchquit" ${f}; then + n=$( echo ${f} | sed "s|^.*-\([0-9]\+\).*|\1|" ) + cp /.livesys/actions.rc \ + ${INSTALL}$1/.config/xfce4/panel/actions-${n}.rc + rm ${f} + + sed -i "s|=\"launcher\" id=\"${n}\"|=\"actions\" id=\"${n}\"|" \ + ${INSTALL}$1/.config/xfce4/panel/panels.xml + fi + done + + if [ -f ${INSTALL}$1/.bash_profile ]; then + sed -i "s|<app .*cmd=\"larchquit.*/>|${defaultquit}|" \ + ${INSTALL}$1/.config/xfce4/desktop/menu.xml + + cp /.livesys/xfce4-session.rc ${INSTALL}$1/.config/xfce4-session + cp /.livesys/bash_profile ${INSTALL}$1/.bash_profile + fi +} + +for hd in $( cat ${INSTALL}/etc/passwd | cut -d':' -f6 | grep '^/home/' ) \ + /root /etc/skel; do + replacequit ${hd} &>/dev/null +done +#***************************************************# |