SOURCES: linux-live-package.patch - remove symlink patch
tommat
tommat at pld-linux.org
Thu Oct 23 13:22:52 CEST 2008
Author: tommat Date: Thu Oct 23 11:22:51 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- remove symlink patch
---- Files affected:
SOURCES:
linux-live-package.patch (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SOURCES/linux-live-package.patch
diff -u SOURCES/linux-live-package.patch:1.12 SOURCES/linux-live-package.patch:1.13
--- SOURCES/linux-live-package.patch:1.12 Wed Oct 22 12:00:17 2008
+++ SOURCES/linux-live-package.patch Thu Oct 23 13:22:46 2008
@@ -341,95 +341,6 @@
debug "deleting directory $INITRD_TREE"
rm -Rf $INITRD_TREE
-diff -Nur linux-live-6.2.4.orig/initrd/liblinuxlive linux-live-6.2.4/initrd/liblinuxlive
---- linux-live-6.2.4.orig/initrd/liblinuxlive 2008-03-13 11:52:36.000000000 +0100
-+++ linux-live-6.2.4/initrd/liblinuxlive 2008-10-22 00:00:27.000000000 +0200
-@@ -404,7 +404,7 @@
- {
- debug_log "create_module" "$*"
- rm -f "$2" # overwrite, never append to existing file
-- mksquashfs "$1" "$2" -b 256K -lzmadic 256K $3 $4 $5 $6 $7 $8 $9>/dev/null
-+ mksquashfs "$1" "$2" $3 $4 $5 $6 $7 $8 $9>/dev/null
- if [ $? -ne 0 ]; then return 1; fi
- chmod oga-wx "$2" # remove execute attrib
- }
-@@ -596,6 +596,13 @@
- list_partition_devices
- }
-
-+# List all network drivers
-+#
-+list_network_drivers()
-+{
-+ pcidev /m net
-+}
-+
- # Format mountdir for device. This function used to append _cdrom or _removable
- # suffix to the directory name so KDE was able to assign a nice icon for evey
- # device, but this should be done using HAL in KDE nowadays, so we do not
-@@ -732,16 +739,53 @@
- echo /bin/mdev > /proc/sys/kernel/hotplug # use mdev as a hotplug handler
- }
-
-+# create modprobe.conf file $1/etc/modprobe.conf with appropriate ethX module aliases
-+# $1 = root directory (union)
-+#
-+modprobe_update()
-+{
-+ i=0
-+ > $1/etc/modprobe.conf
-+ for drv in $(list_network_drivers); do
-+ echo "alias eth$i $drv" >> $1/etc/modprobe.conf
-+ i=$((i+1))
-+ done
-+}
-+
-+# list all pci devices recognized on this system
-+# $1 = pcimap | usbmap
-+modules_map()
-+{
-+ t=$1
-+ d=/proc/bus/pci/devices
-+ k=`uname -r`
-+ while read a id b; do
-+ v=0x0000${id%????}
-+ d=0x0000${id#????}
-+ # pci module vendor device subvendor subdevice class class_mask driver_data
-+ # nvidia 0x000010de 0xffffffff 0xffffffff 0xffffffff 0x00030200 0xffffffff 0x0
-+ echo $v $d
-+ done < $d | grep -f /proc/self/fd/0 /lib/modules/$k/modules.$t | cut -d' ' -f1 | sort -u
-+}
-+
- # Modprobe kernel modules needed for the LiveCD
- #
- modprobe_essential_modules()
- {
- debug_log "modprobe_essential_modules" "$*"
-
-+ echolog "Loading PCI modules"
-+ for m in $(modules_map pcimap); do
-+ modprobe_module $m
-+ done
- echolog "starting loop device support"
- modprobe_module loop
- echolog "starting cdrom filesystem support"
- modprobe_module isofs
-+ modprobe_module ahci
-+ modprobe_module sr_mod
-+ modprobe_module ide-cd
-+ modprobe_module cdrom
- echolog "starting squashfs support"
- modprobe_module squashfs
- echolog "starting aufs support with brs=1"
-@@ -784,6 +828,8 @@
- modprobe_module uhci-hcd
- fi
- modprobe_module usb-storage
-+ modprobe_module usbkbd
-+ modprobe_module usbhid
- }
-
- # Load drivers for PCMCIA CardBus devices
diff -Nur linux-live-6.2.4.orig/initrd/linuxrc linux-live-6.2.4/initrd/linuxrc
--- linux-live-6.2.4.orig/initrd/linuxrc 2008-03-13 10:37:28.000000000 +0100
+++ linux-live-6.2.4/initrd/linuxrc 2008-10-22 00:00:27.000000000 +0200
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/linux-live-package.patch?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list