Datuve :: Forums :: Arhīvs :: Nopatchot Slackware 10.2

Datuve

Mana Datuve

Reģistrācija | Noteikumi | Paroles atjaunošana



Forums

Ieskaties


Raksti

Lietotāji online

Lietotāji online: 115

Reģistrētie lietotāji online: 0

Viesi online: 115

Datuve.lv video
Top.LV

Nopatchot Slackware 10.2

Ievietoja: Tomy @ 2006.12.17 19:51  

Meklējot forumā atrdadu šo - http://datuve.lv/forums/4462/Parkompilet_linux_kernel taču tās pamācības kas tur ir uzskaitītas ir pārāk vienkāršas, internetā biju uzracis baigo pamācību, bet pēc viņas vadoties, nesanāk. Varbūt ir jādara savādak? Gribu 2.4.31 nopatchot uz 2.6.19.1.

cd /usr/src/linux
patch -p1 < patch-2.6.19.1/patch-2.6.19.1
make oldconfig
make dep
make clean
make bzImage
make modules
make modules_install
cd arch/i386/boot/
cp bzImage /boot/vmlinuz-2.6.19.1
cd /usr/src/linux
cp System.map /boot/System.map-2.6.19.1
cd /boot/
rm System.map
ln -s System.map-2.6.19.1 System.map

Un rezultātā dabūju:

x@DarkStar:~$ cd /usr/src/linux
x@DarkStar:/usr/src/linux$ patch -p1 < patch-2.6.19.1/patch-2.6.19.1
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/Makefile b/Makefile
|index aef9625..6b53c75 100644
|--- a/Makefile
|+++ b/Makefile
--------------------------
File to patch:

Parasti apraujos, pēc patch komandas, jo cik sapratu, ja prasa "file to patch" tad patchošana nav sanākusi?