From bb3e5869efcc9dad842aae2bf07d964a438f5fd2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 31 May 2015 05:35:16 -0400 Subject: add config settings for the sdk portage BUG=b:20895978 Change-Id: I4edce5e6c17ee09cbe65798ffcb829a3573d9496 --- etc/portage/make.conf | 5 +++++ etc/portage/make.profile | 1 + etc/portage/profile/package.provided | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 etc/portage/make.conf create mode 120000 etc/portage/make.profile create mode 100644 etc/portage/profile/package.provided diff --git a/etc/portage/make.conf b/etc/portage/make.conf new file mode 100644 index 0000000..ae280f1 --- /dev/null +++ b/etc/portage/make.conf @@ -0,0 +1,5 @@ +# Disable the sandbox as we don't have it available. +FEATURES='-sandbox -usersandbox' + +# Use the paths for the running system to find tools like `mv`. +ROOTPATH="/usr/bin:/bin:/usr/sbin:/sbin" diff --git a/etc/portage/make.profile b/etc/portage/make.profile new file mode 120000 index 0000000..dad2101 --- /dev/null +++ b/etc/portage/make.profile @@ -0,0 +1 @@ +../../../chromiumos-overlay/profiles/default/linux/amd64/10.0/sdk \ No newline at end of file diff --git a/etc/portage/profile/package.provided b/etc/portage/profile/package.provided new file mode 100644 index 0000000..2d271c2 --- /dev/null +++ b/etc/portage/profile/package.provided @@ -0,0 +1,3 @@ +# We use the git eclass which wants git to build things, but we don't actually +# need it in the sysroot as it's a host tool. Stub it out. +dev-vcs/git-2 -- cgit v1.2.3