[Debian-live-changes] r1529 - dists/trunk/live-helper/examples

matth-guest at alioth.debian.org matth-guest at alioth.debian.org
Thu May 17 15:27:56 UTC 2007


Author: matth-guest
Date: 2007-05-17 15:27:56 +0000 (Thu, 17 May 2007)
New Revision: 1529

Added:
   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/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:
first import of non-free/contrib drivers hooks


Added: dists/trunk/live-helper/examples/ipw2100-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/ipw2100-hook.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/ipw2100-hook.sh	2007-05-17 15:27:56 UTC (rev 1529)
@@ -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


Property changes on: dists/trunk/live-helper/examples/ipw2100-hook.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/live-helper/examples/ipw2200-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/ipw2200-hook.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/ipw2200-hook.sh	2007-05-17 15:27:56 UTC (rev 1529)
@@ -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}


Property changes on: dists/trunk/live-helper/examples/ipw2200-hook.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/live-helper/examples/ipw3945-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/ipw3945-hook.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/ipw3945-hook.sh	2007-05-17 15:27:56 UTC (rev 1529)
@@ -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


Property changes on: dists/trunk/live-helper/examples/ipw3945-hook.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/live-helper/examples/madwifi-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/madwifi-hook.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/madwifi-hook.sh	2007-05-17 15:27:56 UTC (rev 1529)
@@ -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
+
+


Property changes on: dists/trunk/live-helper/examples/madwifi-hook.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/live-helper/examples/nvidia-legacy-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/nvidia-legacy-hook.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/nvidia-legacy-hook.sh	2007-05-17 15:27:56 UTC (rev 1529)
@@ -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
+
+# 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


Property changes on: dists/trunk/live-helper/examples/nvidia-legacy-hook.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/live-helper/examples/rt2570-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/rt2570-hook.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/rt2570-hook.sh	2007-05-17 15:27:56 UTC (rev 1529)
@@ -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


Property changes on: dists/trunk/live-helper/examples/rt2570-hook.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/live-helper/examples/rt2x00-hook.sh
===================================================================
--- dists/trunk/live-helper/examples/rt2x00-hook.sh	                        (rev 0)
+++ dists/trunk/live-helper/examples/rt2x00-hook.sh	2007-05-17 15:27:56 UTC (rev 1529)
@@ -0,0 +1,14 @@
+#!/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


Property changes on: dists/trunk/live-helper/examples/rt2x00-hook.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the Debian-live-changes mailing list