[Debian-live-changes] r1533 - in dists/trunk/live-helper/examples: . hooks

daniel at alioth.debian.org daniel at alioth.debian.org
Fri May 18 06:22:00 UTC 2007


Author: daniel
Date: 2007-05-18 06:22:00 +0000 (Fri, 18 May 2007)
New Revision: 1533

Added:
   dists/trunk/live-helper/examples/hooks/
   dists/trunk/live-helper/examples/hooks/beryl.sh
   dists/trunk/live-helper/examples/hooks/ipw2100.sh
   dists/trunk/live-helper/examples/hooks/ipw2200.sh
   dists/trunk/live-helper/examples/hooks/ipw3945.sh
   dists/trunk/live-helper/examples/hooks/madwifi.sh
   dists/trunk/live-helper/examples/hooks/nvidia-legacy.sh
   dists/trunk/live-helper/examples/hooks/rt2570.sh
   dists/trunk/live-helper/examples/hooks/rt2x00.sh
   dists/trunk/live-helper/examples/hooks/sun-java5.sh
   dists/trunk/live-helper/examples/hooks/sun-java6.sh
Removed:
   dists/trunk/live-helper/examples/beryl-hook.sh
   dists/trunk/live-helper/examples/ipw2100-hook.sh
   dists/trunk/live-helper/examples/ipw2200-hook.sh
   dists/trunk/live-helper/examples/ipw3945-hook.sh
   dists/trunk/live-helper/examples/java-hook.sh
   dists/trunk/live-helper/examples/madwifi-hook.sh
   dists/trunk/live-helper/examples/nvidia-legacy-hook.sh
   dists/trunk/live-helper/examples/rt2570-hook.sh
   dists/trunk/live-helper/examples/rt2x00-hook.sh
Log:


Deleted: dists/trunk/live-helper/examples/beryl-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/beryl-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/beryl-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install beryl and enable aiglx.
-# It was originally written by Inigo Tejedor Arrondo <inigo at navarrux.org>.
-#
-# To enable it, copy this hook into your config/chroot_local-hooks directory.
-# for forcing aiglx activation type at boot prompt "live forceaiglx"
-# for forcing aiglx deactivation type "live noaiglx"
-
-# Import archive signing key
-wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | apt-key add -
-
-# Update indices
-apt-get update
-
-# Install packages
-PACKAGES="beryl beryl-core beryl-manager beryl-plugins beryl-settings beryl-settings-bindings beryl-settings-simple mesa-utils"
-
-dpkg -s gnome-core > /dev/null 2>&1 && PACKAGES="${PACKAGES} emerald emerald-themes heliodor"
-dpkg -s kde-core   > /dev/null 2>&1 && PACKAGES="${PACKAGES} aquamarine"
-
-apt-get install --yes ${PACKAGES}
-
-# Add init script
-cat > /etc/init.d/aiglx << EOF
-#!/bin/sh
-activate_3d()
-{
-        activate_aiglx
-        activate_beryl
-}
-
-activate_aiglx()
-{
-        echo "" >> /etc/X11/xorg.conf
-        echo "# Added by beryl-hook.sh" >> /etc/X11/xorg.conf
-        echo "Section \"Extensions\"" >> /etc/X11/xorg.conf
-        echo " Option \"Composite\" \"Enable\"" >> /etc/X11/xorg.conf
-        echo "EndSection" >> /etc/X11/xorg.conf
-
-        sed -i -e "s/Section \"Device\""/"Section \"Device\"\n\t Option \"XAANoOffscreenPixmaps\" \"true\"\n\t Option \"AddARGBGLXVisuals\" \"on\"\n\t Option \"AllowGLXWithComposite\" \"true\"/" -e "s/Section \"Module\""/"Section \"Module\"\n\t Load \"i2c\"\n\t Load \"int10\"\n\t Load \"xtrap\"\n\t Load \"vbe\"/" /etc/X11/xorg.conf
-}
-
-activate_beryl()
-{
-        # http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
-        ! [ -d /etc/xdg/autostart ] && mkdir -p /etc/xdg/autostart
-        cat > /etc/xdg/autostart/beryl-manager.desktop <<EOS
-[Desktop Entry]
-Encoding=UTF-8
-Name=Beryl Manager
-GenericName=3D Window Manager
-Comment=Beryl Manager daemon
-Icon=
-Exec=beryl-starter
-Terminal=false
-Type=Application
-Categories=
-EOS
-
-        cat > /usr/local/bin/beryl-starter <<EOS
-#!/bin/sh
-glxinfo > /dev/null 2>&1 && beryl-manager
-EOS
-        chmod 0755 /usr/local/bin/beryl-starter
-}
-
-if ! cat /proc/cmdline | grep noaiglx > /dev/null
-then
-        echo "Configuring xorg for aiglx ..."    
-        activate_3d
-fi
-EOF
-
-chmod 0755 /etc/init.d/aiglx
-update-rc.d aiglx defaults
-

Copied: dists/trunk/live-helper/examples/hooks/beryl.sh (from rev 1532, dists/trunk/live-helper/examples/beryl-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/beryl.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/beryl.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install beryl and enable aiglx.
+# It was originally written by Inigo Tejedor Arrondo <inigo at navarrux.org>.
+#
+# To enable it, copy this hook into your config/chroot_local-hooks directory.
+# for forcing aiglx activation type at boot prompt "live forceaiglx"
+# for forcing aiglx deactivation type "live noaiglx"
+
+# Import archive signing key
+wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | apt-key add -
+
+# Update indices
+apt-get update
+
+# Install packages
+PACKAGES="beryl beryl-core beryl-manager beryl-plugins beryl-settings beryl-settings-bindings beryl-settings-simple mesa-utils"
+
+dpkg -s gnome-core > /dev/null 2>&1 && PACKAGES="${PACKAGES} emerald emerald-themes heliodor"
+dpkg -s kde-core   > /dev/null 2>&1 && PACKAGES="${PACKAGES} aquamarine"
+
+apt-get install --yes ${PACKAGES}
+
+# Add init script
+cat > /etc/init.d/aiglx << EOF
+#!/bin/sh
+activate_3d()
+{
+        activate_aiglx
+        activate_beryl
+}
+
+activate_aiglx()
+{
+        echo "" >> /etc/X11/xorg.conf
+        echo "# Added by beryl-hook.sh" >> /etc/X11/xorg.conf
+        echo "Section \"Extensions\"" >> /etc/X11/xorg.conf
+        echo " Option \"Composite\" \"Enable\"" >> /etc/X11/xorg.conf
+        echo "EndSection" >> /etc/X11/xorg.conf
+
+        sed -i -e "s/Section \"Device\""/"Section \"Device\"\n\t Option \"XAANoOffscreenPixmaps\" \"true\"\n\t Option \"AddARGBGLXVisuals\" \"on\"\n\t Option \"AllowGLXWithComposite\" \"true\"/" -e "s/Section \"Module\""/"Section \"Module\"\n\t Load \"i2c\"\n\t Load \"int10\"\n\t Load \"xtrap\"\n\t Load \"vbe\"/" /etc/X11/xorg.conf
+}
+
+activate_beryl()
+{
+        # http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
+        ! [ -d /etc/xdg/autostart ] && mkdir -p /etc/xdg/autostart
+        cat > /etc/xdg/autostart/beryl-manager.desktop <<EOS
+[Desktop Entry]
+Encoding=UTF-8
+Name=Beryl Manager
+GenericName=3D Window Manager
+Comment=Beryl Manager daemon
+Icon=
+Exec=beryl-starter
+Terminal=false
+Type=Application
+Categories=
+EOS
+
+        cat > /usr/local/bin/beryl-starter <<EOS
+#!/bin/sh
+glxinfo > /dev/null 2>&1 && beryl-manager
+EOS
+        chmod 0755 /usr/local/bin/beryl-starter
+}
+
+if ! cat /proc/cmdline | grep noaiglx > /dev/null
+then
+        echo "Configuring xorg for aiglx ..."    
+        activate_3d
+fi
+EOF
+
+chmod 0755 /etc/init.d/aiglx
+update-rc.d aiglx defaults
+

Copied: dists/trunk/live-helper/examples/hooks/ipw2100.sh (from rev 1532, dists/trunk/live-helper/examples/ipw2100-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/ipw2100.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/ipw2100.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install ipw2100 drivers
+# To enable it, copy this hook into your config/chroot_local-hooks directory.
+
+# IMPORTANT: for apt-get to locate the required packages you need to
+# add "contrib" sections  and the 686 flavour.
+#
+# e.g with make-live : --sections "main contrib" --kernel-flavour 686
+
+
+# update indices
+apt-get update
+
+# kernel module setup
+which m-a || apt-get install --yes module-assistant
+m-a update
+m-a --non-inter --quiet a-i ipw2100
+
+# firmware install (http://ipw2100.sourceforge.net/firmware.php)
+# grabbing 0.55 (Wed May 16 15:17:38 -- matth)
+
+wget --referer "http://ipw2100.sourceforge.net/firmware.php" "http://ipw2100.sourceforge.net/firmware.php?i_agree_to_the_license=yes&f=ipw2100-fw-1.3.tgz" -O /tmp/ipw2100-fw-1.3.tgz
+cd /tmp && tar zxvf ipw2100-fw-1.3.tgz
+mv /tmp/ipw2100-1.3* /lib/firmware/
+rm -fr ipw2100-fw-1.3.tgz
+cd ${OLDPWD}
\ No newline at end of file

Copied: dists/trunk/live-helper/examples/hooks/ipw2200.sh (from rev 1532, dists/trunk/live-helper/examples/ipw2200-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/ipw2200.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/ipw2200.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install nvidia-legacy drivers
+# To enable it, copy this hook into your config/chroot_local-hooks directory.
+
+# IMPORTANT: for apt-get to locate the required packages you need to
+# add "contrib" sections  and the 686 flavour.
+#
+# e.g with make-live : --sections "main contrib" --kernel-flavour 686
+
+
+# update indices
+apt-get update
+
+# kernel module setup
+which m-a || apt-get install --yes module-assistant
+m-a update
+m-a --non-inter --quiet a-i ipw2200
+
+# firmware install (http://ipw2200.sourceforge.net/firmware.php)
+# grabbing 3.0 (Wed May 16 15:17:38 -- matth)
+
+
+wget --referer "http://ipw2200.sourceforge.net/firmware.php" "http://ipw2200.sourceforge.net/firmware.php?i_agree_to_the_license=yes&f=ipw2200-fw-3.0.tgz" -O /tmp/ipw2200-fw-3.0.tgz
+cd /tmp && tar zxvf ipw2200-fw-3.0.tgz
+cp ipw2200-fw-3.0/*.fw /lib/firmware/
+rm -fr /tmp/ipw2200-fw-3.0*
+cd ${OLDPWD}

Copied: dists/trunk/live-helper/examples/hooks/ipw3945.sh (from rev 1532, dists/trunk/live-helper/examples/ipw3945-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/ipw3945.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/ipw3945.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install ipw3945 drivers
+# To enable it, copy this hook into your config/chroot_local-hooks directory.
+
+# IMPORTANT: for apt-get to locate the required packages you need to
+# add "non-free" sections
+#
+# e.g with make-live : --sections "main non-free"
+
+# update indices
+apt-get update
+
+# kernel module setup
+which m-a || apt-get install --yes module-assistant
+m-a update
+m-a a-i ipw3945 # interactive mode for now
+
+apt-get install ipw3945d firmware-ipw3945
+
+# hackish, autorun regulatory daemon, update-rc.d will reject that
+ln -s /etc/init.d/ipw3945d /etc/rc2.d/S19ipw3945d

Copied: dists/trunk/live-helper/examples/hooks/madwifi.sh (from rev 1532, dists/trunk/live-helper/examples/madwifi-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/madwifi.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/madwifi.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install madwifi drivers
+# To enable it, copy this hook into your config/chroot_localhooks directory.
+
+# IMPORTANT: for apt-get to locate the required packages you need to
+# add "non-free" sections
+#
+# e.g with make-live : --sections "main non-free"
+
+# NOTE: it runs in interactive mode
+
+# update indices
+apt-get update
+
+# userland stuff
+apt-get install madwifi-tools madwifi-doc
+
+# kernel module setup
+which m-a || apt-get install --yes module-assistant
+m-a update
+m-a a-i madwifi
+
+

Copied: dists/trunk/live-helper/examples/hooks/nvidia-legacy.sh (from rev 1532, dists/trunk/live-helper/examples/nvidia-legacy-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/nvidia-legacy.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/nvidia-legacy.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install nvidia-legacy drivers
+# To enable it, copy this hook into your config/chroot_localhooks directory.
+
+# IMPORTANT: for apt-get to locate the required packages you need to
+# add "contrib non-free" sections.
+#
+# e.g with make-live : --sections "main contrib non-free"
+
+
+# update indices
+apt-get update
+
+which m-a || apt-get install --yes module-assistant nvidia-kernel-common
+m-a update
+m-a --non-inter --quiet a-i nvidia-kernel-legacy
+
+apt-get install --yes nvidia-glx-legacy nvidia-xconfig discover
+
+# fixup (#421028)
+cd /usr/lib/xorg/modules/drivers
+[ -f nvidia_drv.o ] && gcc -shared -o nvidia_drv.so nvidia_drv.o
+cd ${OLDPWD}
+
+# Add init script
+cat > /etc/init.d/nvidia-debian-live <<EOF
+#!/bin/sh
+# script that modify xorg configuration enabling
+# the nvidia proprietary module if the card is detected
+# as an NVidia
+
+if discover --type-summary display | grep -i nvidia; then
+    # forcing depth to 24, bad detection on some card (e.g my GeForce4 440 Go)
+    echo "Configuring Xorg for nvidia ..."
+    nvidia-xconfig -d 24
+else
+    # not with nvidia h/w ? remove those GLX diversions
+    # (FIXME)
+    apt-get --quiet --yes remove nvidia-glx-legacy
+fi
+EOF
+
+chmod 0755 /etc/init.d/nvidia-debian-live
+update-rc.d nvidia-debian-live defaults

Copied: dists/trunk/live-helper/examples/hooks/rt2570.sh (from rev 1532, dists/trunk/live-helper/examples/rt2570-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/rt2570.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/rt2570.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install ralink rt2570 drivers
+# To enable it, copy this hook into your config/chroot_local-hooks directory.
+
+# NOTE: it runs in interactive mode
+
+# update indices
+apt-get update
+
+# kernel module setup
+which m-a || apt-get install --yes module-assistant
+m-a update
+m-a a-i rt2570-source

Copied: dists/trunk/live-helper/examples/hooks/rt2x00.sh (from rev 1532, dists/trunk/live-helper/examples/rt2x00-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/rt2x00.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/rt2x00.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install ralink rt2x00 drivers
+# To enable it, copy this hook into your config/chroot_local-hooks directory.
+
+# NOTE: it runs in interactive mode
+
+# update indices
+apt-get update
+
+# kernel module setup
+which m-a || apt-get install --yes module-assistant
+m-a update
+m-a a-i rt2x00-source
+
+# get the firmware for rt73usb
+cd /tmp
+wget "http://www.ralinktech.com.tw/data/RT73_Linux_STA_Drv1.0.4.0.tar.gz"
+tar zxvf RT73_Linux_STA_Drv1.0.4.0.tar.gz
+cp RT73_Linux_STA_Drv1.0.4.0/Module/rt73.bin /lib/firmware/
+rm -fr RT73_Linux_STA_Drv*
+cd ${OLDPWD}

Added: dists/trunk/live-helper/examples/hooks/sun-java5.sh
===================================================================
--- dists/trunk/live-helper/examples/hooks/sun-java5.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/sun-java5.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install sun-java.
+#
+# To enable it, copy this hook into your config/chroot_local-hooks directory and
+# don't forget to enable non-free in LIVE_SECTIONS.
+#
+# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
+# ask any questions while installing packages. Suns redistribution terms for
+# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for
+# this apt-get call only.
+
+DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java5-bin sun-java5-demo \
+	sun-java5-doc sun-java5-fonts sun-java5-jdk sun-java5-jre \
+	sun-java5-plugin sun-java5-source


Property changes on: dists/trunk/live-helper/examples/hooks/sun-java5.sh
___________________________________________________________________
Name: svn:executable
   + *

Copied: dists/trunk/live-helper/examples/hooks/sun-java6.sh (from rev 1532, dists/trunk/live-helper/examples/java-hook.sh)
===================================================================
--- dists/trunk/live-helper/examples/hooks/sun-java6.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/hooks/sun-java6.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install sun-java.
+#
+# To enable it, copy this hook into your config/chroot_local-hooks directory and
+# don't forget to enable non-free in LIVE_SECTIONS.
+#
+# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
+# ask any questions while installing packages. Suns redistribution terms for
+# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for
+# this apt-get call only.
+
+DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java6-bin sun-java6-demo \
+	sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre \
+	sun-java6-plugin sun-java6-source

Deleted: dists/trunk/live-helper/examples/ipw2100-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/ipw2100-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/ipw2100-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install ipw2100 drivers
-# To enable it, copy this hook into your config/chroot_local-hooks directory.
-
-# IMPORTANT: for apt-get to locate the required packages you need to
-# add "contrib" sections  and the 686 flavour.
-#
-# e.g with make-live : --sections "main contrib" --kernel-flavour 686
-
-
-# update indices
-apt-get update
-
-# kernel module setup
-which m-a || apt-get install --yes module-assistant
-m-a update
-m-a --non-inter --quiet a-i ipw2100
-
-# firmware install (http://ipw2100.sourceforge.net/firmware.php)
-# grabbing 0.55 (Wed May 16 15:17:38 -- matth)
-
-wget --referer "http://ipw2100.sourceforge.net/firmware.php" "http://ipw2100.sourceforge.net/firmware.php?i_agree_to_the_license=yes&f=ipw2100-fw-1.3.tgz" -O /tmp/ipw2100-fw-1.3.tgz
-cd /tmp && tar zxvf ipw2100-fw-1.3.tgz
-mv /tmp/ipw2100-1.3* /lib/firmware/
-rm -fr ipw2100-fw-1.3.tgz
-cd ${OLDPWD}
\ No newline at end of file

Deleted: dists/trunk/live-helper/examples/ipw2200-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/ipw2200-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/ipw2200-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install nvidia-legacy drivers
-# To enable it, copy this hook into your config/chroot_local-hooks directory.
-
-# IMPORTANT: for apt-get to locate the required packages you need to
-# add "contrib" sections  and the 686 flavour.
-#
-# e.g with make-live : --sections "main contrib" --kernel-flavour 686
-
-
-# update indices
-apt-get update
-
-# kernel module setup
-which m-a || apt-get install --yes module-assistant
-m-a update
-m-a --non-inter --quiet a-i ipw2200
-
-# firmware install (http://ipw2200.sourceforge.net/firmware.php)
-# grabbing 3.0 (Wed May 16 15:17:38 -- matth)
-
-
-wget --referer "http://ipw2200.sourceforge.net/firmware.php" "http://ipw2200.sourceforge.net/firmware.php?i_agree_to_the_license=yes&f=ipw2200-fw-3.0.tgz" -O /tmp/ipw2200-fw-3.0.tgz
-cd /tmp && tar zxvf ipw2200-fw-3.0.tgz
-cp ipw2200-fw-3.0/*.fw /lib/firmware/
-rm -fr /tmp/ipw2200-fw-3.0*
-cd ${OLDPWD}

Deleted: dists/trunk/live-helper/examples/ipw3945-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/ipw3945-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/ipw3945-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install ipw3945 drivers
-# To enable it, copy this hook into your config/chroot_local-hooks directory.
-
-# IMPORTANT: for apt-get to locate the required packages you need to
-# add "non-free" sections
-#
-# e.g with make-live : --sections "main non-free"
-
-# update indices
-apt-get update
-
-# kernel module setup
-which m-a || apt-get install --yes module-assistant
-m-a update
-m-a a-i ipw3945 # interactive mode for now
-
-apt-get install ipw3945d firmware-ipw3945
-
-# hackish, autorun regulatory daemon, update-rc.d will reject that
-ln -s /etc/init.d/ipw3945d /etc/rc2.d/S19ipw3945d

Deleted: dists/trunk/live-helper/examples/java-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/java-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/java-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install sun-java.
-#
-# To enable it, copy this hook into your config/chroot_local-hooks directory and
-# don't forget to enable non-free in LIVE_SECTIONS.
-#
-# live-helper sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
-# ask any questions while installing packages. Suns redistribution terms for
-# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for
-# this apt-get call only.
-
-DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java6-bin sun-java6-demo \
-	sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre \
-	sun-java6-plugin sun-java6-source

Deleted: dists/trunk/live-helper/examples/madwifi-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/madwifi-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/madwifi-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install madwifi drivers
-# To enable it, copy this hook into your config/chroot_localhooks directory.
-
-# IMPORTANT: for apt-get to locate the required packages you need to
-# add "non-free" sections
-#
-# e.g with make-live : --sections "main non-free"
-
-# NOTE: it runs in interactive mode
-
-# update indices
-apt-get update
-
-# userland stuff
-apt-get install madwifi-tools madwifi-doc
-
-# kernel module setup
-which m-a || apt-get install --yes module-assistant
-m-a update
-m-a a-i madwifi
-
-

Deleted: dists/trunk/live-helper/examples/nvidia-legacy-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/nvidia-legacy-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/nvidia-legacy-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install nvidia-legacy drivers
-# To enable it, copy this hook into your config/chroot_localhooks directory.
-
-# IMPORTANT: for apt-get to locate the required packages you need to
-# add "contrib non-free" sections.
-#
-# e.g with make-live : --sections "main contrib non-free"
-
-
-# update indices
-apt-get update
-
-which m-a || apt-get install --yes module-assistant nvidia-kernel-common
-m-a update
-m-a --non-inter --quiet a-i nvidia-kernel-legacy
-
-apt-get install --yes nvidia-glx-legacy nvidia-xconfig discover
-
-# fixup (#421028)
-cd /usr/lib/xorg/modules/drivers
-[ -f nvidia_drv.o ] && gcc -shared -o nvidia_drv.so nvidia_drv.o
-cd ${OLDPWD}
-
-# Add init script
-cat > /etc/init.d/nvidia-debian-live <<EOF
-#!/bin/sh
-# script that modify xorg configuration enabling
-# the nvidia proprietary module if the card is detected
-# as an NVidia
-
-if discover --type-summary display | grep -i nvidia; then
-    # forcing depth to 24, bad detection on some card (e.g my GeForce4 440 Go)
-    echo "Configuring Xorg for nvidia ..."
-    nvidia-xconfig -d 24
-else
-    # not with nvidia h/w ? remove those GLX diversions
-    # (FIXME)
-    apt-get --quiet --yes remove nvidia-glx-legacy
-fi
-EOF
-
-chmod 0755 /etc/init.d/nvidia-debian-live
-update-rc.d nvidia-debian-live defaults

Deleted: dists/trunk/live-helper/examples/rt2570-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/rt2570-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/rt2570-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install ralink rt2570 drivers
-# To enable it, copy this hook into your config/chroot_local-hooks directory.
-
-# NOTE: it runs in interactive mode
-
-# update indices
-apt-get update
-
-# kernel module setup
-which m-a || apt-get install --yes module-assistant
-m-a update
-m-a a-i rt2570-source

Deleted: dists/trunk/live-helper/examples/rt2x00-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/rt2x00-hook.sh	2007-05-17 23:36:00 UTC (rev 1532)
+++ dists/trunk/live-helper/examples/rt2x00-hook.sh	2007-05-18 06:22:00 UTC (rev 1533)
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-helper(7) to install ralink rt2x00 drivers
-# To enable it, copy this hook into your config/chroot_local-hooks directory.
-
-# NOTE: it runs in interactive mode
-
-# update indices
-apt-get update
-
-# kernel module setup
-which m-a || apt-get install --yes module-assistant
-m-a update
-m-a a-i rt2x00-source
-
-# get the firmware for rt73usb
-cd /tmp
-wget "http://www.ralinktech.com.tw/data/RT73_Linux_STA_Drv1.0.4.0.tar.gz"
-tar zxvf RT73_Linux_STA_Drv1.0.4.0.tar.gz
-cp RT73_Linux_STA_Drv1.0.4.0/Module/rt73.bin /lib/firmware/
-rm -fr RT73_Linux_STA_Drv*
-cd ${OLDPWD}




More information about the Debian-live-changes mailing list