LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   .gitignore missing (https://www.linuxquestions.org/questions/linux-newbie-8/gitignore-missing-466808/)

jcfolke 07-23-2006 11:33 AM

.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


All times are GMT -5. The time now is 12:22 PM.