public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-portage-dev] [PATCHES] setup.py install for Portage
  @ 2014-08-24 21:19 99%   ` Michał Górny
  0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2014-08-24 21:19 UTC (permalink / raw
  To: Brian Dolbec; +Cc: gentoo-portage-dev

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

Dnia 2014-08-24, o godz. 12:42:02
Brian Dolbec <dolsen@gentoo.org> napisał(a):

> There is breakage in catalyst runs.  
> 
> [08:26] <iamben> has anyone tried mgorny's new portage ebuild? after
> portage is emerged for stage1, it's missing /usr/lib/portage/bin/
> altogether, for me

Well, that directory is no longer used, so it's fine missing as long
as executables are where they're supposed to be ;).

> I did a search thru the catalyst code.  It is hard-coded in only 1
> place:
> 
> lines 35, 37 in stage1-controller.sh
> 
> code snipit:
> 
> 	clean)
> 		# Clean out man, info and doc files
> 		rm -rf usr/share/{man,doc,info}/*
> 		# Zap all .pyc and .pyo files
> 		find . -iname "*.py[co]" -exec rm -f {} \;
> 		# Cleanup all .a files except libgcc.a, *_nonshared.a and 
>                 # /usr/lib/portage/bin/*.a
> 		find . -type f -iname "*.a" | grep -v 'libgcc.a' | \
> 			grep -v 'nonshared.a' | grep -v	'/usr/lib/portage/bin/' | \ 
>                         grep -v 'libgcc_eh.a' | xargs rm -f
> 	;;
> 
> 	*)
> 
> Michał can you supply me a patch to fix this in catalyst and I will apply it.

It should be enough to change that path to '/usr/lib/portage/'. Though
it would generally be better to pass additional tests to find rather
than playing with grep...

-- 
Best regards,
Michał Górny

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

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-08-21 20:19     [gentoo-portage-dev] [PATCHES] setup.py install for Portage Michał Górny
2014-08-24 19:42     ` Brian Dolbec
2014-08-24 21:19 99%   ` Michał Górny

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