LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-23-2006, 12:33 PM   #1
jcfolke
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Rep: Reputation: 0
.gitignore missing


I was trying to update my kernel. I have previously kompiled and is now using 2.6.16. I downloaded the patch-2.6.17.bz2.
Unzipped the file into my /src directory

contents of /src
Quote:
Alfons:/src# ls -la
totalt 116420
drwxr-xr-x 6 root root 4096 2006-07-23 18:28 .
drwxr-xr-x 27 root root 4096 2005-12-13 06:31 ..
drwxr-xr-x 2 root root 4096 2005-12-02 18:55 DRI
drwxr-xr-x 19 root root 4096 2005-11-03 19:02 linux-2.6.12.3
drwxr-xr-x 19 root root 4096 2006-02-04 14:36 linux-2.6.14
drwxr-xr-x 20 root root 4096 2006-07-23 18:28 linux-2.6.16
-rw-r--r-- 1 jcfolke jcfolke 30086 2005-11-03 18:54 patch-2.6.12.3
-rw-r--r-- 1 jcfolke jcfolke 23024224 2005-11-03 18:54 patch-2.6.14
-rw-r--r-- 1 jcfolke jcfolke 34260720 2006-05-21 17:51 patch-2.6.15
-rw-r--r-- 1 jcfolke jcfolke 29085385 2006-05-21 17:52 patch-2.6.16
-rw-r--r-- 1 jcfolke jcfolke 32637502 2006-07-23 17:51 patch-2.6.17

contents of /src/linux-2.6.16
Quote:
Alfons:/src/linux-2.6.16# ls -la
totalt 18788
drwxr-xr-x 20 root root 4096 2006-07-23 18:28 .
drwxr-xr-x 6 root root 4096 2006-07-23 18:28 ..
drwxr-xr-x 26 root root 4096 2006-05-21 18:20 arch
drwxr-xr-x 2 root root 4096 2006-05-21 20:15 block
-rw-r--r-- 1 root root 33874 2006-05-21 20:04 .config
-rw-r--r-- 1 root root 6052 2006-05-21 18:25 .config.cmd
-rw-r--r-- 1 root root 32893 2006-05-21 18:25 .config.old
-rw-r--r-- 1 root root 18693 2006-05-21 17:57 COPYING
-rw-r--r-- 1 root root 89556 2006-05-21 19:57 CREDITS
drwxr-xr-x 2 root root 4096 2006-05-21 19:57 crypto
drwxr-xr-x 55 root root 4096 2006-05-21 19:57 Documentation
drwxr-xr-x 57 root root 4096 2006-05-21 20:25 drivers
drwxr-xr-x 60 root root 4096 2006-05-21 20:30 fs
drwxr-xr-x 41 root root 4096 2006-05-21 18:22 include
drwxr-xr-x 2 root root 4096 2006-05-21 20:30 init
drwxr-xr-x 2 root root 4096 2006-05-21 20:14 ipc
-rw-r--r-- 1 root root 1250 2006-05-21 19:57 Kbuild
-rw-r--r-- 1 root root 6150 2006-05-21 20:04 .kconfig.d
drwxr-xr-x 4 root root 4096 2006-05-21 20:08 kernel
-rw-r--r-- 1 root root 7 2006-05-21 20:30 .kernelrelease
drwxr-xr-x 5 root root 4096 2006-05-21 20:30 lib
-rw-r--r-- 1 root root 67876 2006-05-21 19:57 MAINTAINERS
-rw-r--r-- 1 root root 44812 2006-05-21 19:57 Makefile
drwxr-xr-x 2 root root 4096 2006-05-21 20:09 mm
-rw-r--r-- 1 root root 114042 2006-05-21 20:30 Module.symvers
drwxr-xr-x 36 root root 4096 2006-05-21 20:29 net
-rw-r--r-- 1 root root 15471 2006-05-21 19:57 README
-rw-r--r-- 1 root root 3065 2006-05-21 17:59 REPORTING-BUGS
drwxr-xr-x 9 root root 4096 2006-05-21 20:00 scripts
drwxr-xr-x 4 root root 4096 2006-05-21 20:14 security
drwxr-xr-x 16 root root 4096 2006-05-21 20:26 sound
-rw-r--r-- 1 root root 816342 2006-05-21 20:30 System.map
-rw-r--r-- 1 root root 192513 2006-05-21 20:30 .tmp_kallsyms1.o
-rw-r--r-- 1 root root 503 2006-05-21 20:30 ..tmp_kallsyms1.o.cmd
-rw-r--r-- 1 root root 1122735 2006-05-21 20:30 .tmp_kallsyms1.S
-rw-r--r-- 1 root root 192513 2006-05-21 20:30 .tmp_kallsyms2.o
-rw-r--r-- 1 root root 503 2006-05-21 20:30 ..tmp_kallsyms2.o.cmd
-rw-r--r-- 1 root root 1122735 2006-05-21 20:30 .tmp_kallsyms2.S
-rw-r--r-- 1 root root 816342 2006-05-21 20:30 .tmp_System.map
drwxr-xr-x 2 root root 4096 2006-05-21 20:31 .tmp_versions
-rwxr-xr-x 1 root root 4641463 2006-05-21 20:30 .tmp_vmlinux1
-rw-r--r-- 1 root root 634 2006-05-21 20:30 ..tmp_vmlinux1.cmd
-rwxr-xr-x 1 root root 4829912 2006-05-21 20:30 .tmp_vmlinux2
-rw-r--r-- 1 root root 650 2006-05-21 20:30 ..tmp_vmlinux2.cmd
drwxr-xr-x 2 root root 4096 2006-05-21 20:06 usr
-rw-r--r-- 1 root root 2 2006-05-21 20:30 .version
-rwxr-xr-x 1 root root 4829912 2006-05-21 20:30 vmlinux
-rw-r--r-- 1 root root 638 2006-05-21 20:30 .vmlinux.cmd
Tried to apply the pach

Quote:
Alfons:/src/linux-2.6.16# patch -p1 <../patch-2.6.17
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/.gitignore b/.gitignore
|index 3f8fb68..27fd376 100644
|--- a/.gitignore
|+++ b/.gitignore
--------------------------
File to patch:
and something is wrong. My first guess is that a .gitignore file is missing. Is this a correct guess?

Best regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing jdbc isnt actually missing. trscookie Programming 0 06-04-2006 11:26 AM
Problem running UT Demo, Xlib missing on 0.0.. gldrv missing etc. RHLinuxGUY Linux - Games 3 05-22-2006 12:02 AM
Missing gd.h gmartin Slackware 3 02-11-2004 02:16 AM
what am i missing looney1430 Programming 1 01-04-2003 01:06 PM
what am I missing? fail66 Linux - General 3 12-13-2001 10:30 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration