05-02-2014, 09:46 AM
The problem seems to be here:
The value of $platform_folder is undefined, because chromeos_laptop.c is in neither of those directories. I can't find it at all, in fact. So, even if it WAS defined, then the script would later attempt to patch a source file that doesn't exist.
EDIT:
One of the comments is a guy who is trying to run Elementary OS got that same error for patching files that I did. Since elementary OS is also based on LTS 12.04, I am pretty optimistic about this link:
http://realityequation.net/installing-el...omebook-14
Code:
# Grab Ubuntu kernel source
apt-get source linux-image-$mykern
cd $mykernver
if [ -f drivers/platform/x86/chromeos_laptop.c ]; then
platform_folder=x86
elif [ -f drivers/platform/chrome/chromeos_laptop.c ]; then
platform_folder=chrome
fi
The value of $platform_folder is undefined, because chromeos_laptop.c is in neither of those directories. I can't find it at all, in fact. So, even if it WAS defined, then the script would later attempt to patch a source file that doesn't exist.
EDIT:
One of the comments is a guy who is trying to run Elementary OS got that same error for patching files that I did. Since elementary OS is also based on LTS 12.04, I am pretty optimistic about this link:
http://realityequation.net/installing-el...omebook-14