Link to home
Start Free TrialLog in
Avatar of braker15
braker15

asked on

Apply .patch to Linux Iso?

Does anyone know how to apply a .patch to a linux iso release?

I need to place the patch shown in the code section to any linux distribution so i can get an install going (apparently my computer xw4600 was blacklisted for a while... looks like this might fix it... but i don't think the patch made it in to v 5.00 of debian)

I've tried the latest ubuntu, jaunty, pc-linux, pc-freebsd, and debian... all end up crashing on install (i did get command prompt  with jaunty-alternate-amd64.iso (installer hit an error at software install point... but i was able to install grub)

Preferable i'd like to use ubuntu or http://cdimage.debian.org/debian-cd/5.0.0/amd64/iso-cd/debian-500-amd64-CD-1.iso


--- a/drivers/acpi/sleep/main.c
+++ b/drivers/acpi/sleep/main.c
@@ -344,6 +344,14 @@ static struct dmi_system_id __initdata a
 		DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
 		},
 	},
+	{
+	.callback = init_old_suspend_ordering,
+	.ident = "HP xw4600 Workstation",
+	.matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "HP xw4600 Workstation"),
+		},
+	},
 	{},
 };
 #endif /* CONFIG_SUSPEND */

Open in new window

Avatar of Maciej S
Maciej S
Flag of Poland image

It's a kernel patch, right? So the answer is - you can't. In iso files, you have already built kernels, so patching source files (even if there are any) won't give you anything.
Avatar of braker15
braker15

ASKER

it looks like this patch may have been applied in 2.6.27-stable  -> http://patchwork.kernel.org/patch/5490/

Using releases with later kernal builds i am still having issues.  Do you know of any linux release that could get me in a gui environment without issues? I've tried the following:
7.1-RELEASE-amd64-dvd1.iso
7.1-RELEASE-amd64-dvd1.iso.gz
archlinux-2009.02-core-x86_64.iso
debian-500-amd64-DVD-1.iso
debian-500-amd64-DVD-2.iso
debian-500-amd64-DVD-3.iso
debian-500-amd64-DVD-4.iso
F10-i686-Live.iso
Fedora-10-x86_64-DVD.iso
Fedora-10-x86_64-DVD_001.iso
Fedora-11-Alpha-x86_64-DVD.iso
jaunty-alternate-amd64.iso
jaunty-alternate-i386.iso
jaunty-desktop-amd64.iso
mandriva-linux-free-2009.1-dvd-x86_64_001.iso
PCBSD7.0.2-x64-DVD.iso
pclinuxos-2007.iso
This isn't an issue anymore, i updated to a newer kernal.  I wanted to clarify something with you oklit.  You said that I apply a patch to an iso (i'd agree with that for sure).  Are you aware that there are sites providing instructions on how to do kernal builds?
http://www.howtoforge.com/kernel_compilation_ubuntu
ASKER CERTIFIED SOLUTION
Avatar of Maciej S
Maciej S
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial