aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cross-emerge: Default to using no prefixbug_642604James Le Cuirot2019-07-091-7/+8
| | | | | | | | | | | | | | | | | | | | | | On non-prefixed systems, cross-emerge installs to /usr/${CHOST} by default. On prefixed systems, this default effectively becomes ${BROOT}/usr/${CHOST}/${BROOT}, which is unexpected and makes little sense. The first BROOT originates from the ROOT setting in the cross make.conf. The second BROOT is the prefix that Portage is configured to use by default. We therefore need to avoid the second BROOT by overriding Portage with a blank EPREFIX value. Note that a bug in Portage itself means that this is ineffective on versions before 2.3.69 but it's no worse than it was before either. For users who do want to set their own EPREFIX, the PORTAGE_CONFIGROOT default has been updated to ${SYSROOT}${EPREFIX} as the prefixed location is required for this variable. This is despite man emerge suggesting otherwise! Closes: https://bugs.gentoo.org/642604 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* cross-emerge: fix empty EPREFIX handling, bug #650100Sergei Trofimovich2018-03-241-1/+1
| | | | | | | | | | | | | | commit 21a0f5a3d83084436e6f6b66114cc5c593528866 ("cross-emerge: tweak EPREFIX handling to be POSIX sh, bug #650100") introduced a bug: $ foo-emerge foo-emerge: line 13: [: =: unary operator expected Tweak it by quoting 'test' argument. Reported-by: Marty E. Plummer Bug: https://bugs.gentoo.org/650100 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* cross-emerge: tweak EPREFIX handling to be POSIX sh, bug #650100Sergei Trofimovich2018-03-101-1/+1
| | | | | | | | | Reported and fixed by Scall. Reported-by: Scall Fixed-by: Scall Closes: https://bugs.gentoo.org/650100 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* prefixify build system and scripts.XU Benda2016-06-251-1/+6
|
* cross-emerge: handle LDFLAGS tooJoakim Tjernlund2015-07-221-2/+3
| | | | | | | BUILD_LDFLAGS was missing, add it too. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: drop automatic fakeroot usageJoakim Tjernlund2014-09-181-6/+1
| | | | | | | | | | Portage is not designed to run wrapped in fakeroot. Instead one should set FEATURES="fakeroot". Wrapping emerge with fakeroot triggers emerge to disable fakeroot. URL: https://bugs.gentoo.org/489016 URL: https://bugs.gentoo.org/523098 Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* cross-emerge: optimize/fix portageq usageMike Frysinger2011-10-121-5/+9
| | | | | | | | Only execute portageq once to speed things up, and only remove the variables we are looking up from the env. Using the -i flag makes portage very unhappy when $PATH goes missing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: lookup CBUILD with a clean envMike Frysinger2010-08-141-2/+4
| | | | | | URL: http://bugs.gentoo.org/331589 Reported-by: Juan P Daza P <tcpip4000@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* disable -q by default in git also.Ned Ludd2010-02-281-1/+1
| | | | Signed-off-by: Ned Ludd <solar@gentoo.org>
* drop $Header: markingsMike Frysinger2009-12-091-1/+0
| | | | | | These cause cross-scm comparisons a pita. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: autodetect emerge-CHOSTMike Frysinger2009-11-221-0/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: restore variable exportingMike Frysinger2009-11-221-1/+4
| | | | | Signed-off-by: Ned Ludd <solar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: export BUILD_* compiler flags for native toolsNed Ludd2009-11-221-0/+3
| | | | | Signed-off-by: Ned Ludd <solar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: lets try making --root-deps=rdeps default for a whileNed Ludd2009-11-221-1/+1
| | | | | Signed-off-by: Ned Ludd <solar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: allow generic commands to be passedNed Ludd2009-11-221-1/+2
| | | | | Signed-off-by: Ned Ludd <solar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: deduce default CHOST from $0Mike Frysinger2008-12-021-9/+16
| | | | | | Also rewrite in POSIX shell. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Initial commit to crossdev repo.Robin H. Johnson2008-06-221-0/+19