public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz
@ 2014-06-26 16:37 Kfir Lavi
  2014-06-26 17:46 ` Mike Pagano
  2014-06-26 19:13 ` Luis Ressel
  0 siblings, 2 replies; 4+ messages in thread
From: Kfir Lavi @ 2014-06-26 16:37 UTC (permalink / raw
  To: gentoo-dev, gentoo-user

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

Hi,
I have copied ebuild from sys-kernel/hardened-sources to my local
repository, in order to patch the sources.
I didn't change the ebuild for now, but repoman manifest does not work.
It tries to download files with extension tar.bz2 and not tar.xz.
If I delete my local copy of the ebuild, emerge will work ok from the
global portage tree.
I think bug https://bugs.gentoo.org/show_bug.cgi?id=421721
is related to my problem, as it changed the extension of tar archives from
bz2 to xz.

Maybe there is a global flag I need to specify in order to inherit gentoo
main tree behaviour?

Regards,
Kfir

[-- Attachment #2: Type: text/html, Size: 823 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz
  2014-06-26 16:37 [gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz Kfir Lavi
@ 2014-06-26 17:46 ` Mike Pagano
  2014-06-26 18:25   ` Ian Stakenvicius
  2014-06-26 19:13 ` Luis Ressel
  1 sibling, 1 reply; 4+ messages in thread
From: Mike Pagano @ 2014-06-26 17:46 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-user

On Thu, Jun 26, 2014 at 07:37:40PM +0300, Kfir Lavi wrote:
>    Hi,
>    I have copied ebuild from sys-kernel/hardened-sources to my local
>    repository, in order to patch the sources.
>    I didn't change the ebuild for now, but repoman manifest does not work.
>    It tries to download files with extension tar.bz2 and not tar.xz.
>    If I delete my local copy of the ebuild, emerge will work ok from the
>    global portage tree.
>    I think bug [1]https://bugs.gentoo.org/show_bug.cgi?id=421721
>    is related to my problem, as it changed the extension of tar archives
>    from bz2 to xz.
>    Maybe there is a global flag I need to specify in order to inherit
>    gentoo main tree behaviour?
>    Regards,
>    Kfir
> 
> References
> 
>    1. https://bugs.gentoo.org/show_bug.cgi?id=421721


Check that you are using the latest kernel-2.eclass in your local repo.

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/kernel-2.eclass?view=log
Diff to previous 1.278

Revision 1.279 - (view) (download) (annotate) - [select for diffs] 
Sat Mar 9 21:05:50 2013 UTC (15 months, 2 weeks ago) by tomwij 
Kernel sources and (gen)patches now use xz instead of bz2. Bug #421721


-- 
Mike Pagano
Gentoo Developer - Kernel Project
Gentoo Sources - Lead 
E-Mail     : mpagano@gentoo.org
GnuPG FP   : EEE2 601D 0763 B60F 848C  9E14 3C33 C650 B576 E4E3
Public Key : http://pgp.mit.edu:11371/pks/lookup?search=0xB576E4E3&op=index


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz
  2014-06-26 17:46 ` Mike Pagano
@ 2014-06-26 18:25   ` Ian Stakenvicius
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Stakenvicius @ 2014-06-26 18:25 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 26/06/14 01:46 PM, Mike Pagano wrote:
> On Thu, Jun 26, 2014 at 07:37:40PM +0300, Kfir Lavi wrote:
>> Hi, I have copied ebuild from sys-kernel/hardened-sources to my
>> local repository, in order to patch the sources. I didn't change
>> the ebuild for now, but repoman manifest does not work. It tries
>> to download files with extension tar.bz2 and not tar.xz. If I
>> delete my local copy of the ebuild, emerge will work ok from the 
>> global portage tree. I think bug
>> [1]https://bugs.gentoo.org/show_bug.cgi?id=421721 is related to
>> my problem, as it changed the extension of tar archives from bz2
>> to xz. Maybe there is a global flag I need to specify in order to
>> inherit gentoo main tree behaviour? Regards, Kfir
>> 
>> References
>> 
>> 1. https://bugs.gentoo.org/show_bug.cgi?id=421721
> 
> 
> Check that you are using the latest kernel-2.eclass in your local
> repo.
> 
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/kernel-2.eclass?view=log
>
> 
Diff to previous 1.278
> 
> Revision 1.279 - (view) (download) (annotate) - [select for diffs]
>  Sat Mar 9 21:05:50 2013 UTC (15 months, 2 weeks ago) by tomwij 
> Kernel sources and (gen)patches now use xz instead of bz2. Bug
> #421721
> 
> 


Alternatively, check that you have 'masters = gentoo' in your local
repo's metadata/layout.conf file , that will make it use the eclasses
from the main tree.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EAREIAAYFAlOsZYcACgkQ2ugaI38ACPDiZgD/dc40rYqGryAdxAZrnxMlvq0I
gsu1bNbdMgq9vkmxNcUA/3XKz+UVmL5ecGi8xBSX4iNt5mcf7F7YHrSZytxexRwG
=J/PZ
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz
  2014-06-26 16:37 [gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz Kfir Lavi
  2014-06-26 17:46 ` Mike Pagano
@ 2014-06-26 19:13 ` Luis Ressel
  1 sibling, 0 replies; 4+ messages in thread
From: Luis Ressel @ 2014-06-26 19:13 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 230 bytes --]

The kernel-2.eclass calls epatch_user, so AFAIK you don't have to
create a local ebuild copy in order to patch the kernel, just drop your
patches in /etc/portage/patches/sys-kernel/hardened-sources/.


Regards,
Luis Ressel

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-26 19:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26 16:37 [gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz Kfir Lavi
2014-06-26 17:46 ` Mike Pagano
2014-06-26 18:25   ` Ian Stakenvicius
2014-06-26 19:13 ` Luis Ressel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox