From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-153469-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9A888138A1F for <garchives@archives.gentoo.org>; Tue, 28 Jan 2014 20:13:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0341CE0CAE; Tue, 28 Jan 2014 20:13:08 +0000 (UTC) Received: from faith.eroen.eu (faith.eroen.eu [178.79.147.241]) by pigeon.gentoo.org (Postfix) with ESMTP id BD4D2E0BDB for <gentoo-user@lists.gentoo.org>; Tue, 28 Jan 2014 20:13:06 +0000 (UTC) Received: from falcon.eroen.eu (unknown [10.10.0.26]) by faith.eroen.eu (Postfix) with ESMTP id 5C3A02402E for <gentoo-user@lists.gentoo.org>; Tue, 28 Jan 2014 20:18:30 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=falcon.eroen.eu; s=faith; t=1390940310; bh=wItpi/3KYCGJQGgu1+xU22osHcmfebz64ieI4Hb9zCc=; h=Date:From:To:Subject:In-Reply-To:References; b=e191RYfLBVbNKTIwlBi2Nh1ojLMMd3tcvA0UjAbiywEG00J+QWGjSC9rWq87rYsuG hbZEk4jM3+4hQAIa6cLDTEaQpd+kNSO+bHDQ7o8ECaJezN+BylAZ1Qu5k6haNCFZdE 0MDPCjfxXy9fHaFAxa6HCiiqyfiGCST2aXoVBLJQ= Date: Tue, 28 Jan 2014 21:12:54 +0100 From: eroen <eroen@falcon.eroen.eu> To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: emerge latest in a certain version series of a package Message-ID: <20140128211254.556662e1@falcon.eroen.eu> In-Reply-To: <52E80511.6070402@asyr.hopto.org> References: <52E80511.6070402@asyr.hopto.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/4ONEjGnHl2n1/.BLIPbuEgW"; protocol="application/pgp-signature" X-Archives-Salt: 30eb8d9a-7360-4761-b1b9-b0818762551f X-Archives-Hash: 03a0f72a97361e4b39f32fa1f33e2b4c --Sig_/4ONEjGnHl2n1/.BLIPbuEgW Content-Type: multipart/mixed; boundary="MP_/Iud03vD4cXRm3upMtaAeB5l" --MP_/Iud03vD4cXRm3upMtaAeB5l Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tue, 28 Jan 2014 21:29:21 +0200, Thanasis <thanasis@asyr.hopto.org> wrote: >Is there a way to specify that I want to install (emerge) the latest >3.10.X series of sys-kernel/gentoo-sources as a slot, in parallel with >the latest gentoo-sources? > >Currently, that would be version 3.10.28. >I know I can specify it like so, >emerge =3Dsys-kernel/gentoo-sources-3.10.28 > >but then it would not get "auto-updated" when a newer version of that >series (for example 3.10.29) becomes available in portage. Afaik there is no configuration-only way to do this, but you can make it happen by adding your own virtual ebuilds in a local overlay[1], say virtual/thanasis-sources, then adding that to world. You can make one ebuild for each kernel-series you want, each in its own slot, using the =3Dcat/pkg-3.10* syntax for RDEPEND. Find attached a (barely tested) suggestion for virtual/thanasis-sources/thanasis-sources-3.10.ebuild . One caveat, =3Dcat/pkg-3.10* also matches cat/pkg-3.107.1, which could become an issue if you wanted, say, the 3.2 series. After setting up an overlay and adding the ebuild, you can add it to world with `emerge --select virtual/thanasis-sources:3.10`. To add a different kernel series, you should only need to rename/copy the ebuild in your overlay and add the new version/slot to world. [1]: https://wiki.gentoo.org/wiki/Overlay/Local_overlay --=20 eroen --MP_/Iud03vD4cXRm3upMtaAeB5l Content-Type: application/octet-stream; name=thanasis-sources-3.10.ebuild Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=thanasis-sources-3.10.ebuild IyBDb3B5cmlnaHQgMTk5OS0yMDEzIEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk ZXI6ICQKCkVBUEk9NQoKREVTQ1JJUFRJT049IlZpcnR1YWwgZm9yIExpbnV4IGtlcm5lbCBzb3Vy Y2VzIgpIT01FUEFHRT0iIgpTUkNfVVJJPSIiCgpMSUNFTlNFPSIiClNMT1Q9IiR7UFZ9IgpLRVlX T1JEUz0ifmFtZDY0IgpJVVNFPSIiCgpSREVQRU5EPSI9c3lzLWtlcm5lbC9nZW50b28tc291cmNl cy0ke1BWfSoiCg== --MP_/Iud03vD4cXRm3upMtaAeB5l-- --Sig_/4ONEjGnHl2n1/.BLIPbuEgW Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJS6A9PAAoJELSISlJWmwxLqr8IAJ5XCT1esL3Hn+0wSlFrsG8J 8FEOa9LZ39VJn9jwT4YzDsMFzFi/C3W1lEw0LU3RiXMb1yLbf/M8FboLv/ZtQ+ha G4odulj4oF6GOimY+HrL2pha+Jik7KfPy3PvZP2d0SUG3Zx1vEcty8qTaocEmdSb werfOw0/7QtNeXw64C6YcvtgMKDqUP6Vl6Y4FV5dLu6HxzmRyw3+9IuPX/BefJPB lHwBgbPXmQE4OfwoJO8tt/epstqpE+XRR+hQPni1GNcnvID2yi1l+RCMUOAm8/3U rArAsDW9m2wdaR7lq1fPAdIvPEGKNoA2C8HbNpckNOL78GDf/owgJMA3HGAO8Mo= =xsiX -----END PGP SIGNATURE----- --Sig_/4ONEjGnHl2n1/.BLIPbuEgW--