Patches
Alexios Chouchoulas
alexios at vennea.demon.co.uk
Mon Jan 19 13:34:33 EET 1998
On Sun, 18 Jan 1998, Harris Kosmidhs wrote:
> Pos leitourgoun ta patches tou kernel?
> Exo px ton 2.0.32 To patch : patch-2.0.32 to kanei san ton 2.0.33 h to
> patch-2.0.33 xreiazete?
> Kai pos to pernao? patch < patchfile? To pacthfile prepei na briskete
> sto /usr/src/linux?
Nai, exei orismena sxetika komplex kai perimenei to source tree sou na
exei sygkekrimeno sxhma (bonsai dhladh :-)).
(1) Onomatologia: otan blepeis patch-2.0.32, shmainei panta "to patch pou
sou dhmiourgei ton 2.0.32 (apo ton 2.0.31 profanws)." An den anaferontai kai
oi dyo ekdoseis (source kai target), anaferetai mono h target.
(2) To diff twn dyo ekdosewn tou kernel ftiaxnetai panta ws ekshs:
pwd: /usr/src (or whatever sto disko tou Linus)
old tree: under vx.xx.xx/ (px v2.0.63).
new tree: under linux/
Ara, gia na proetoimasteis, phgaine sto /usr/src. Ftiakse ena symlink
apo to /usr/src/linux sto /usr/src/vx.xx.xx (antikatesthse thn
trexousa ekdosh tou kernel sou, dhl. 2.0.31 sthn periptwsh sou).
(3) Dwse patch -p0 patch-2.0.32 (h zcat patch-2.0.32.gz|patch -p0 an
einai sympiesmeno, fysika). To -p0 leei sto patch na mhn agnohsei
kanena component twn source kai target directories (o arithmos leei
posa / na agnohsei, des kai to man page).
(4) Parakoloutha gia tyxon lathi. Psakse meta (me find(1)) gia tyxon
arxeia '*.rej'. An ta breis shmainei oti gi'afta t'arxeia to patch
apetyxe gia kapoio logo...
HTH.
-------------------------- ,o88,o888o,,o888o. --------------------------------
Alexios Chouchoulas '88 ,88' ,88' http://www.vennea.demon.co.uk
The Unpronounceable One ,o88oooo88ooooo88oo, alexios at vennea.demon.co.uk
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list