From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=unavailable version=3.2.3 Date: Sat, 1 Mar 2008 14:18:48 +0300 From: Sergey Vlasov To: sisyphus@lists.altlinux.org Message-ID: <20080301111848.GA23021@atlas.home> Mail-Followup-To: sisyphus@lists.altlinux.org References: <200802252140.49574.shrek@altlinux.ru> <200802252143.40226.shrek@altlinux.ru> <20080301102424.GI21833@osdn.org.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <20080301102424.GI21833@osdn.org.ua> Subject: Re: [sisyphus] kernel version magicK X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 11:18:51 -0000 Archived-At: List-Archive: List-Post: --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 01, 2008 at 12:24:24PM +0200, Michael Shigorin wrote: > On Mon, Feb 25, 2008 at 09:43:39PM +0300, Valery V. Inozemtsev wrote: > > =C9 =C5=DD=C5 =C4=CF =CB=D5=DE=C9 - =DE=D4=CF =DA=C1 =C3=C9=C6=C5=D2=CB= =C1 "132630" =D5 =CD=CF=C4=D5=CC=C5=CA >=20 > =FE=D4=CF, =D4=C1=CB =C4=CF =D3=C9=C8 =D0=CF=D2 =CE=C9=CB=D4=CF =C9 =CE= =C5 =D2=C1=D3=D3=CB=C1=DA=C1=CC? >=20 > =FC=D4=CF vermagic, =DE=D4=CF=C2 =C9=DA=C2=C5=D6=C1=D4=D8 =D0=CF=CE=C9=D6= =C5=CE=C9=D1 SVR =CD=CF=C4=D5=CC=D1 =D0=D2=C9 =D0=CF=D7=D9=DB=C5=CE=C9=C9 > V =D1=C4=D2=C1 =C9 =D3=CF=CF=D4=D7=C5=D4=D3=D4=D7=C5=CE=CE=CF =D3=C2=D2= =CF=D3=C5 R =D1=C4=D2=C1 (=D0=CF=D3=CB=CF=CC=D8=CB=D5 =D2=C1=CE=C5=C5 =D7 = =CD=CF=C4=D5=CC=C9 > =C4=CF=CC=C5=D4=C1=CC =D4=CF=CC=D8=CB=CF R, =C1 =D3=D4=C1=D2=DB=C9=CA V -= - =CE=C5=D4, =C2=D9=D7=C1=CC=CF =D4=C1=CB, =DE=D4=CF =CD=CF=C4=D5=CC=D8=20 > X.YZ-altT.1 =C4=CC=D1 =D1=C4=D2=C1 2.M.N+1-alt1 =CF=CB=C1=DA=D9=D7=C1=CC= =D3=D1 =CD=CC=C1=C4=DB=C5 =CD=CF=C4=D5=CC=D1 > X.YZ-altT.K =C4=CC=D1 =D1=C4=D2=C1 2.M.N+1-altK). >=20 > =EB=C1=CB =C9=CD=C5=CE=CE=CF =D0=CF=CC=D5=DE=C1=C5=D4=D3=D1 -- =CE=C5 =D7= =D9=D1=D3=CE=D1=CC, =D3=D0=D2=CF=D3=C9 vsu@. =F7 kernel-build-scripts =C5=D3=D4=D8 =C6=D5=CE=CB=C3=C9=D1: kernel_version_code() { local release=3D"$1" && shift local kver=3D"$(printf %s "$release" | cut -d- -f1)" local version=3D"$(printf %s "$kver" | cut -d. -f1)" local patchlevel=3D"$(printf %s "$kver" | cut -d. -f2)" local sublevel=3D"$(printf %s "$kver" | cut -d. -f3)" # from kernel Makefile expr "$version" \* 65536 + "$patchlevel" \* 256 + "$sublevel" } =F2=C5=DA=D5=CC=D8=D4=C1=D4 =D3=CF=CF=D4=D7=C5=D4=D3=D4=D7=D5=C5=D4 =DA=CE= =C1=DE=C5=CE=C9=C0 =CD=C1=CB=D2=CF=D3=C1 LINUX_VERSION_CODE =D7 =D1=C4=D2= =C5 (=D7 ). --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHyTuYW82GfkQfsqIRAmvhAJ40gRC6Z22a3WM8wQwrKkktb85UTQCeJ5E9 /6iyIyBUwEbsaImFm01p4A4= =Y2fZ -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--