From 81921ecf6c90714ac41b69d6b2260b354a76af0f Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 4 Feb 2013 18:24:12 -0800 Subject: [PATCH] initial commit --- .../amd64-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../binhost/host/amd64-PREFLIGHT_BINHOST.conf | 1 + .../host/amd64-TOT_CHROME_BINHOST.conf | 1 + .../coreos/binhost/host/sdk_version.conf | 3 + ...-corei7-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../amd64-corei7-PREFLIGHT_BINHOST.conf | 1 + ...generic-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../amd64-generic-PREFLIGHT_BINHOST.conf | 1 + ...generic-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../target/arm-generic-PREFLIGHT_BINHOST.conf | 1 + .../coreos/binhost/target/arm.conf | 3 + .../daisy-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../tegra2-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../target/tegra2-PREFLIGHT_BINHOST.conf | 1 + ...generic-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../target/x86-generic-PREFLIGHT_BINHOST.conf | 1 + .../x86-generic-TOT_CHROME_BINHOST.conf | 1 + ...ic_aura-LATEST_RELEASE_CHROME_BINHOST.conf | 1 + .../coreos/binhost/target/x86.conf | 6 + .../coreos/config/.bash_profile | 9 + .../coreos-overlay/coreos/config/.bashrc | 26 ++ .../coreos/config/coreos_version.sh | 52 ++++ .../coreos/config/env/app-admin/sudo | 2 + .../coreos/config/env/dev-cpp/gmock | 6 + .../coreos/config/env/dev-libs/glib | 12 + .../coreos/config/env/dev-util/dialog | 7 + .../coreos/config/env/gnome-base/libglade | 8 + .../coreos/config/env/media-sound/alsa-utils | 7 + .../coreos/config/env/net-misc/openssh | 11 + .../coreos/config/env/sys-apps/baselayout | 6 + .../coreos/config/env/sys-apps/busybox | 5 + .../coreos/config/env/sys-apps/util-linux | 35 +++ .../coreos/config/env/sys-boot/grub | 14 ++ .../coreos/config/env/sys-devel/libtool | 4 + .../coreos/config/env/sys-libs/e2fsprogs-libs | 12 + .../coreos/config/make.conf.amd64-host | 63 +++++ .../coreos/config/make.conf.amd64-target | 28 +++ .../coreos/config/make.conf.arm-target | 29 +++ .../coreos/config/make.conf.common-target | 94 ++++++++ .../coreos/config/make.conf.x86-target | 29 +++ .../coreos/config/stable_versions | 2 + .../coreos-overlay/coreos/config/sudoers | 31 +++ .../coreos/scripts/build_packages | 1 + .../coreos/scripts/config_wrapper | 50 ++++ .../coreos/scripts/cros_set_lsb_release | 78 ++++++ .../coreos-overlay/coreos/scripts/setup_board | 1 + .../profiles/arch/amd64/make.defaults | 41 ++++ .../arch/amd64/no-multilib/make.defaults | 5 + .../arch/amd64/no-multilib/package.mask | 205 ++++++++++++++++ .../arch/amd64/no-multilib/package.use.mask | 16 ++ .../profiles/arch/amd64/no-multilib/parent | 1 + .../profiles/arch/amd64/no-multilib/use.mask | 21 ++ .../profiles/arch/amd64/package.use | 23 ++ .../profiles/arch/amd64/package.use.force | 11 + .../profiles/arch/amd64/package.use.mask | 154 ++++++++++++ .../coreos-overlay/profiles/arch/amd64/parent | 2 + .../profiles/arch/amd64/profile.bashrc | 38 +++ .../profiles/arch/amd64/use.force | 2 + .../profiles/arch/amd64/use.mask | 138 +++++++++++ .../profiles/arch/amd64/x32/make.defaults | 11 + .../profiles/arch/amd64/x32/package.keywords | 9 + .../profiles/arch/amd64/x32/package.mask | 11 + .../profiles/arch/amd64/x32/package.unmask | 5 + .../profiles/arch/amd64/x32/package.use.mask | 10 + .../profiles/arch/amd64/x32/packages | 12 + .../profiles/arch/amd64/x32/parent | 3 + .../profiles/arch/arm/make.defaults | 13 + .../profiles/arch/arm/package.use.mask | 30 +++ .../coreos-overlay/profiles/arch/arm/packages | 7 + .../coreos-overlay/profiles/arch/arm/parent | 1 + .../profiles/arch/arm/use.force | 2 + .../coreos-overlay/profiles/arch/arm/use.mask | 156 ++++++++++++ .../profiles/arch/base/use.mask | 17 ++ .../profiles/arch/x86/make.defaults | 21 ++ .../profiles/arch/x86/package.mask | 7 + .../profiles/arch/x86/package.use | 2 + .../profiles/arch/x86/package.use.mask | 41 ++++ .../coreos-overlay/profiles/arch/x86/packages | 14 ++ .../coreos-overlay/profiles/arch/x86/parent | 1 + .../profiles/arch/x86/profile.bashrc | 50 ++++ .../profiles/arch/x86/use.force | 2 + .../coreos-overlay/profiles/arch/x86/use.mask | 105 ++++++++ .../profiles/base/make.defaults | 140 +++++++++++ .../profiles/base/package.unmask | 4 + .../profiles/base/package.use.force | 13 + .../profiles/base/package.use.mask | 166 +++++++++++++ .../profiles/base/package.use.mask.example | 25 ++ .../coreos-overlay/profiles/base/packages | 75 ++++++ .../profiles/base/profile.bashrc | 114 +++++++++ .../coreos-overlay/profiles/base/use.force | 9 + .../coreos-overlay/profiles/base/use.mask | 225 ++++++++++++++++++ .../coreos-overlay/profiles/categories | 154 ++++++++++++ .../linux/amd64/10.0/chromeos/package.use | 14 ++ .../default/linux/amd64/10.0/chromeos/parent | 2 + .../linux/amd64/10.0/chromeos/use.force | 2 + .../linux/amd64/10.0/chromeos/x32/package.use | 1 + .../linux/amd64/10.0/chromeos/x32/parent | 3 + .../linux/amd64/10.0/chromeos/x32/use.force | 1 + .../default/linux/amd64/10.0/desktop/parent | 2 + .../default/linux/amd64/10.0/developer/parent | 2 + .../profiles/default/linux/amd64/10.0/eapi | 1 + .../default/linux/amd64/10.0/make.defaults | 13 + .../linux/amd64/10.0/no-multilib/parent | 3 + .../profiles/default/linux/amd64/10.0/parent | 2 + .../default/linux/amd64/10.0/server/parent | 2 + .../linux/amd64/10.0/server/profile.bashrc | 21 ++ .../profiles/default/linux/amd64/parent | 3 + .../default/linux/arm/10.0/chromeos/parent | 2 + .../default/linux/arm/10.0/desktop/parent | 2 + .../default/linux/arm/10.0/developer/parent | 2 + .../profiles/default/linux/arm/10.0/eapi | 1 + .../profiles/default/linux/arm/10.0/parent | 2 + .../default/linux/arm/10.0/server/parent | 2 + .../profiles/default/linux/arm/parent | 3 + .../profiles/default/linux/make.defaults | 50 ++++ .../profiles/default/linux/package.keywords | 49 ++++ .../profiles/default/linux/package.mask | 17 ++ .../profiles/default/linux/package.provided | 7 + .../profiles/default/linux/package.use | 48 ++++ .../profiles/default/linux/package.use.mask | 51 ++++ .../profiles/default/linux/packages | 14 ++ .../profiles/default/linux/packages.build | 42 ++++ .../profiles/default/linux/use.mask | 14 ++ .../default/linux/x86/10.0/chromeos/parent | 2 + .../default/linux/x86/10.0/desktop/parent | 2 + .../default/linux/x86/10.0/developer/parent | 2 + .../profiles/default/linux/x86/10.0/eapi | 1 + .../profiles/default/linux/x86/10.0/parent | 2 + .../default/linux/x86/10.0/server/parent | 2 + .../linux/x86/10.0/server/profile.bashrc | 21 ++ .../profiles/default/linux/x86/parent | 3 + .../features/64bit-native/make.defaults | 13 + .../features/64bit-native/package.mask | 177 ++++++++++++++ .../features/64bit-native/package.use.mask | 7 + .../features/64bit-native/profile.bashrc | 18 ++ .../profiles/features/64bit-native/use.force | 2 + .../profiles/features/64bit-native/use.mask | 25 ++ .../profiles/features/kernel-next/package.use | 2 + .../features/multilib/lib32/make.defaults | 13 + .../profiles/features/multilib/lib32/parent | 1 + .../profiles/features/multilib/make.defaults | 33 +++ .../features/multilib/package.use.mask | 8 + .../profiles/features/multilib/use.force | 2 + .../profiles/features/multilib/use.mask | 9 + .../coreos-overlay/profiles/license_groups | 7 + .../profiles/releases/10.0/eapi | 1 + .../profiles/releases/10.0/make.defaults | 6 + .../profiles/releases/10.0/packages | 17 ++ .../profiles/releases/10.0/parent | 1 + .../profiles/releases/make.defaults | 7 + .../coreos-overlay/profiles/repo_name | 1 + .../profiles/targets/chromeos/make.defaults | 9 + .../targets/chromeos/package.keywords | 125 ++++++++++ .../profiles/targets/chromeos/package.mask | 45 ++++ .../targets/chromeos/package.provided | 91 +++++++ .../profiles/targets/chromeos/package.unmask | 4 + .../profiles/targets/chromeos/package.use | 74 ++++++ .../targets/chromeos/package.use.mask | 26 ++ .../profiles/targets/chromeos/profile.bashrc | 27 +++ .../profiles/targets/chromeos/virtuals | 2 + .../coreos-overlay/profiles/updates/1Q-2012 | 3 + .../coreos-overlay/profiles/updates/2Q-2012 | 1 + .../coreos-overlay/profiles/updates/4Q-2011 | 7 + 163 files changed, 3939 insertions(+) create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-PREFLIGHT_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-TOT_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/sdk_version.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-PREFLIGHT_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-PREFLIGHT_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-PREFLIGHT_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/daisy-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-PREFLIGHT_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-PREFLIGHT_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-TOT_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic_aura-LATEST_RELEASE_CHROME_BINHOST.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/.bash_profile create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/.bashrc create mode 100755 sdk_container/src/third_party/coreos-overlay/coreos/config/coreos_version.sh create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-admin/sudo create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-cpp/gmock create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-libs/glib create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-util/dialog create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/gnome-base/libglade create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/media-sound/alsa-utils create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-misc/openssh create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/baselayout create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/busybox create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/util-linux create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-boot/grub create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-devel/libtool create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/e2fsprogs-libs create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-target create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.arm-target create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.common-target create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.x86-target create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/stable_versions create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/sudoers create mode 120000 sdk_container/src/third_party/coreos-overlay/coreos/scripts/build_packages create mode 100755 sdk_container/src/third_party/coreos-overlay/coreos/scripts/config_wrapper create mode 100755 sdk_container/src/third_party/coreos-overlay/coreos/scripts/cros_set_lsb_release create mode 120000 sdk_container/src/third_party/coreos-overlay/coreos/scripts/setup_board create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/package.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/profile.bashrc create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.keywords create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.unmask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/packages create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/packages create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/base/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/packages create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/profile.bashrc create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/package.unmask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask.example create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/packages create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/profile.bashrc create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/base/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/categories create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/package.use create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/use.force create mode 120000 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/package.use create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/parent create mode 120000 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/desktop/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/developer/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/eapi create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/no-multilib/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/profile.bashrc create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/chromeos/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/desktop/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/developer/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/eapi create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/server/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.keywords create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.provided create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.use create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages.build create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/chromeos/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/desktop/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/developer/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/eapi create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/profile.bashrc create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/package.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/profile.bashrc create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/kernel-next/package.use create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.force create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/license_groups create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/eapi create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/packages create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/parent create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/releases/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/repo_name create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/make.defaults create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.keywords create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.provided create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.unmask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use.mask create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/profile.bashrc create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/virtuals create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/updates/2Q-2012 create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/updates/4Q-2011 diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..12364a8a0c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST=http://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/chrome-27.05.11.033811/packages/ diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-PREFLIGHT_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-PREFLIGHT_BINHOST.conf new file mode 100644 index 0000000000..45ade49817 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-PREFLIGHT_BINHOST.conf @@ -0,0 +1 @@ +PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/amd64-generic/paladin-R26-3659.0.0-rc7/packages/ https://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/x86-generic/paladin-R26-3659.0.0-rc7/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-TOT_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-TOT_CHROME_BINHOST.conf new file mode 100644 index 0000000000..c03d854246 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/amd64-TOT_CHROME_BINHOST.conf @@ -0,0 +1 @@ +TOT_CHROME_BINHOST="http://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/chrome-26.05.11.214444/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/sdk_version.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/sdk_version.conf new file mode 100644 index 0000000000..d5c69d01fb --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/host/sdk_version.conf @@ -0,0 +1,3 @@ +SDK_LATEST_VERSION="2013.02.04.090227" +BOOTSTRAP_LATEST_VERSION="20130130" +TC_PATH="2013/02/%(target)s-2013.02.04.090227.tar.xz" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..8d76bcd7b5 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-corei7/chrome-1738.0.0-rc1/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-PREFLIGHT_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-PREFLIGHT_BINHOST.conf new file mode 100644 index 0000000000..1dc624f430 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-corei7-PREFLIGHT_BINHOST.conf @@ -0,0 +1 @@ +PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-corei7/paladin-1742.0.0-rc8/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..8052a5645c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-generic/chrome-R26-3659.0.0-rc1/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-PREFLIGHT_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-PREFLIGHT_BINHOST.conf new file mode 100644 index 0000000000..102b6f915a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/amd64-generic-PREFLIGHT_BINHOST.conf @@ -0,0 +1 @@ +PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-generic/paladin-R26-3659.0.0-rc7/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..2baa44d596 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/arm-generic/chrome-1415.0.0-rc1/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-PREFLIGHT_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-PREFLIGHT_BINHOST.conf new file mode 100644 index 0000000000..efacf05304 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm-generic-PREFLIGHT_BINHOST.conf @@ -0,0 +1 @@ +PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/arm-generic/binary-1415.0.0-rc7/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm.conf new file mode 100644 index 0000000000..0fe0aee273 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/arm.conf @@ -0,0 +1,3 @@ +# Deprecated. TODO(davidjames): Remove this file once everybody has run +# build_packages. +PORTAGE_BINHOST="$PORTAGE_BINHOST $FULL_BINHOST" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/daisy-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/daisy-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..7310a20c7c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/daisy-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/daisy/chrome-R26-3659.0.0-rc1/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..1daf254955 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/tegra2/chrome-R23-2768.0.0-rc2/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-PREFLIGHT_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-PREFLIGHT_BINHOST.conf new file mode 100644 index 0000000000..2dc36b6dc7 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/tegra2-PREFLIGHT_BINHOST.conf @@ -0,0 +1 @@ +PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/tegra2/paladin-R23-2768.0.0-rc8/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..c2fab2fe43 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic/chrome-R26-3659.0.0-rc1/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-PREFLIGHT_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-PREFLIGHT_BINHOST.conf new file mode 100644 index 0000000000..a8f3af4377 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-PREFLIGHT_BINHOST.conf @@ -0,0 +1 @@ +PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic/paladin-R26-3659.0.0-rc7/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-TOT_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-TOT_CHROME_BINHOST.conf new file mode 100644 index 0000000000..563d041f49 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic-TOT_CHROME_BINHOST.conf @@ -0,0 +1 @@ +TOT_CHROME_BINHOST="http://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic/chrome-14.09.11.105729/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic_aura-LATEST_RELEASE_CHROME_BINHOST.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic_aura-LATEST_RELEASE_CHROME_BINHOST.conf new file mode 100644 index 0000000000..cbdf29574a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86-generic_aura-LATEST_RELEASE_CHROME_BINHOST.conf @@ -0,0 +1 @@ +LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic_aura/chrome-1713.0.0-rc3/packages/" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86.conf b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86.conf new file mode 100644 index 0000000000..0a397acabb --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/binhost/target/x86.conf @@ -0,0 +1,6 @@ +# Deprecated. TODO(davidjames): Remove this file once everybody has run +# build_packages. +source x86-generic-LATEST_RELEASE_CHROME_BINHOST.conf +source x86-generic-PREFLIGHT_BINHOST.conf +PORTAGE_BINHOST="$PORTAGE_BINHOST $PREFLIGHT_BINHOST $FULL_BINHOST" +PORTAGE_BINHOST="$PORTAGE_BINHOST $LATEST_RELEASE_CHROME_BINHOST" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/.bash_profile b/sdk_container/src/third_party/coreos-overlay/coreos/config/.bash_profile new file mode 100644 index 0000000000..2da80632aa --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/.bash_profile @@ -0,0 +1,9 @@ +# /etc/skel/.bash_profile + +# This file is sourced by bash for login shells. The following line +# runs your .bashrc and is recommended by the bash info pages. +[[ -f ~/.bashrc ]] && . ~/.bashrc + +# Chromium OS build environment settings +export CROS_WORKON_SRCROOT="/home/${USER}/trunk" +export PORTAGE_USERNAME="${USER}" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/.bashrc b/sdk_container/src/third_party/coreos-overlay/coreos/config/.bashrc new file mode 100644 index 0000000000..7cd730a2a1 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/.bashrc @@ -0,0 +1,26 @@ +# /etc/skel/.bashrc +# +# This file is sourced by all *interactive* bash shells on startup, +# including some apparently interactive shells such as scp and rcp +# that can't tolerate any output. So make sure this doesn't display +# anything or bad things will happen ! + + +# Test for an interactive shell. There is no need to set anything +# past this point for scp and rcp, and it's important to refrain from +# outputting anything in those cases. +if [[ $- != *i* ]] ; then + # Shell is non-interactive. Be done now! + return +fi + + +# Chromium OS interactive shell settings + +# Settings necessary for both users and automation belong in bash_profile, +# while user-specific and site-specific settings belong in ~/.cros_chrootrc +# outside the chroot. + +export PS1="(cros-chroot) ${PS1}" +[[ -f /usr/share/crosutils/bash_completion ]] && + . /usr/share/crosutils/bash_completion diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/coreos_version.sh b/sdk_container/src/third_party/coreos-overlay/coreos/config/coreos_version.sh new file mode 100755 index 0000000000..caaba1ce47 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/coreos_version.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# ChromeOS version information +# +# This file is usually sourced by other build scripts, but can be run +# directly to see what it would do. + +############################################################################# +# SET VERSION NUMBERS +############################################################################# +# Release Build number. +# Increment by 1 for every release build. +export CHROMEOS_BUILD=3659 + +# Release Branch number. +# Increment by 1 for every release build on a branch. +# Reset to 0 when increasing release build number. +export CHROMEOS_BRANCH=0 + +# Patch number. +# Increment by 1 in case a non-scheduled branch release build is necessary. +# Reset to 0 when increasing branch number. +export CHROMEOS_PATCH=0 + +# Major version for Chrome. +export CHROME_BRANCH=26 + +# Official builds must set CHROMEOS_OFFICIAL=1. +if [ ${CHROMEOS_OFFICIAL:-0} -ne 1 ] && [ "${USER}" != "chrome-bot" ]; then + # For developer builds, overwrite CHROMEOS_VERSION_PATCH with a date string + # for use by auto-updater. + export CHROMEOS_PATCH=$(date +%Y_%m_%d_%H%M) +fi + +# Version string. Not indentied to appease bash. +export CHROMEOS_VERSION_STRING=\ +"${CHROMEOS_BUILD}.${CHROMEOS_BRANCH}"\ +".${CHROMEOS_PATCH}" + +# Set CHROME values (Used for releases) to pass to chromeos-chrome-bin ebuild +# URL to chrome archive +export CHROME_BASE= +# export CHROME_VERSION from incoming value or NULL and let ebuild default +export CHROME_VERSION="$CHROME_VERSION" + +# Print (and remember) version info. +echo "ChromeOS version information:" +env | egrep '^CHROMEOS_VERSION|CHROME_' | sed 's/^/ /' diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-admin/sudo b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-admin/sudo new file mode 100644 index 0000000000..992679bc6b --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-admin/sudo @@ -0,0 +1,2 @@ +PKG_INSTALL_MASK+=" /etc/pam.d/sudo" +INSTALL_MASK+=" /etc/pam.d/sudo" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-cpp/gmock b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-cpp/gmock new file mode 100644 index 0000000000..4b1016e9cc --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-cpp/gmock @@ -0,0 +1,6 @@ +# The autoconf code needs to be migrated from AC_PATH_PROG to +# AC_PATH_TOOL. http://code.google.com/p/googlemock/issues/detail?id=150 +cros_pre_src_configure_gtest_config() { + [[ $(cros_target) != "board_sysroot" ]] && return 0 + export ac_cv_path_GTEST_CONFIG=${CROS_BUILD_BOARD_BIN}/${CHOST}-gtest-config +} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-libs/glib b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-libs/glib new file mode 100644 index 0000000000..e4c0bc402a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-libs/glib @@ -0,0 +1,12 @@ +export glib_cv_have_qsort_r=yes + +# The following ac_cv_alignof_* work around an issue in AC_CHECK_ALIGNOF, +# which fails under cross-compilation with newer gcc. +# See http://lists.gnu.org/archive/html/bug-autoconf/2012-09/msg00001.html +# for more details. +# +# TODO(benchan,vapier): Remove the workaround after the AC_CHECK_ALIGNOF +# issue is fixed. +export ac_cv_alignof_guint32=4 +export ac_cv_alignof_guint64=8 +export ac_cv_alignof_unsigned_long=8 diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-util/dialog b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-util/dialog new file mode 100644 index 0000000000..299e72433e --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/dev-util/dialog @@ -0,0 +1,7 @@ +# The CF_NCURSES_CONFIG m4 helper from ncurses needs to be migrated from +# AC_PATH_PROGS to AC_CHECK_TOOLS. But that'll take a while to filter +# throughout the ecosystem ... +cros_pre_src_configure_ncurses_config() { + [[ $(cros_target) != "board_sysroot" ]] && return 0 + export ac_cv_path_NCURSES_CONFIG=${CROS_BUILD_BOARD_BIN}/${CHOST}-ncurses5-config +} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/gnome-base/libglade b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/gnome-base/libglade new file mode 100644 index 0000000000..d71cedaa42 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/gnome-base/libglade @@ -0,0 +1,8 @@ +# The libglade code is old and uses a pkg-config search which +# does not respect --host, so force it ourselves. +export ac_cv_path_PKG_CONFIG=${PKG_CONFIG} + +# The current version of pango is old and does not build w/out +# the deprecated glib macros, so make sure we undo that when +# building glade. +export CPPFLAGS+=" -UG_DISABLE_DEPRECATED" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/media-sound/alsa-utils b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/media-sound/alsa-utils new file mode 100644 index 0000000000..33acac24ed --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/media-sound/alsa-utils @@ -0,0 +1,7 @@ +# ncurses5_config needs to be set for cross compiling on arm +# Version 1.0.26 should use pkg-config for ncurses, so we can +# drop this workaround when we upgrade. +cros_pre_src_configure_ncurses_config() { + [[ $(cros_target) != "board_sysroot" ]] && return 0 + export ncurses5_config=${ROOT}usr/bin/ncurses5-config +} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-misc/openssh b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-misc/openssh new file mode 100644 index 0000000000..f2b6e78792 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/net-misc/openssh @@ -0,0 +1,11 @@ +# We install these with our chromeos-base package. +if [[ $(cros_target) != "cros_host" ]] ; then + openssh_mask=" + /etc/ssh/ssh_config + /etc/ssh/sshd_config + /usr/lib*/misc/ssh-keysign + " + PKG_INSTALL_MASK+=" ${openssh_mask}" + INSTALL_MASK+=" ${openssh_mask}" + unset openssh_mask +fi diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/baselayout b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/baselayout new file mode 100644 index 0000000000..9b6472384e --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/baselayout @@ -0,0 +1,6 @@ +PKG_INSTALL_MASK+=" /etc/sysctl.conf" +INSTALL_MASK+=" /etc/sysctl.conf" + +# Don't filter out /etc/init.d/functions.sh +PKG_INSTALL_MASK=${PKG_INSTALL_MASK/\/etc\/init.d} +INSTALL_MASK=${INSTALL_MASK/\/etc\/init.d} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/busybox b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/busybox new file mode 100644 index 0000000000..e02063bc6f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/busybox @@ -0,0 +1,5 @@ +# savedconfig by default saves the currently generated config into +# /etc/portage/savedconfig. However we want to avoid placing it here +# so that every re-emerge will pick up the configs from +# chromeos-base/busybox-config +INSTALL_MASK+=" /etc/portage/savedconfig" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/util-linux b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/util-linux new file mode 100644 index 0000000000..cfe4f9605d --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-apps/util-linux @@ -0,0 +1,35 @@ +# Punt setarch as we don't use it anywhere. +util_linux_mask=" + /usr/bin/i386 + /usr/bin/x86_64 + /usr/bin/linux32 + /usr/bin/linux64 + /usr/bin/setarch +" + +# Punt support for filesystems we don't care about. +util_linux_mask+=" + /sbin/fsck.bfs + /sbin/fsck.cramfs + /sbin/fsck.minix + /sbin/mkfs.bfs + /sbin/mkfs.cramfs + /sbin/mkfs.minix +" + +# Punt esoteric programs. +util_linux_mask+=" + /sbin/raw + /usr/bin/cytune + /usr/bin/ddate + /usr/bin/isosize + /usr/sbin/fdformat + /usr/sbin/tunelp +" + +if [[ $(cros_target) != "cros_host" ]] ; then + util_linux_mask+=" /usr/bin/unshare" +fi + +PKG_INSTALL_MASK+=" ${util_linux_mask}" +INSTALL_MASK+=" ${util_linux_mask}" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-boot/grub b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-boot/grub new file mode 100644 index 0000000000..97fb8b8383 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-boot/grub @@ -0,0 +1,14 @@ +PKG_INSTALL_MASK+=" /etc/grub.d/00_header + /etc/grub.d/10_linux + /etc/grub.d/30_os-prober + /etc/grub.d/40_custom + /etc/grub.d/README + /lib64/grub/grub-mkconfig_lib + /lib64/grub/update-grub_lib" +INSTALL_MASK+=" /etc/grub.d/00_header + /etc/grub.d/10_linux + /etc/grub.d/30_os-prober + /etc/grub.d/40_custom + /etc/grub.d/README + /lib64/grub/grub-mkconfig_lib + /lib64/grub/update-grub_lib" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-devel/libtool b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-devel/libtool new file mode 100644 index 0000000000..47d205fa5f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-devel/libtool @@ -0,0 +1,4 @@ +# Remove the *.la masking since libtool's autoconf detection code +# relies on its existence. +INSTALL_MASK=${INSTALL_MASK/\/usr\/lib\*\/\*.la} +PKG_INSTALL_MASK=${PKG_INSTALL_MASK/\/usr\/lib\*\/\*.la} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/e2fsprogs-libs b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/e2fsprogs-libs new file mode 100644 index 0000000000..b312ac96b1 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/e2fsprogs-libs @@ -0,0 +1,12 @@ +# Remove all the build-time helpers leaving just the libraries. +# Not like we can execute them anyways for the target. +if [[ $(cros_target) != "cros_host" ]] ; then + e2fsprogs_mask=" + /usr/bin + /usr/share/et + /usr/share/ss + " + PKG_INSTALL_MASK+=" ${e2fsprogs_mask}" + INSTALL_MASK+=" ${e2fsprogs_mask}" + unset e2fsprogs_mask +fi diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host new file mode 100644 index 0000000000..fdf7b81239 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host @@ -0,0 +1,63 @@ +# See "man make.conf" for the available options. + +ACCEPT_KEYWORDS="amd64" +CHOST="x86_64-pc-linux-gnu" +CFLAGS="-O2 -pipe" +LDFLAGS="-Wl,-O2 -Wl,--as-needed" +FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect + -ebuild-locks parallel-install sandbox -strict userfetch userpriv + usersandbox -unknown-features-warn" + +# Since our portage comes from version control, we redirect distfiles +DISTDIR="/var/lib/portage/distfiles" + +PORTDIR="/usr/local/portage/stable" + +# We initialize PORTDIR_OVERLAY here to clobber any redefinitions elsewhere. +# This has to be the first overlay so crossdev finds the correct gcc and +# glibc ebuilds. +PORTDIR_OVERLAY=" + /usr/local/portage/crossdev + /usr/local/portage/coreos +" + +# Adding packages to the @world set causes people more trouble than it's +# worth in our setup -- we rarely have people add custom packages outside +# of the ChromiumOS set. You can use "--select" to override this. +EMERGE_DEFAULT_OPTS="--oneshot" + +# Use parallel bzip2 for portage if available +PORTAGE_BZIP2_COMMAND="pbzip2" +PORTAGE_BUNZIP2_COMMAND="pbunzip2 --ignore-trailing-garbage=1" + +# Where to store built packages. +PKGDIR="/var/lib/portage/pkgs" + +PORT_LOGDIR="/var/log/portage" + +source /usr/local/portage/coreos/coreos/binhost/host/amd64-PREFLIGHT_BINHOST.conf +FULL_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/amd64-host/chroot-2013.02.04.090227/packages/" +PORTAGE_BINHOST="$PREFLIGHT_BINHOST $FULL_BINHOST" + +# expat needed for XML parsing in GDB, but enable globally as overhead is tiny. +USE="${USE} -cups hardened cros_host multilib pic pie -introspection expat" + +GENTOO_MIRRORS="https://commondatastorage.googleapis.com/chromeos-localmirror" +GENTOO_MIRRORS="$GENTOO_MIRRORS https://commondatastorage.googleapis.com/chromeos-mirror/gentoo" + +# Remove all .la files for non-plugin libraries. +# Remove Gentoo init files since we use upstart. +# Remove logrotate.d files since we don't use logrotate. +INSTALL_MASK=" + /usr/lib*/*.la + /etc/init.d /etc/conf.d + /etc/logrotate.d +" +PKG_INSTALL_MASK="${INSTALL_MASK}" + +# This is used by profiles/base/profile.bashrc to figure out that we +# are targeting the cros-sdk (in all its various modes). It should +# be utilized nowhere else! +CROS_SDK_HOST="cros-sdk-host" + +source make.conf.host_setup diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-target b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-target new file mode 100644 index 0000000000..5c8182811b --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-target @@ -0,0 +1,28 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] } +source make.conf.board_setup + +ACCEPT_KEYWORDS="amd64" + +# Common settings across all board targets. +source make.conf.common + +# Recommended x86-specific USE flags. +USE="${USE} mmx sse sse2 dri hardened" + +# Recommended MARCH_TUNE, CFLAGS, etc. +MARCH_TUNE="" + +VIDEO_CARDS="intel vesa" +INPUT_DEVICES="evdev synaptics cmt" + +# Allow a board to override or define additional settings. +source make.conf.board +CFLAGS="-O2 -pipe ${MARCH_TUNE} -g" +CXXFLAGS="${CFLAGS}" + +# Allow the user to override or define additional settings. +source make.conf.user diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.arm-target b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.arm-target new file mode 100644 index 0000000000..770367157c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.arm-target @@ -0,0 +1,29 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] } +source make.conf.board_setup + +E_MACHINE=EM_ARM +ARCH=arm + +# Common settings across all board targets. +source make.conf.common + +# Recommended arm-specific USE flags. +USE="${USE} hardened" + +# Recommended MARCH_TUNE, CFLAGS, etc. +MARCH_TUNE="" + +VIDEO_CARDS="fbdev" +INPUT_DEVICES="evdev cmt" + +# Allow a board to override or define additional settings. +source make.conf.board +CFLAGS="-O2 -pipe ${MARCH_TUNE} -g" +CXXFLAGS="${CFLAGS}" + +# Allow the user to override or define additional settings. +source make.conf.user diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.common-target b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.common-target new file mode 100644 index 0000000000..63e3875ee3 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.common-target @@ -0,0 +1,94 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# NOTE: This assumes that the following have already been defined: +# { ROOT, ARCH, CHOST, [BOARD_OVERLAY] } + +# TODO: This will have to come from somewhere else when we support a 32-bit +# build host environment. +CBUILD=x86_64-pc-linux-gnu +HOSTCC=x86_64-pc-linux-gnu-gcc + +LDFLAGS="-Wl,-O2 -Wl,--as-needed" + +ACCEPT_KEYWORDS="${ARCH}" +USE="${ARCH} zlib bindist cros-debug -introspection cmt" + +# Be sure we don't overwrite pkgs from another sysroot. +PKGDIR=${ROOT}packages/ +PORTAGE_TMPDIR=${ROOT}tmp/ + +PORT_LOGDIR=${ROOT}tmp/portage/logs/ + +FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect + -ebuild-locks force-mirror nodoc noinfo noman parallel-install + sandbox splitdebug -strict userfetch userpriv usersandbox + -unknown-features-warn" + +PORTAGE_WORKDIR_MODE="0755" +PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/:${ROOT}usr/share/pkgconfig/" +ELIBC="glibc" + +PORTDIR="/usr/local/portage/stable" + +PORTDIR_OVERLAY=" + /usr/local/portage/coreos + ${BOARD_OVERLAY} +" + +# Adding packages to the @world set causes people more trouble than it's +# worth in our setup -- we rarely have people add custom packages outside +# of the ChromiumOS set. You can use "--select" to override this. +EMERGE_DEFAULT_OPTS="--oneshot" + +# Use parallel bzip2 for portage if available +PORTAGE_BZIP2_COMMAND="pbzip2" +PORTAGE_BUNZIP2_COMMAND="pbunzip2 --ignore-trailing-garbage=1" + +FETCHCOMMAND_GS="bash -c 'BOTO_CONFIG=/home/\${PORTAGE_USERNAME}/.boto gsutil cp \"${URI}\" \"${DISTDIR}/${FILE}\"'" +RESUMECOMMAND_GS="bash -c 'BOTO_CONFIG=/home/\${PORTAGE_USERNAME}/.boto gsutil cp \"${URI}\" \"${DISTDIR}/${FILE}\"'" + +FETCHCOMMAND='curl -y 30 -f --retry 9 -L --output \${DISTDIR}/\${FILE} \${URI}' +RESUMECOMMAND='curl -y 30 -f -C - --retry 9 -L --output \${DISTDIR}/\${FILE} \${URI}' + +# Print a checkpoint message every 10MB while archiving. +PORTAGE_BINPKG_TAR_OPTS="--checkpoint=1000" + +# Since our portage comes from version control, we redirect distfiles. +DISTDIR="/var/lib/portage/distfiles-target" + +# Our chromium mirror should be more stable since we won't discard packages. +GENTOO_MIRRORS="https://commondatastorage.googleapis.com/chromeos-localmirror" +GENTOO_MIRRORS="$GENTOO_MIRRORS https://commondatastorage.googleapis.com/chromeos-mirror/gentoo" + +# Username and home directory of the shared user. +SHARED_USER_NAME="chronos" +SHARED_USER_HOME="/home/chronos/user" +SHARED_USER_PASSWD_FILE="/etc/shared_user_passwd.txt" + +# the AC_FUNC_WAIT3 macro uses runtime-checks for the function, which +# doesn't work when cross-compiling; we know that our targets have it, +# so let's tell about it to autoconf. — Flameeyes +ac_cv_func_wait3_rusage=yes + +# When building packages for the target, we need to search the target's +# sysroot for additional m4 files. The autotools.eclass uses this. +AT_SYS_M4DIR="\${SYSROOT}/usr/share/aclocal" + +# Native language support is handled inside Chrome itself. +LINGUAS="en" + +# Remove all .la files for non-plugin libraries. +# Remove Gentoo init files since we use upstart. +# Remove logrotate.d files since we don't use logrotate. +# Remove sandbox files since we don't use that in the sysroot. +# Remove bash-completion files as we don't install bash-completion. +INSTALL_MASK=" + /usr/lib*/*.la + /etc/init.d /etc/conf.d + /etc/logrotate.d + /etc/sandbox.d + /usr/share/bash-completion +" +PKG_INSTALL_MASK="${INSTALL_MASK}" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.x86-target b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.x86-target new file mode 100644 index 0000000000..16f0c0e187 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.x86-target @@ -0,0 +1,29 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] } +source make.conf.board_setup + +# E_MACHINE=EM_X86 <- TODO: Some builds use EM_386 so comment this for now. +ARCH=x86 + +# Common settings across all board targets. +source make.conf.common + +# Recommended x86-specific USE flags. +USE="${USE} mmx sse sse2 dri hardened" + +# Recommended MARCH_TUNE, CFLAGS, etc. +MARCH_TUNE="-march=atom -mtune=atom -mfpmath=sse" + +VIDEO_CARDS="intel vesa" +INPUT_DEVICES="evdev synaptics cmt" + +# Allow a board to override or define additional settings. +source make.conf.board +CFLAGS="-O2 -pipe ${MARCH_TUNE} -g" +CXXFLAGS="${CFLAGS}" + +# Allow the user to override or define additional settings. +source make.conf.user diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/stable_versions b/sdk_container/src/third_party/coreos-overlay/coreos/config/stable_versions new file mode 100644 index 0000000000..5ae0d04dd0 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/stable_versions @@ -0,0 +1,2 @@ +stage 20100309/stage3-amd64-20100309.tar.bz2 +portage portage-20100310.tar.bz2 diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/sudoers b/sdk_container/src/third_party/coreos-overlay/coreos/config/sudoers new file mode 100644 index 0000000000..4fdbf04231 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/sudoers @@ -0,0 +1,31 @@ +# sudoers file. +# +# This file MUST be edited with the 'visudo' command as root. +# Failure to use 'visudo' may result in syntax or file permission errors +# that prevent sudo from running. +# +# See the sudoers man page for the details on how to write a sudoers file. +# + +# Host alias specification + +# User alias specification + +# Cmnd alias specification + +# Defaults specification + +# Runas alias specification + +# User privilege specification +root ALL=(ALL) ALL + +# Uncomment to allow people in group wheel to run all commands +# %wheel ALL=(ALL) ALL + +# Same thing without a password +%wheel ALL=(ALL) NOPASSWD: ALL + +# Samples +# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom +# %users localhost=/sbin/shutdown -h now diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/scripts/build_packages b/sdk_container/src/third_party/coreos-overlay/coreos/scripts/build_packages new file mode 120000 index 0000000000..c43c4e9b0c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/scripts/build_packages @@ -0,0 +1 @@ +../../../../scripts/build_packages \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/scripts/config_wrapper b/sdk_container/src/third_party/coreos-overlay/coreos/scripts/config_wrapper new file mode 100755 index 0000000000..921bbd03ff --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/scripts/config_wrapper @@ -0,0 +1,50 @@ +#!/bin/bash +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Wrap all the old style config scripts. + +# We'll be working with the env: +# argv[0]: armv7a-cros-linux-gnueabi-ncurses5-config +# CHOST: armv7a-cros-linux-gnueabi +# SYSROOT: /build/arm-generic +# See if there's a wrapper in the SYSROOT for us to execute, let's do +# that, and then filter the output for any -I/-L paths that'd screw us up. + +wrap=${0##*/} + +if [[ -z ${CHOST} ]] ; then + # Let's figure out the answer from $0. Do it piece by piece as + # we cannot assume the number of components in the target tuple + # or in the config script name. Tuples can have 1, 2, 3, or 4 + # components, and config scripts can have as many as they want + # (although most of the time, it's just 2). + parts=( ${wrap//-/ } ) + i=$(( ${#parts[@]} - 1 )) + cfg=${parts[${i}]} + while [[ $(( --i )) -ge 0 ]] ; do + cfg="${parts[${i}]}-${cfg}" + if [[ -e ${SYSROOT}/usr/bin/${cfg} ]] ; then + CHOST=${wrap%-${cfg}} + type -P ${CHOST}-gcc >/dev/null && break + unset CHOST + fi + done +else + cfg=${wrap#${CHOST}-} +fi + +if [[ -z ${CHOST} ]] || [[ -z ${SYSROOT} ]] ; then + echo "${wrap}: please set CHOST/SYSROOT in the env" 1>&2 + exit 1 +fi + +PATH="${SYSROOT}/usr/bin:${PATH}" + +# Some wrappers will dynamically figure out where they're being run from, +# and then output a full path -I/-L path based on that. So we trim any +# expanded sysroot paths that might be in the output already to avoid +# having it be -L${SYSROOT}${SYSROOT}/usr/lib. +set -o pipefail +exec ${cfg} "$@" | sed -r "s:(-[IL])(${SYSROOT})?:\1${SYSROOT}:g" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/scripts/cros_set_lsb_release b/sdk_container/src/third_party/coreos-overlay/coreos/scripts/cros_set_lsb_release new file mode 100755 index 0000000000..1b7b219dcd --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/scripts/cros_set_lsb_release @@ -0,0 +1,78 @@ +#!/bin/bash + +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Script to set /etc/lsb-release on the root file system. This script is run by +# build_image inside chroot. + +readonly COMMON_SH=/usr/lib/crosutils/common.sh +if [ ! -r "${COMMON_SH}" ]; then + echo "ERROR: Run inside chroot." + exit 1 +fi + +. "${COMMON_SH}" + +# Flags +DEFINE_string board "" "The board to build an image for." +DEFINE_string root "" "The root file system to write /etc/lsb-release to." + +# Parse command line +FLAGS "$@" || exit 1 +eval set -- "${FLAGS_ARGV}" + +set -e + +ROOT_FS_DIR="$FLAGS_root" +[ -n "$ROOT_FS_DIR" ] || die "--root is required." +[ -d "$ROOT_FS_DIR" ] || die "Root FS does not exist? ($ROOT_FS_DIR)" +[ -n "${CHROMEOS_VERSION_STRING}" ] || die "chromeos_version.sh isn't sourced." + +CHROMEOS_VERSION_NAME="Chromium OS" +CHROMEOS_VERSION_AUSERVER=\ +${CHROMEOS_VERSION_AUSERVER:-"http://$(hostname --fqdn):8080/update"} +CHROMEOS_VERSION_DEVSERVER=\ +${CHROMEOS_VERSION_DEVSERVER:-"http://$(hostname --fqdn):8080"} + +# Official builds must set CHROMEOS_OFFICIAL=1. +if [ ${CHROMEOS_OFFICIAL:-0} = 1 ]; then + # Official builds (i.e., buildbot) + CHROMEOS_VERSION_TRACK="dev-channel" + CHROMEOS_VERSION_NAME="Chrome OS" + CHROMEOS_VERSION_DESCRIPTION="${CHROMEOS_VERSION_STRING} (Official Build) \ +${CHROMEOS_VERSION_TRACK} $FLAGS_board test" + CHROMEOS_VERSION_AUSERVER="https://tools.google.com/service/update2" + CHROMEOS_VERSION_DEVSERVER="" +elif [ "$USER" = "chrome-bot" ]; then + # Continuous builder + CHROMEOS_VERSION_TRACK="buildbot-build" + CHROMEOS_VERSION_DESCRIPTION="${CHROMEOS_VERSION_STRING} (Continuous Build \ +- Builder: ${BUILDBOT_BUILD:-"N/A"}) $FLAGS_board" +else + # Developer hand-builds + CHROMEOS_VERSION_TRACK=${CHROMEOS_VERSION_TRACK:-"developer-build"} + CHROMEOS_VERSION_DESCRIPTION="${CHROMEOS_VERSION_STRING} (Developer Build \ +- $USER) ${CHROMEOS_VERSION_TRACK} $FLAGS_board" +fi + +# Set google-specific version numbers: +# CHROMEOS_RELEASE_BOARD is the target board identifier. +# CHROMEOS_RELEASE_DESCRIPTION is the version displayed by Chrome; see +# chrome/browser/chromeos/chromeos_version_loader.cc. +# CHROMEOS_RELEASE_NAME is a human readable name for the build. +# CHROMEOS_RELEASE_TRACK and CHROMEOS_RELEASE_VERSION are used by the software +# update service. +# TODO(skrul): Remove GOOGLE_RELEASE once Chromium is updated to look at +# CHROMEOS_RELEASE_VERSION for UserAgent data. +sudo_append "${ROOT_FS_DIR}/etc/lsb-release" < +# Multilib settings for all amd64 subprofiles. +MULTILIB_ABIS="amd64 x86" +DEFAULT_ABI="amd64" +# Do not remove this one, or all kinds of hell breaks loose. +ABI="amd64" + +# 64bit specific settings. +CHOST_amd64="x86_64-pc-linux-gnu" +CDEFINE_amd64="__x86_64__" + +# 32bit specific settings. +CFLAGS_x86="-m32" +LDFLAGS_x86="-m elf_i386" +ASFLAGS_x86="--32" +CHOST_x86="i686-pc-linux-gnu" +CDEFINE_x86="__i386__" + +# 2006/10/24 - Simon Stelling +# They are masked, but we can enable them anyway for those who have +# >=portage-2.1.2_pre3-r4 +USE="${USE} mmx sse sse2" + +# 2006/08/18 - Donnie Berkholz +# Defaults for video drivers +VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" + +# 2006/12/22 - Danny van Dyk +# Default for ALSA_CARDS USE_EXPAND variable. +ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/make.defaults new file mode 100644 index 0000000000..5f5b0f7c16 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/make.defaults @@ -0,0 +1,5 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/make.defaults,v 1.1 2008/04/01 17:39:54 wolf31o2 Exp $ + +MULTILIB_ABIS="amd64" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/package.mask new file mode 100644 index 0000000000..dfde92e4b8 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/package.mask @@ -0,0 +1,205 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/package.mask,v 1.51 2009/09/16 20:18:08 ulm Exp $ + +# AMD64 Team +# Mask packages that rely on amd64 multilib +app-accessibility/mbrola +app-accessibility/perlbox-voice +app-antivirus/bitdefender-console +app-antivirus/f-prot +=app-i18n/atokx3-3.0.0 +app-i18n/kurso-de-esperanto +app-office/mozilla-sunbird-bin +app-office/ooextras +app-office/openoffice-bin +app-pda/qtopia-desktop-bin +app-emulation/cedega +app-emulation/emul-linux-x86-baselibs +app-emulation/emul-linux-x86-compat +app-emulation/emul-linux-x86-gtklibs +app-emulation/emul-linux-x86-medialibs +app-emulation/emul-linux-x86-qtlibs +app-emulation/emul-linux-x86-sdl +app-emulation/emul-linux-x86-soundlibs +app-emulation/emul-linux-x86-xlibs +app-emulation/emul-linux-x86-java +app-emulation/ies4linux +app-emulation/transgaming-fontinstaller +app-emulation/transgaming-mozctlinstaller +app-emulation/wine +app-emulation/wine-doors +app-text/acroread +app-text/bibus +dev-embedded/libftd2xx +dev-lang/dmd-bin +dev-lang/icc +dev-lang/idb +dev-lang/ifc +dev-lang/realbasic +dev-lang/sunstudioexpress +dev-perl/Archive-Rar +dev-python/skype4py +dev-util/android-sdk +dev-util/biew +dev-util/dialogblocks +dev-util/helpblocks +dev-util/nvidia-cuda-profiler +games-action/descent3 +games-action/descent3-demo +games-action/heretic2 +games-action/heretic2-demo +games-action/lugaru-demo +games-action/mutantstorm-demo +games-action/phobiaii +games-action/rune +games-action/spacetripper-demo +games-arcade/barbarian-bin +games-arcade/jardinains +games-arcade/gish-demo +games-emulation/caps +games-emulation/goosnes +games-emulation/nestra +games-emulation/snes9express +games-emulation/snes9x +games-emulation/zinc +games-emulation/zsnes +games-emulation/mupen64 +games-fps/avp +games-fps/doom3-cdoom +games-fps/doom3-chextrek +games-fps/doom3-data +games-fps/doom3-demo +games-fps/doom3-ducttape +games-fps/doom3-dungeon +games-fps/doom3-eventhorizon +games-fps/doom3-hellcampaign +games-fps/doom3-inhell +games-fps/doom3-lms +games-fps/doom3-mitm +games-fps/doom3-opencoop +games-fps/doom3-phantasm +games-fps/doom3-roe +games-fps/doom3 +games-fps/enemy-territory-etpro +games-fps/enemy-territory-fortress +games-fps/enemy-territory-truecombat +games-fps/enemy-territory +games-fps/etqw-bin +games-fps/etqw-data +games-fps/etqw-demo +games-fps/fuhquake-bin +games-fps/glxquake-bin +games-fps/legends +games-fps/postal2 +games-fps/postal2mp-demo +games-fps/quake3-alliance +games-fps/quake3-alternatefire +games-fps/quake3-bfp +games-fps/quake3-bin +games-fps/quake3-brainworks +games-fps/quake3-cpma +games-fps/quake3-defrag +games-fps/quake3-demo +games-fps/quake3-matrix +games-fps/quake3-nsco +games-fps/quake3-osp +games-fps/quake3-ra3 +games-fps/quake3-ruinhunters +games-fps/quake3-teamarena +games-fps/quake3-threewave +games-fps/quake3-urbanterror +games-fps/quake4-bin +games-fps/quake4-data +games-fps/quake4-deltactf +games-fps/quake4-demo +games-fps/rtcw +games-fps/rtcwmp-demo +games-fps/rtcwsp-demo +games-fps/sauerbraten +games-fps/soldieroffortune +games-fps/soldieroffortune-demo +games-fps/unreal-tournament +games-fps/ut2003 +games-fps/ut2003-demo +games-fps/ut2004-demo +games-puzzle/hoh-bin +games-roguelike/adom +games-rpg/nwmouse +games-rpg/nwmovies +games-rpg/nwn +games-rpg/nwn-cep +games-rpg/nwn-data +games-rpg/rain-slick +games-rpg/sacred-gold +games-server/etqw-ded +games-server/greenhouse +games-server/nwn-ded +games-server/ut2003-ded +games-simulation/bcs-demo +games-simulation/secondlife-bin +games-simulation/simutrans +games-strategy/coldwar +games-strategy/coldwar-demo +games-strategy/darwinia +games-strategy/darwinia-demo +games-strategy/defcon-demo +games-strategy/dominions2 +games-strategy/heroes3 +games-strategy/heroes3-demo +games-strategy/majesty-demo +games-strategy/savage-bin +games-strategy/smac +games-strategy/x2 +games-strategy/x2-demo +mail-client/mozilla-thunderbird-bin +mail-filter/MailScanner +media-fonts/acroread-asianfonts +media-gfx/grender +media-gfx/maya +media-gfx/picasa +media-libs/realcodecs +media-libs/win32codecs +media-sound/shoutcast-server-bin +media-sound/shoutcast-trans-bin +media-sound/teamspeak2-client-bin +media-sound/teamspeak2-server-bin +media-sound/ventrilo-server-bin +media-tv/livestation +media-video/binkplayer +net-dialup/slmodem +net-im/skype +net-im/skysentials +net-libs/xulrunner-bin +net-misc/icaclient +net-p2p/sancho-bin +net-voip/wengophone-bin +sci-biology/foldingathome +sci-electronics/eagle +sys-apps/memtest86 +sys-apps/memtest86+ +sys-block/hpacucli +sys-libs/lib-compat-loki + +# ifc masked +sci-libs/acml ifc + +# 10 Jul, 2008 Thomas Anderson +# Remask ia32 since parent unmasks it, and no-multilib +# can't use this flag. +www-client/opera ia32 + +# Robert Buchholz (16 Aug 2008) +# SNES applications are masked in multilib +media-tv/freevo snes diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/parent b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/parent new file mode 100644 index 0000000000..f3229c5b98 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/parent @@ -0,0 +1 @@ +.. diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/use.mask new file mode 100644 index 0000000000..59a15334c6 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/no-multilib/use.mask @@ -0,0 +1,21 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/use.mask,v 1.6 2009/09/15 18:21:56 ssuominen Exp $ + +# USE flags masked because providing packages have ABI=x86 + +# 2007/08/29 Christoph Mende +# app-accessibility/mbrola is x86 only +mbrola + +# 2006/05/04 Chris Gianelloni +# games-fps/quake3-teamarena is 32-bit +teamarena + +# 2007/08/24 Michael Marineau +# Xen HVM support requires building 32-bit binaries. +hvm + +# 2009/05/11 Doug Goldstein +# Mask 32bit since this will always require emulation packages +32bit diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use new file mode 100644 index 0000000000..86860e508d --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use @@ -0,0 +1,23 @@ +# Note: Additions to this file affect not only the cros sdk +# chroot, but also any amd64 boards. So if you enable flags +# in here for the chroot, you needed to disable them in the +# cros profile: default/linux/amd64/10.0/chromeos/package.use + +# Since we execute pbzip2 outside of the chroot, we need to statically +# link this to avoid library mismatch errors. http://crosbug.com/32519 +app-arch/bzip2 static-libs +app-arch/pbzip2 static +# Same for pigz. +app-arch/pigz static +sys-libs/zlib static-libs + +chromeos-base/update_engine delta_generator +dev-embedded/openocd ftdi +net-misc/openssh kerberos +sys-apps/flashrom dediprog ft2232_spi serprog +dev-lang/python gdbm + +# qemu-kvm is statically linked with glib when compiled for the host +# and thus requires glib to be compiled with static-libs. +# See http://crosbug.com/35162 for details. +dev-libs/glib static-libs diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.force b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.force new file mode 100644 index 0000000000..456ca66268 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.force @@ -0,0 +1,11 @@ +# Oct 23th 2006; blubb@gentoo.org +# upstream forces sse2 on regardless of what the use flag is +dev-libs/openssl sse2 +media-libs/libsoundtouch sse + +# Gustavo Felisberto 19-06-2007 +net-im/skype qt-static + +# Santiago M. Mola (17 Sep 2008) +# x86emu is the only backend available for amd64 (bug #224987) +sys-apps/v86d x86emu diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.mask new file mode 100644 index 0000000000..7b59ba4460 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/package.use.mask @@ -0,0 +1,154 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/package.use.mask,v 1.45 2009/10/01 15:26:34 ssuominen Exp $ + +# When you add an entry to the top of this file, add your name, the date, and +# an explanation of why something is getting masked. Please be extremely +# careful not to commit atoms that are not valid, as it can cause large-scale +# breakage, especially if it ends up in the daily snapshot. +# +## Example: +## +## # Dev E. Loper (28 Jun 2012) +## # Masking foo USE flag until we can get the +## # foo stuff to work properly again (bug 12345) +## =media-video/mplayer-0.90_pre5 foo +## =media-video/mplayer-0.90_pre5-r1 foo +# + +#--- END OF EXAMPLES --- + +# Samuli Suominen (01 Oct 2009) +# No support in emul-linux-x86-sdl, bug 286625 +app-emulation/wine openal + +# Samuli Suominen (30 Sep 2009) +# No support in emul-linux-x86-baselibs, bug 283089 +app-emulation/wine jpeg + +# Jean-Noël Rivasseau (23 Sep 2009) +# X use flag only for amd64/x86, bug 285951. +media-gfx/iscan -X + +# Jeremy Olexa (06 Sep 2009) +# Mask wine[mp3] because it fails to build. bug 283860 +# Mask wine[gsm] because it fails to build. bug 283875 +app-emulation/wine gsm mp3 + +# Dawid Węgliński +# Mask amarok2 useflag for net-im/kadu +# See bug #238487 for references +net-im/kadu amarok2 + +# Samuli Suominen (10 May 2009) +# Broken SSE2 detection for x86_64 wrt #262405 +media-libs/libsoundtouch sse2 + +# Bernard Cafarelli (20 Mar 2009) +# Depends on packages not yet keyworded for amd64, cf bug #22042 +app-backup/backup-manager s3 + +# Jeremy Olexa (07 Feb 2009) +# USE=mmx on imlib2 causes issues with other apps. See bug 218382 (comments +# 11-12) +media-libs/imlib2 mmx + +# Serkan Kaba (5 Feb 2009) +# finally a 64bit java plugin +>=dev-java/sun-jre-bin-1.6.0.12 -nsplugin + +# Jeremy Olexa (27 Dec 2008) +# Mask static USE flag because it just doesn't work on amd64. See bug 236591 +>=app-arch/p7zip-4.58 static + +# Jeremy Olexa (24 Dec 2008) +# unmask USE=bindist on amd64 - also unmasking the other flags that were under a +# bad comment heading. see bug #246144 +media-video/mplayer -cpudetection -custom-cpuopts -bindist -vdpau + +# Vlastimil Babka (12 Dec 2008) +# finally a 64bit java plugin +>=dev-java/sun-jdk-1.6.0.12_beta2 -nsplugin + +# Tomas Chvatal (31 Jan 2009) +# masked in base, unmaks for x86/amd64 +sci-misc/boinc -cuda + +# Serkan Kaba (20 Jul 2008) +app-text/enchant -zemberek + +# assembler-section + +# Oct 23th 2006; blubb@gentoo.org +# the asm is 64bit save, but it doesn't compile anyway +games-emulation/visualboyadvance mmx + +# Oct 23th 2006; blubb@gentoo.org +# upstream forces sse2 for amd64; mmx flag does nothing +app-crypt/johntheripper mmx + +# Oct 23th 2006; blubb@gentoo.org +# x86 asm only: +games-emulation/xmame mmx +games-emulation/xmess mmx +media-gfx/inkscape mmx +media-libs/allegro mmx sse +media-libs/libfame mmx +media-libs/libmovtar mmx +media-libs/sdl-gfx mmx +media-libs/smpeg mmx +media-video/mjpegtools mmx +net-irc/xchat mmx +net-irc/xchat-gnome mmx +net-misc/asterisk mmx +x11-terms/eterm mmx +media-tv/xawtv mmx + +# x86_64 opts are enabled with USE sse. so masking the rest +media-sound/mpg123 mmx 3dnow 3dnowext + +# Oct 24th 2006; blubb@gentoo.org +# bug 152646 +x11-themes/polymer mmx sse2 + +# Feb 17th 2007; drizzt@gentoo.org +# amd64 does not have an emul libao package +games-emulation/zsnes ao + +# Apr 25th 2007: Alexis Ballier +# Mask mmx for media-libs/mlt +# assembler is not 64bits compliant (yet) +media-libs/mlt mmx + +# 8 May 2007: Alistair Bush +# Mask doc flag for fop as nearly impossible to +# run javadoc target. see #177585 +>=dev-java/fop-0.93 doc + +# 31 Dec 2007: Peter Weller +# Mask dbus, hal, nas and scanner USE flags; +# Bug 203680 +# 28 Oct 2008: Diego Pettenò +# Mask GnuTLS (not available as 32-bit library) +app-emulation/wine dbus hal ldap nas scanner gnutls gphoto2 + +# missing the necessary linux-headers dep +>=net-fs/netatalk-2.0.3-r3 xfs + +# 28 Jan 2008: Wulf Krueger +# Mask bluetooth for the KDE 3.5.8 stabilisation. +app-pda/pilot-link bluetooth + +# 10 Jul 2008: Thomas Anderson +# Unmask ia32 flag for amd64 arches. +www-client/opera -ia32 + +# 8 Aug 2008: Alexis Ballier +# x86 asm only, it won't be built on amd64 if mmx useflag is enabled but that +# saves people from needlessly installing nasm +# Refs bug #93279 +media-sound/lame mmx + +# Robert Buchholz (16 Aug 2008) +# masked in base, unmask for x86/amd64 +dev-python/kaa-base -tls diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/parent b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/parent new file mode 100644 index 0000000000..d8d1efff84 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/parent @@ -0,0 +1,2 @@ +../base +../../features/multilib/lib32 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/profile.bashrc new file mode 100644 index 0000000000..270ca72e26 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/profile.bashrc @@ -0,0 +1,38 @@ +get_sysroot_ld_paths() { + # Default library directories + local paths="$SYSROOT/usr/lib64:$SYSROOT/lib64:$SYSROOT/usr/lib:$SYSROOT/lib" + + # Only split on newlines + local IFS=" +" + + local line + for line in $(cat "$SYSROOT"/etc/ld.so.conf + "$SYSROOT"/etc/ld.so.conf.d/* 2>/dev/null); do + # Ignore lines not starting with '/', e.g. empty lines or comments + if [[ "${line:0:1}" != "/" ]]; then + continue + fi + + # Prepend $SYSROOT (/build/) to all library paths + # except for those already prefixed with $SYSROOT + if [[ "${line:0:${#SYSROOT}}" == "$SYSROOT" ]]; then + paths="$paths:$line" + else + paths="$paths:$SYSROOT$line" + fi + done + echo "$paths" +} + +cros_pre_src_test_ldpaths() { + # Set LD_LIBRARY_PATH to point to libraries in $SYSROOT, so that tests + # will load libraries from there first + if [[ -n "$SYSROOT" ]] && [[ "$SYSROOT" != "/" ]]; then + if [[ -n "$LD_LIBRARY_PATH" ]]; then + export LD_LIBRARY_PATH="$(get_sysroot_ld_paths):$LD_LIBRARY_PATH" + else + export LD_LIBRARY_PATH="$(get_sysroot_ld_paths)" + fi + fi +} diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.force new file mode 100644 index 0000000000..b54bac8604 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.force @@ -0,0 +1,2 @@ +# Force the flag which corresponds to ARCH. +amd64 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.mask new file mode 100644 index 0000000000..0f1e9c8797 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/use.mask @@ -0,0 +1,138 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/use.mask,v 1.8 2009/07/31 21:46:35 ssuominen Exp $ + +# Unmask the flag which corresponds to ARCH. +-amd64 + +# SECTION: Unmask + +# Lilo works on amd64, so ... +-lilo + +# 2007/10/09 - Steve Dibb +# Unmask support for SSSE3 (pni) for media-video/mplayer +-ssse3 + +# 2007/08/19 - Christoph Mende +# Unmask support for dev-db/oracle-instantclient-basic +-oci8-instant-client + +# 2007/03/10 - Mike Frysinger +# NVRAM works on x86/amd64 hosts +-nvram + +# 2006/06/07 - Danny van Dyk +# Profile cleanup: Unmask emul-linux-x86 +-emul-linux-x86 + +# 2005/09/14 - Diego Pettenò +# nVidia XvMC support works on amd64 +-nvidia + +# 2005/12/01 - Daniel Gryniewicz +# There is now a kqemu that works and is stable on amd64 +-kqemu + +# 2006/03/03 - Luca Barbato +# codec support x264 +-x264 + +# 2006/01/28 - Donnie Berkholz +# Modular X: unmask for architectures on which they are available +-input_devices_synaptics +-input_devices_virtualbox +-input_devices_vmmouse +-input_devices_wacom +-video_cards_nvidia +-video_cards_fglrx +-video_cards_via +-video_cards_virtualbox +-video_cards_vmware + +# Diego Pettenò (4 Jan 2007) +# Unmask the flags for PHP that are available only on x86/amd64 +-oci8 +-oracle7 +-db2 + +# Feb 16th 2007; Simon Stelling +# Since this profile forces >=portage-2.1.2, we can unmask all +# SIMD assembler flags +-mmx +-mmxext +-sse +-sse2 +-3dnow +-3dnowext + +# George Shapovalov (8 Apr 2007) +# supported on amd64 +-ada + +# Robert Buchholz (03 Jun 2007) +# Unmask as it works on amd64 +-lcd_devices_luise + +# SECTION: Unavailable/Broken + +# 2007/04/07 - Petteri Räty +# libemf does not build on amd64 +emf + +# 2007/01/18 - Jeffrey Gardner +# Mask gamess support temporarily. +gamess + +# 2006/12/21 - Diego Pettenò +# Mask some ALSA cards that are known broken in AMD64 +alsa_cards_cs5535audio + +# 2006/09/05 - Tupone Alfredo +# doomsday ebuild is not available on this architecture +doomsday + +# 2006/06/07 - Danny van Dyk +# Profile cleanup: No info about these +asm +drac +vidix + +# 2006/06/07 - Danny van Dyk +# Masked due to bug #127328; prohibits DEPENDs on +# this flag makes media-gfx/inkscape dep on media-gfx/pstoedit +# which deps on libemf +plugin + +# 2006/02/05 - Donnie Berkholz +# Modular X: mask for architectures on which they aren't available +video_cards_i740 +video_cards_imstt +video_cards_newport +video_cards_nsc + +# 2005/09/19 - Olivier Fisette +# cmucl is not available on amd64. Masking to keep "sci-mathematics/maxima" +# happy. +cmucl + +# 2004/10/06 - Jeremy Huddleston +# sys-cluster/pvm won't build +pvm + +# 2004/06/22 - Taken from 2004.0 profile +# masked +3dfx + +# 2007/02/02 - Simon Stelling +# we don't have no gcc64; bug 144535 +gcc64 + +# 2007/02/04 - Simon Stelling +# games-emulation/caps is 32bit only, while app-emulation/e-uae is 64bit; bug 158416 +capslib + +# RealMagic Hollywood+/Creative DXR3 support +-dxr3 + +# NOT NECESSARY - SECTION diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/make.defaults new file mode 100644 index 0000000000..7951c757f6 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/make.defaults @@ -0,0 +1,11 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/make.defaults,v 1.2 2012/05/25 17:31:48 vapier Exp $ + +DEFAULT_ABI="x32" +ABI="x32" +MULTILIB_ABIS="amd64 x86 x32" + +FEATURES="collision-protect multilib-strict" + +SYMLINK_LIB="no" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.keywords b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.keywords new file mode 100644 index 0000000000..04ad75ac5b --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.keywords @@ -0,0 +1,9 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.keywords,v 1.9 2012/08/29 21:56:14 vapier Exp $ + +# We need newer versions of toolchain packages. +~sys-apps/sandbox-2.6 amd64 +~sys-devel/gcc-4.7.1 amd64 +~sys-devel/gdb-7.5.1 amd64 +~sys-libs/glibc-2.16.0 amd64 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.mask new file mode 100644 index 0000000000..b68999fae2 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.mask @@ -0,0 +1,11 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.mask,v 1.1 2012/10/07 17:58:28 phajdan.jr Exp $ + +# Pawel Hajdan jr (07 Oct 2012) +# V8 upstream said they won't support x32, bug #423815 +# Masked V8 and reverse dependencies. +dev-lang/v8 +dev-lang/v8cgi +net-libs/nodejs +www-client/chromium diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.unmask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.unmask new file mode 100644 index 0000000000..c613573b9a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.unmask @@ -0,0 +1,5 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.unmask,v 1.2 2012/08/29 21:55:02 vapier Exp $ + +~sys-devel/gcc-4.7.1 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.use.mask new file mode 100644 index 0000000000..d6b253b0a7 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/package.use.mask @@ -0,0 +1,10 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.use.mask,v 1.1 2012/10/07 17:58:28 phajdan.jr Exp $ + +# This file requires >=portage-2.1.1 + +# Pawel Hajdan jr (07 Oct 2012) +# V8 upstream said they won't support x32, bug #423815 +# Masked V8 and reverse dependencies. +dev-db/mongodb v8 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/packages b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/packages new file mode 100644 index 0000000000..c3a8c143e3 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/packages @@ -0,0 +1,12 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/packages,v 1.7 2012/08/29 21:55:02 vapier Exp $ + +# Min versions that included x32 support +>=sys-apps/sandbox-2.6 +>=sys-devel/binutils-2.22 +>=sys-kernel/linux-headers-3.4 +>=sys-libs/glibc-2.16.0 +>=sys-devel/gcc-4.7.1 +>=sys-devel/gdb-7.5 +>=dev-util/strace-4.7 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/parent b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/parent new file mode 100644 index 0000000000..a433076ccc --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/amd64/x32/parent @@ -0,0 +1,3 @@ +.. +# Need to clobber amd64 pulling in lib32 on us. +../../../features/multilib diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/make.defaults new file mode 100644 index 0000000000..b255fabac0 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/make.defaults @@ -0,0 +1,13 @@ +# Main ARM profile + +ARCH="arm" +ACCEPT_KEYWORDS="arm" + +CHOST="arm-unknown-linux-gnu" +CFLAGS="-O2" +CXXFLAGS="${CFLAGS}" + +# 2006/08/18 - Donnie Berkholz +# Defaults for video drivers +VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident \ + vga voodoo" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/package.use.mask new file mode 100644 index 0000000000..e7accf95ba --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/package.use.mask @@ -0,0 +1,30 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/arm/package.use.mask,v 1.12 2009/09/27 13:26:40 maekke Exp $ + +# Markus Meier (27 Sep 2009) +# mask media-gfx/imagemagick[autotrace] as autotrace is not keyworded +media-gfx/imagemagick autotrace + +# Jim Ramsay (5 Nov 2008) +# app-admin/gkrellm may pull in net-libs/libntlm, which is not keyworded +app-admin/gkrellm ntlm + +# Gilles Dartiguelongue (19 Oct 2007) +# gdm depends on zenity which is not keyworded +>=gnome-base/gdm-2.20 remote + +# Gilles Dartiguelongue (23 Oct 2007) +# gdm depends on zenity which is not keyworded +>=media-video/totem-2.20 galago + +# Masking this so repoman shuts up about paludis +sys-apps/paludis ruby-bindings + +# missing keywords +media-sound/sox amrnb amrwb ladspa +media-plugins/gst-plugins-meta lame taglib + +# David Hendricks (10 Oct 2011) +# libpci will cause program to exit(1) during init if PCI not present in system +sys-apps/flashrom atahpt drkaiser gfxnvidia nic3com nicintel nicintel_spi nicnatsemi nicrealtek ogp_spi rayer_spi satasii satamv diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/packages b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/packages new file mode 100644 index 0000000000..177ffcff16 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/packages @@ -0,0 +1,7 @@ +# Copyright 2001-2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/arm/packages,v 1.1 2008/04/01 17:39:55 wolf31o2 Exp $ + +>=sys-devel/binutils-2.13.90.0.4 +>=sys-devel/gcc-3.2 +>=sys-libs/glibc-2.2.5 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/parent b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/parent new file mode 100644 index 0000000000..eb001c6e8a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/parent @@ -0,0 +1 @@ +../base diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.force new file mode 100644 index 0000000000..7116ac8c89 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.force @@ -0,0 +1,2 @@ +# Force the flag which corresponds to ARCH. +arm diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.mask new file mode 100644 index 0000000000..b147ef4e05 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/arm/use.mask @@ -0,0 +1,156 @@ +# Unmask the flag which corresponds to ARCH. +-arm + +# Raúl Porcel +# I've been told xfs is broken on ARM +xfs + +# Mart Raudsepp +# net-misc/networkmanager not keyworded +networkmanager + +# Raúl Porcel +# Fails to build/work +openexr + +# Samuli Suominen +# media-libs/amrnb and media-libs/amrwb not tested. +amr + +# Samuli Suominen +# sci-visualization/grace not tested. +grace + +# Samuli Suominen +# media-gfx/gimp not tested. +gimp + +# Saleem Abdulrasool +# With vapier's permission masking this. +mozilla + +hardened + +# Krzysiek Pawlik +# With vapier's permission masking aoss: +aoss + +# Paul de Vrieze +# There is no java in this profile (if there is it must be available). Without +# this repoman will fail on apps like sys-libs/db +java +java-internal +java-external + +# Stuff that doesn't make sense on this arch +3dfx +cpufreq +dell +laptop +dmi + +# Stuff we don't want +chicken +clisp +fuse +R +octave +tracker +xindy +lyx +mpi +lasi +fusion + +# havent tested yet +cupsddk +gphoto2 +mythtv +dvb +qt3 +arts +kde +afs +mono +pike +lirc +lm_sensors +netjack +beagle +nvtv +mzscheme +xemacs +scanner +madwifi +libupnp +zvbi +dvd +fluidsynth +gnomecd +lapack +cblas +webkit +prolog +sid +libmms +mtp +ieee1394 + +# 2006/02/05 - Donnie Berkholz +# Modular X: mask for architectures on which they aren't available +video_cards_apm +video_cards_ark +video_cards_ast +video_cards_ati +video_cards_cirrus +video_cards_chips +video_cards_cyrix +video_cards_glint +video_cards_i128 +video_cards_i740 +video_cards_imstt +video_cards_intel +video_cards_mach64 +video_cards_mga +video_cards_neomagic +video_cards_newport +video_cards_nsc +video_cards_nv +video_cards_r128 +video_cards_radeon +video_cards_radeonhd +video_cards_rendition +video_cards_s3 +video_cards_s3virge +video_cards_savage +video_cards_siliconmotion +video_cards_sis +video_cards_tdfx +video_cards_tga +video_cards_trident +video_cards_tseng +video_cards_vesa +video_cards_via +video_cards_voodoo + +# 2006/03/07 - Donnie Berkholz +# Modular X: mask for architectures lacking direct rendering +dri + +# Diego Pettenò (6 Dec 2006) +# Unmask the ARM-specific ALSA drivers +-alsa_cards_pxa2xx-i2sound +-alsa_cards_pxa2xx-soc +-alsa_cards_pxa2xx-soc-corgi +-alsa_cards_pxa2xx-soc-poodle +-alsa_cards_pxa2xx-soc-spitz +-alsa_cards_pxa2xx-soc-tosa +-alsa_cards_sa11xx-uda1341ts +-alsa_cards_armaaci +-alsa_cards_at91-soc +-alsa_cards_at91-soc-eti-b1-wm8731 + +# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh. +# Bug #184563, 18 Sep 2007 +# Robin H. Johnson +audit diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/base/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/base/use.mask new file mode 100644 index 0000000000..40f5d4d56a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/base/use.mask @@ -0,0 +1,17 @@ +# Mask flags that correspond to all possible ARCH values. +alpha +amd64 +amd64-fbsd +arm +hppa +ia64 +m68k +mips +ppc +ppc64 +s390 +sh +sparc +sparc-fbsd +x86 +x86-fbsd diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/make.defaults new file mode 100644 index 0000000000..d0ba728016 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/make.defaults @@ -0,0 +1,21 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/make.defaults,v 1.4 2009/08/16 22:07:20 remi Exp $ + +# All extra USE/etc should be specified in sub-profiles. +# DO NOT POLLUTE USE ON THIS PROFILE. + +ARCH="x86" +ACCEPT_KEYWORDS="x86" + +CHOST="i686-pc-linux-gnu" +CFLAGS="-O2 -march=i686 -pipe" +CXXFLAGS="${CFLAGS}" + +# 2006/08/18 - Donnie Berkholz +# Defaults for video drivers +VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" + +# 2006/12/21 - Andrej Kacian +# Defaults for audio drivers +ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.mask new file mode 100644 index 0000000000..78f60fe90c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.mask @@ -0,0 +1,7 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/package.mask,v 1.16 2009/09/05 22:14:54 jmbsvicetto Exp $ + +# Christian Faulhammer (05 Dec 2006) +# this version is badly broken on x86, see bug #153280 +~app-arch/rpm-4.4.7 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use new file mode 100644 index 0000000000..a8797f7205 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use @@ -0,0 +1,2 @@ +# These USE flags are needed so that glmark2 can run on 32/32 machines. +media-libs/mesa egl gbm shared-glapi diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use.mask new file mode 100644 index 0000000000..da595a20ba --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/package.use.mask @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/package.use.mask,v 1.20 2009/09/23 10:42:11 elvanor Exp $ + +# This file requires >=portage-2.1.1 + +# Jean-Noël Rivasseau (23 Sep 2009) +# X use flag only for amd64/x86, bug 285951. +media-gfx/iscan -X + +# Tomáš Chvátal (10 Sep 2009) +# quakeforge has video_cards_voodoo enabled only for x86 +games-fps/quakeforge -video_cards_tdfx + +# Raúl Porcel (02 Dec 2008) +media-libs/realcodecs win32codecs + +# Tomas Chvatal (24 Nov 2008) +# masked in base, unmaks for x86/amd64 +sci-misc/boinc -cuda + +# Robert Buchholz (16 Aug 2008) +# masked in base, unmask for x86/amd64 +dev-python/kaa-base -tls + +# Serkan Kaba (20 Jul 2008) +app-text/enchant -zemberek + +>=dev-java/sun-jdk-1.5 -nsplugin +>=dev-java/sun-jre-bin-1.5 -nsplugin +>=dev-java/ibm-jdk-bin-1.5 -nsplugin +>=dev-java/ibm-jre-bin-1.5 -nsplugin +x11-terms/eterm sse2 + +# Christian Faulhammer (14 Jan 2008) +# only works on x86 +dev-java/ibm-jdk-bin -alsa +dev-java/ibm-jre-bin -alsa + +# Steve Dibb (29 Sept 2008) +media-video/mplayer -cpudetection -custom-cpuopts -win32codecs -bindist -vdpau diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/packages b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/packages new file mode 100644 index 0000000000..b70fdd1582 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/packages @@ -0,0 +1,14 @@ +# Copyright 2001-2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/packages,v 1.1 2008/04/01 17:40:04 wolf31o2 Exp $ + +# For instructions on how this file works (as an inclusion mask, primarily), +# please refer to ${PORTDIR}/profiles/base/packages + +# Use this file to lock down specific versions of packages ONLY TO THIS +# SPECIFIC ARCHITECTURE!! + +# You can also add files to the base system itself if you prefix them with a +# * + +>=sys-devel/binutils-2.13.90.0.4 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/parent b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/parent new file mode 100644 index 0000000000..eb001c6e8a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/parent @@ -0,0 +1 @@ +../base diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/profile.bashrc new file mode 100644 index 0000000000..4cbf3f3307 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/profile.bashrc @@ -0,0 +1,50 @@ +function print_ld_paths() { + # Default library directories + local paths="$SYSROOT/usr/lib:$SYSROOT/lib" + + # Only split on newlines + local IFS=" +" + + for line in $(cat "$SYSROOT"/etc/ld.so.conf + "$SYSROOT"/etc/ld.so.conf.d/* 2>/dev/null); do + if [[ "${line:0:1}" != "/" ]]; then + continue + fi + if [[ "${line:0:${#SYSROOT}}" == "$SYSROOT" ]]; then + paths="$paths:$line" + else + paths="$paths:$SYSROOT$line" + fi + done + echo "$paths" +} + +# Given the path to ld-linux.so.2, determine it's version. +function libc_version() { + local ld_path=$1 + echo $(readlink -f $1/ld-linux.so.2 | sed 's/.*ld-\(.*\).so/\1/g') +} + +function cros_pre_src_test_ldpaths() { + # HACK(raymes): If host/target libc versions are different, + # prepend host library path to work around + # http://code.google.com/p/chromium-os/issues/detail?id=19936 + local host_library_path="" + local host_libc=$(libc_version /lib32) + local target_libc=$(libc_version "$SYSROOT/lib") + if [[ "$host_libc" != "$target_libc" ]]; then + host_library_path=/lib32 + ewarn "Host/target libc mismatch. Using host libs for src_test!" + fi + + # Set LD_LIBRARY_PATH to point to libraries in $SYSROOT, so that tests + # will load libraries from there first + if [[ -n "$SYSROOT" ]] && [[ "$SYSROOT" != "/" ]]; then + if [[ -n "$LD_LIBRARY_PATH" ]]; then + export LD_LIBRARY_PATH="$host_library_path:$(print_ld_paths):$LD_LIBRARY_PATH" + else + export LD_LIBRARY_PATH="$host_library_path:$(print_ld_paths)" + fi + fi +} diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.force new file mode 100644 index 0000000000..049e7af154 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.force @@ -0,0 +1,2 @@ +# Force the flag which corresponds to ARCH. +x86 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.mask new file mode 100644 index 0000000000..ce43c919dd --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/arch/x86/use.mask @@ -0,0 +1,105 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/use.mask,v 1.11 2009/07/31 21:47:28 ssuominen Exp $ + +# Unmask the flag which corresponds to ARCH. +-x86 + +# This file masks out USE flags that are simply NOT allowed in the default +# x86 profile. This works, for example, if another architecture's +# profile have a USE flag associated with (such as altivec, mmx, etc). + +# pbbuttonsd and macbook for KDE and pbuttonsd it +#-pbbuttonsd +-macbook + +# Unmask x86 instruction sets +-3dnow +-3dnowext +-lilo +-mmx +-mmxext +-sse +-sse2 +-ssse3 +-svga +-kqemu +-nvram + +# Unmask nvidia XvMC support +-nvidia + +# Unmask dev-db/oracle-instantclient-basic support +-oci8-instant-client + +# Unmask osp, used by asterisk; bug 115798 +-osp + +# Unmask yellownet, used by aqbanking (bug 149970) +-yellownet + +# Modular X: unmask for architectures on which they are available +-input_devices_synaptics +-input_devices_virtualbox +-input_devices_vmmouse +-input_devices_wacom +-video_cards_nvidia +-video_cards_fglrx +-video_cards_vmware +-video_cards_geode +-video_cards_vermilion +-video_cards_via +-video_cards_virtualbox +-video_cards_xgi + +# Modular X: mask for architectures on which they aren't available +video_cards_newport + +#codec support +-win32codecs +-x264 + +# lvm2 cluster +-clvm +-gulm + +# psyco works on x86 +-psyco + +# Diego Pettenò (4 Jan 2007) +# Unmask the flags for PHP that are available only on x86 +-fdftk +-sybase-ct +-ingres +-birdstep +-adabas +-filepro +-pfpro +-informix +-empress +-empress-bcs +-sybase +-frontbase +-dbmaker +-esoob +-solid +# Shared with amd64 +-oci8 +-oracle7 +-firebird +-db2 + +# Robert Buchholz (03 Jun 2007) +# Unmask as it works on x86 +-lcd_devices_svga +-lcd_devices_luise + +# George Shapovalov (8 Apr 2007) +# supported on x86 +-ada + +# tcc is x86 only +-tcc + +# RealMagic Hollywood+/Creative DXR3 support +-dxr3 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/base/make.defaults new file mode 100644 index 0000000000..9cb50de537 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/make.defaults @@ -0,0 +1,140 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/make.defaults,v 1.90 2012/11/24 21:08:09 mgorny Exp $ +# +# System-wide defaults for the Portage system +# See portage(5) manpage + +# Profile IUSE injection (applies only to ebuilds which use EAPI 5 or later) +IUSE_IMPLICIT="prefix" +USE_EXPAND_UNPREFIXED="ARCH" +USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND" +USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt" +USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin FreeBSD glibc HPUX Interix mintlib NetBSD OpenBSD SunOS uclibc Winnt" +USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt" +USE_EXPAND_VALUES_USERLAND="BSD GNU" + +# Env vars to expand into USE vars. Modifying this requires prior +# discussion on gentoo-dev@gentoo.org. +USE_EXPAND="APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES ENLIGHTENMENT_MODULES FOO2ZJS_DEVICES MISDN_CARDS FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS DVB_CARDS LIRC_DEVICES INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS ALSA_CARDS ALSA_PCM_PLUGINS LCD_DEVICES CAMERAS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS RUBY_TARGETS PHP_TARGETS NGINX_MODULES_HTTP NGINX_MODULES_MAIL XFCE_PLUGINS XTABLES_ADDONS GPSD_PROTOCOLS COLLECTD_PLUGINS DRACUT_MODULES OFED_DRIVERS GRUB_PLATFORMS FFTOOLS PYTHON_TARGETS CURL_SSL OPENMPI_FABRICS OPENMPI_RM OPENMPI_OFED_FEATURES LIBREOFFICE_EXTENSIONS VOICEMAIL_STORAGE PYTHON_SINGLE_TARGET" + +# USE_EXPAND variables whose contents are not shown in package manager +# output. Changes need discussion on gentoo-dev. +USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS" + +# Basic CONFIG_PROTECT is defined by portage make.globals in /usr/share. That is really bad, kill it here. +CONFIG_PROTECT="-/etc" +CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" + +# Variables that are set exclusively by the profile +# and not by user configuration files. +PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND" + +# 'Sane' defaults +ELIBC="glibc" +KERNEL="linux" +USERLAND="GNU" +INPUT_DEVICES="keyboard mouse" + +# Tomáš Chvátal (12 Aug 2011) +# By default do not build any grub platform and let it guess. +GRUB_PLATFORMS="" + +# Tomáš Chvátal (05 May 2013) +# By default enable all extensions with no dependencies +LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" + +# Tomáš Chvátal (15 May 2011) +# Andreas K. Hüttel (19 Aug 2011, 25 Mar 2012) +# By default build all koffice / calligra features. +CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" + +# Pacho Ramos (14 Feb 2010) +# Enable 'ptp2' by default as it is available for most cameras. +CAMERAS="ptp2" + +# Ole Markus With (09 Oct 2010) +# Default PHP targets (should always be latest stable version) +PHP_TARGETS="php5-3" + +# Andreas K. Huettel (28 Sep 2010) +# Small default list of enabled plugins for collectd +COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" + +# Tomáš Chvátal (26 Oct 2010) +# By default enable all protocols for average GPS user +GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" + +# Diego Pettenò (21 Dec 2006) +# Build everything for the average user +ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" + +# Benedikt Böhm (27 Nov 2007) +# Sane defaults for built-in apache modules +# Patrick Lauer (12 Oct 2012) +# extend for apache 2.4 +APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" + +# Peter Volkov (29 Apr 2010) +# Set some defaults or package will fail to build (Check mconfig in package sources) +XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" + +# Robert Buchholz (17 Jan 2006) +# Some common lcd devices +LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" + +# 2006/10/17 - Daniel Drake +# cracklib is becoming optional in shadow (and removed from system) as of +# today. However, cracklib is very standard across the Linux world so we +# enable it by default. +# +# Diego Pettenò (14 Jul 2007) +# Moved to base/ profile from default-linux/ so that it also applies to +# embedded and hardened profiles. +USE="${USE} cracklib" + +# Miroslav Šulc (19 Nov 2008) +# Netbeans modules/clusters +NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" + +# 2009/09/21 Robin H. Johnson +# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml +# Build kernel modules from linux-mod by default: +USE="${USE} modules" + +# Alex Legler (30 Nov 2009) +# Default Ruby build targets +RUBY_TARGETS="ruby18 ruby19" + +# Samuli Suominen (03 Dec 2009) +# Enable USE cxx by default so base-system and toolchain pkgs can start using USE cxx +# instead of USE nocxx. +# http://archives.gentoo.org/gentoo-dev/msg_a181cd0d36600067b599f4b996c6989f.xml +USE="${USE} cxx" + +# Tiziano Müller (24 Jan 2010) +# We usually don't want python to (re)write .py[co] files during phase runs +# since it could cause sandbox violations +PYTHONDONTWRITEBYTECODE="1" + +# Jorge Manuel B. S. Vicetto (16 Nov 2011) +# Add default USE value for bootstrap and rename it from STAGE1_USE to BOOTSTRAP_USE +BOOTSTRAP_USE="cxx unicode" + +# Mike Gilbert (15 May 2012) +# Default target(s) for python-r1.eclass +PYTHON_TARGETS="python2_6" +PYTHON_SINGLE_TARGET="python2_6" + +# ChromeOS-specific: BOARD_USE for accessing board value in cros-board.eclass +# CROS_WORKON_TREE for cros-workon +# TESTS USE_EXPAND for autotest +# U_BOOT_CONFIG_USE for selecting U-Boot config +# U_BOOT_FDT_USE for selecting U-Boot device tree +USE_EXPAND="${USE_EXPAND} BOARD_USE CROS_WORKON_TREE TESTS U_BOOT_CONFIG_USE U_BOOT_FDT_USE" +USE_EXPAND_HIDDEN="${USE_EXPAND_HIDDEN} CROS_WORKON_TREE" + +# Default licenses that are accepted for ChromiumOS builds. +# If you want to accept more, use the --accept_licenses flag +# when running setup_board. +ACCEPT_LICENSE="* -@EULA -@CHROMEOS" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/package.unmask b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.unmask new file mode 100644 index 0000000000..e411156348 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.unmask @@ -0,0 +1,4 @@ +# Upstream portage blocks portage-9999 with package.mask, so we need to unmask +# it manually to allow us to build it. (It's still marked as unstable, so we +# won't use it by default.) +=sys-apps/portage-9999 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.force b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.force new file mode 100644 index 0000000000..98f1d61918 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.force @@ -0,0 +1,13 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.8 2009/08/01 14:55:18 beandog Exp $ + +# Peter Alfredsen (11 Apr 2009) +# Forcing w.r.t. bug 265336. When unicode use-flag is +# turned off, ABI is broken without a .so bump. +dev-libs/libpcre unicode + +# Samuli Suominen (10 May 2009) +# USE X needs to be always enabled to force virtualx +# eclass usage for Xeconf. +media-sound/rubyripper X diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask new file mode 100644 index 0000000000..0a6cb93822 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask @@ -0,0 +1,166 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.mask,v 1.97 2009/10/11 20:12:53 ssuominen Exp $ + +# This file requires >=portage-2.1.1 +# New entries go on top. + +# Samuli Suominen (10 Oct 2009) +# Not ready for stable. Remove this mask when KDE 4.3.2 is stable. + (10 Oct 2009) +# Fix deptree because kopete-facebook is missing KEYWORDS +kde-base/kopete facebook + +# Samuli Suominen (09 Oct 2009) +# log4cxx has known memory leaking issues wrt bug #287697, +# unmask when log4cxx is fixed and stable. +app-misc/strigi log + +# Jean-Noël Rivasseau (23 Sep 2009) +# X use flag only for amd64/x86, bug 285951. +media-gfx/iscan X + +# Nirbheek Chauhan (22 Sep 2009) +# Broken with KDE4, mask for now +>=app-office/openoffice-3.1.1 kde + +# Alex Legler (16 Sep 2009) +# Maintainer of the kolab patch is not available (wrobel). +# Bump is needed for security bug 285052. +>=www-apps/horde-webmail-1.2.4 kolab + +# Tomáš Chvátal (10 Sep 2009) +# quakeforge has video_cards_tdfx enabled only for x86 +games-fps/quakeforge video_cards_tdfx + +# Marijn Schouten (03 Aug 2009) +# gcl is an old piece of crap that has a lot of problems +sci-mathematics/maxima gcl + +# Jeremy Olexa (31 Jul 2009) +# Mask the gnome USE flag globally for app-office/abiword-plugins-2.4.6 because +# it depends on a GLSA affected atom. bug 271708 +=app-office/abiword-plugins-2.4.6 gnome + +# Petteri Räty (14 Jul 2009) +# Open source Java plugin development happens in IcedTea +# these days. +dev-java/gnu-classpath nsplugin + +# Tristan Heaven (12 Jun 2009) +# media-libs/freeimage is masked for bug #269516 +dev-games/cegui freeimage +dev-games/ogre freeimage + +# Mounir Lamouri (21 Apr 2009) +# masking jingle because it's using an old ortp version +# which is blocking stabilization of new ones, bug 206047 +=kde-base/kdenetwork-3* jingle +=kde-base/kopete-3* jingle + +# Peter Alfredsen (20 Jan 2008) +# Pango is a Work-In-Progress for libgdiplus +# Bug 255623 +dev-dotnet/libgdiplus pango + +# Tomas Chvatal (31 Jan 2009) +# mask cuda for boinc. Works only on amd64 and x86 +sci-misc/boinc cuda + +# Robert Buchholz (16 Aug 2008) +# TLS needs dev-libs/cryptlib, which is x86 only +dev-python/kaa-base tls + +# Serkan Kaba (20 Jul 2008) +# Java is not supported in most of the arches enchant is keyworded +app-text/enchant zemberek + +# Thomas Anderson (04 Jul 2008) +# Mask ia32 USE flag on all architectures but amd64 +# as we're the only people who can make use of it. +www-client/opera ia32 + +# Peter Alfredsen (25 Jun 2008) +# Php module fails to build due to newer autotools. +>=media-libs/ming-0.4.0_beta5 php + +# Ben de Groot (22 Jun 2008) +# does not work with ffmpeg new headers yet + (21 Mar 2008) +# still work in progress +=net-irc/kvirc-3.4.0 qt4 + +# Michael Sterrett (09 Mar 2008) +# tcl version necessary has been masked so mask this for now. +~app-editors/nvi-1.81.6 tcl + +# Christian Faulhammer (03 Mar 2008) +# This feature is experimental and should be used by people willing to +# test it +app-portage/gatt libpaludis + +# Wulf Krueger (28 Jan 2008) +# Mask bluetooth for the KDE 3.5.8 stabilisation. +app-pda/pilot-link bluetooth + +# Christian Hoffmann (27 Dec 2007) +# Missing dev-php5/php-java-bridge +dev-lang/php java-external + +# Donnie Berkholz (12 Nov 2007) +# freedesktop.org bug #7459 committed fix breaks 3D apps +# but "fix" is only relevant on USE=nptl +=media-libs/mesa-7.0* nptl + +# Robert Buchholz (29 Aug 2007) +# PPTP Plugin doesn't work on amd64 +kde-misc/knetworkmanager pptp + +dev-java/sun-jdk nsplugin +dev-java/sun-jre-bin nsplugin +dev-java/ibm-jdk-bin nsplugin +dev-java/ibm-jre-bin nsplugin + +# Petteri Räty (27 Apr 2007) +# package.use.masked for security bug #161835 +# Not removed from ebuilds because this is the only 64 bit plugin +# on amd64. +dev-java/blackdown-jdk nsplugin +dev-java/blackdown-jre nsplugin + +# These are for BSD only +net-proxy/squid ipf-transparent pf-transparent +app-admin/sshguard ipfilter + +# Linking against libnfsidmap requires libs in /usr #149472 +sys-apps/acl nfs + +# Christian Faulhammer (14 Jan 2008) +# only works on x86, where this will be unmasked +dev-java/ibm-jdk-bin alsa +dev-java/ibm-jre-bin alsa + +# Raúl Porcel (09 Nov 2008) +# CPU opts: This needs amd64, x86 and ppc on some of them +# dvdnav: hard masked dependency +# vdpau: availble on x86, amd64 only +media-video/mplayer cpudetection custom-cpuopts bindist vdpau + +# Steve Dibb (26 Feb 2009) +# Unmask internal real player codec support on newer mplayer +>=media-video/mplayer-1.0_rc2_p20090226 -real + +# Alexis Ballier (07 Jul 2009) +# The pda interface doesnt build, bug #277037 +>=media-video/vlc-1.0.0 pda + +# Samuli Suominen (31 Jul 2009) +# Security issues wrt #190835 +games-fps/doom-data doomsday +games-fps/freedoom doomsday diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask.example b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask.example new file mode 100644 index 0000000000..3c373150ad --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/package.use.mask.example @@ -0,0 +1,25 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.mask.example,v 1.2 2009/07/31 11:16:52 ssuominen Exp $ + +# This file requires >=portage-2.1.1 +# It's named example so portage doesn't open it and it doesn't do anything yet. +# The syntax is similar to /etc/portage/package.use + +### +### Examples! +### +### Masking + +# sys-devel/gcc hardened # mask hardened USE flag for sys-devel/gcc + + +### Unmasking +# sys-devel/gcc -hardened # unmask hardened USE flag for sys-devel/gcc + +# DO NOT DO +# -sys-devel/gcc hardened + +# This wrong example is here because someone did it (he blamed his copy +# and pasting program). + diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/packages b/sdk_container/src/third_party/coreos-overlay/profiles/base/packages new file mode 100644 index 0000000000..c8cfbb1778 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/packages @@ -0,0 +1,75 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/packages,v 1.45 2009/09/29 09:04:29 flameeyes Exp $ + +# Gentoo Base Profile + +# NOTE: THIS IS THE BASE PROFILE FOR *ANY* GENTOO BASED OPERATING SYSTEM. +# NO MODIFICATIONS MAY BE MADE TO THIS FILE WITHOUT PRIOR DISCUSSION. IF +# YOU ARE CREATING A NEW PROFILE, YOU SIMPLY NEED TO INHERIT THIS BASE +# PROFILE IN YOUR PROFILE DIRECTORY'S "parent" FILE. + + +# OK, you're staring at this file and you have no idea what these stars are +# for. Here's the scoop. An initial "*" marks a package that is part of +# the official BASE system profile. If there is a "*" then `emerge system` +# will use the line in its calculations of what should be installed for the +# base profile. Lines without a "*" prefix will be ignored for profile +# system calculations. + +# Please note that this file is rarely used as a package inclusion mask +# file, because it affects EVERY SINGLE gentoo profile. As can be seen, +# we've limited the inclusion mask to a version of portage which supports +# cascaded profiles, but apart from that, there should be no version +# specific information in here. This file serves as a high level description +# of the minimum set of packages needed for any Gentoo based system. + +*sys-apps/baselayout +*app-arch/bzip2 +*app-arch/cpio +*app-arch/gzip +*app-arch/tar +*app-shells/bash +#*dev-lang/perl +#*dev-lang/python +*net-misc/iputils +*net-misc/rsync +*net-misc/wget +*sys-apps/coreutils +#*sys-apps/debianutils +*sys-apps/diffutils +*sys-apps/file +*sys-apps/findutils +*sys-apps/gawk +*sys-apps/grep +*sys-apps/net-tools +#*>=sys-apps/portage-2.0.51.22 +*sys-process/procps +*sys-process/psmisc +*sys-apps/sed +*sys-apps/shadow +*sys-apps/texinfo +*sys-apps/which +*sys-devel/autoconf +*sys-devel/automake +*sys-devel/binutils +*sys-devel/bison +*sys-devel/flex +*sys-devel/gcc +*sys-devel/gnuconfig +*sys-devel/libtool +*sys-devel/m4 +*sys-devel/make +*>=sys-devel/patch-2.6.1 +*sys-fs/e2fsprogs +*sys-libs/ncurses +*sys-libs/readline +*sys-libs/zlib +*virtual/editor +*virtual/libc +*virtual/man +*virtual/modutils +*virtual/os-headers +*virtual/pager +*virtual/portage +*virtual/ssh diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/base/profile.bashrc new file mode 100644 index 0000000000..c604582529 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/profile.bashrc @@ -0,0 +1,114 @@ +# Copyright 2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v 1.3 2009/07/21 00:08:05 zmedico Exp $ + +# Set LANG=C globally because it speeds up build times, and we don't need +# localized messages inside of our builds. +export LANG=C + +# Since unittests on the buildbots don't automatically get access to an +# X server, don't let local dev stations get access either. If a test +# really needs an X server, they should launch their own with Xvfb. +unset DISPLAY + +if ! declare -F elog >/dev/null ; then + elog() { + einfo "$@" + } +fi + +# Dumping ground for build-time helpers to utilize since SYSROOT/tmp/ +# can be nuked at any time. +CROS_BUILD_BOARD_TREE="${SYSROOT}/build" +CROS_BUILD_BOARD_BIN="${CROS_BUILD_BOARD_TREE}/bin" + +CROS_ADDONS_TREE="/usr/local/portage/chromiumos/chromeos" + +# Are we merging for the board sysroot, or for the cros sdk, or for +# the target hardware? Returns a string: +# - cros_host (the sdk) +# - board_sysroot +# - target_image +# We can't rely on "use cros_host" as USE gets filtred based on IUSE, +# and not all packages have IUSE=cros_host. +cros_target() { + if [[ ${CROS_SDK_HOST} == "cros-sdk-host" ]] ; then + echo "cros_host" + elif [[ ${ROOT%/} == ${SYSROOT%/} ]] ; then + echo "board_sysroot" + else + echo "target_image" + fi +} + +# Load all additional bashrc files we have for this package. +cros_stack_bashrc() { + local cfg cfgd + + cfgd="${CROS_ADDONS_TREE}/config/env" + for cfg in ${PN} ${PN}-${PV} ${PN}-${PV}-${PR} ; do + cfg="${cfgd}/${CATEGORY}/${cfg}" + [[ -f ${cfg} ]] && . "${cfg}" + done +} +cros_stack_bashrc + +# The standard bashrc hooks do not stack. So take care of that ourselves. +# Now people can declare: +# cros_pre_pkg_preinst_foo() { ... } +# And we'll automatically execute that in the pre_pkg_preinst func. +# +# Note: profile.bashrc's should avoid hooking phases that differ across +# EAPI's (src_{prepare,configure,compile} for example). These are fine +# in the per-package bashrc tree (since the specific EAPI is known). +cros_lookup_funcs() { + declare -f | egrep "^$1 +\(\) +$" | awk '{print $1}' +} +cros_stack_hooks() { + local phase=$1 func + local header=true + + for func in $(cros_lookup_funcs "cros_${phase}_[-_[:alnum:]]+") ; do + if ${header} ; then + einfo "Running stacked hooks for ${phase}" + header=false + fi + ebegin " ${func#cros_${phase}_}" + ${func} + eend $? + done +} +cros_setup_hooks() { + # Avoid executing multiple times in a single build. + [[ ${cros_setup_hooks_run+set} == "set" ]] && return + + local phase + for phase in {pre,post}_{src_{unpack,prepare,configure,compile,test,install},pkg_{{pre,post}{inst,rm},setup}} ; do + eval "${phase}() { cros_stack_hooks ${phase} ; }" + done + export cros_setup_hooks_run="booya" +} +cros_setup_hooks + +# Packages that use python will run a small python script to find the +# pythondir. Unfortunately, they query the host python to find out the +# paths for things, which means they inevitably guess wrong. Export +# the cached values ourselves and since we know these are going through +# autoconf, we can leverage ${libdir} that econf sets up automatically. +cros_pre_src_unpack_python_multilib_setup() { + # Avoid executing multiple times in a single build. + [[ ${am_cv_python_version:+set} == "set" ]] && return + + local py=${PYTHON:-python} + local py_ver=$(${py} -c 'import sys;sys.stdout.write(sys.version[:3])') + + export am_cv_python_version=${py_ver} + export am_cv_python_pythondir="\${libdir}/python${py_ver}/site-packages" + export am_cv_python_pyexecdir=${am_cv_python_pythondir} +} + +# Since we're storing the wrappers in a board sysroot, make sure that +# is actually in our PATH. +cros_pre_pkg_setup_sysroot_build_bin_dir() { + PATH+=":${CROS_BUILD_BOARD_BIN}" +} diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/base/use.force new file mode 100644 index 0000000000..df19ac448a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/use.force @@ -0,0 +1,9 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/use.force,v 1.3 2009/07/31 16:42:56 ssuominen Exp $ + +# Force the GNU/Linux ELIBC, KERNEL, and USERLAND +# flags that apply to the majority of profiles. +elibc_glibc +kernel_linux +userland_GNU diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/base/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/base/use.mask new file mode 100644 index 0000000000..430a913cc2 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/base/use.mask @@ -0,0 +1,225 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/base/use.mask,v 1.81 2009/09/10 12:03:43 scarabeus Exp $ + +# profile specific USE flags +# Don't put hardened in here. +selinux +uclibc +multilib + +# amd64/x86 arch specific USE flags +kqemu +3dnow +3dnowext +lilo +mmx +mmxext +sse +sse2 +ssse3 +svga +win32codecs +real +nvram + +# ppc arch specific USE flags +altivec +pbbuttonsd +ppcsha1 + +# mips arch specific USE flags +n32 +n64 +fixed-point + +# ppc64 arch specific USE flags +ibm + +# sparc arch specific USE flags +vis +ultra1 + +# nVidia XvMC requires nvidia-drivers/nvidia-legacy-drivers +nvidia + +# dev-db/oracle-instantclient-basic is only available on x86 +oci8-instant-client + +# net-libs/osptoolkit is only available on x86 (used by asterisk, bug 115798) +osp + +# yellownet is only avaible as a binary blob (bug 149970) +yellownet + +# not keyworded on non-x86 systems +video_cards_geode +video_cards_vermilion +video_cards_xgi +video_cards_voodoo + +# not needed on non-sparc systems +video_cards_sunbw2 +video_cards_suncg14 +video_cards_suncg3 +video_cards_suncg6 +video_cards_sunffb +video_cards_sunleo +video_cards_suntcx + +# not needed on non-mips system +video_cards_newport +video_cards_impact + +# not needed on non-x86, non-amd64 systems +input_devices_virtualbox +input_devices_vmmouse +video_cards_nvidia +video_cards_fglrx +video_cards_via +video_cards_vmware +video_cards_virtualbox + +# not needed on non-x86, non-amd64, non-ppc systems +input_devices_synaptics +input_devices_wacom + +# psyco only works on x86 +psyco + +# Mask ELIBC, KERNEL, and USERLAND flags that apply to specific profiles. +userland_BSD + +elibc_AIX +elibc_Darwin +elibc_DragonFly +elibc_FreeBSD +elibc_HPUX +elibc_Interix +elibc_IRIX +elibc_mintlib +elibc_NetBSD +elibc_OpenBSD +elibc_SunOS +elibc_uclibc + +kernel_AIX +kernel_Darwin +kernel_FreeBSD +kernel_freemint +kernel_HPUX +kernel_Interix +kernel_IRIX +kernel_NetBSD +kernel_OpenBSD +kernel_SunOS + +# Diego Pettenò (6 Dec 2006) +# Mask specific Apple drivers +alsa_cards_aoa +alsa_cards_aoa-fabric-layout +alsa_cards_aoa-onyx +alsa_cards_aoa-soundbus +alsa_cards_aoa-soundbus-i2s +alsa_cards_aoa-tas +alsa_cards_aoa-toonie +alsa_cards_powermac +# Mask specific Sun drivers +alsa_cards_sun-amd7930 +alsa_cards_sun-cs4231 +alsa_cards_sun-dbri +# Mask specific ARM drivers +alsa_cards_pxa2xx-i2sound +alsa_cards_pxa2xx-soc +alsa_cards_pxa2xx-soc-corgi +alsa_cards_pxa2xx-soc-poodle +alsa_cards_pxa2xx-soc-spitz +alsa_cards_pxa2xx-soc-tosa +alsa_cards_sa11xx-uda1341ts +alsa_cards_armaaci +alsa_cards_at91-soc +alsa_cards_at91-soc-eti-b1-wm8731 +# Mask specific HPPA drivers +alsa_cards_harmony +# Mask specific MIPS drivers +alsa_cards_au1x00 + +# Diego Pettenò (29 Dec 2006) +# Adobe FDF toolkit is x86 only. +fdftk + +# Diego Pettenò (30 Dec 2006) +# These are specific of Mac OS X +aqua +coreaudio + +# Diego Pettenò (4 Jan 2007) +# Mask the flags for PHP that are available only on x86 +sybase-ct +ingres +birdstep +adabas +filepro +pfpro +informix +empress +empress-bcs +sybase +frontbase +dbmaker +esoob +solid +# Shared with amd64 +oci8 +oracle7 +firebird +db2 + +# Robert Buchholz (03 Jun 2007) +# Only works on x86 or amd64 +lcd_devices_svga +lcd_devices_luise + +# Joseph Jezak (11 Mar 2007) +# Only for x86 and amd64 (in pbbuttonsd) +macbook + +# George Shapovalov (8 Apr 2007) +# Ada is supported only on x86, amd64 and ppc at present +ada + +# lvm2 clustered use flags (moved from default-linux) +clvm +gulm +cman + +# tcc is x86 only +tcc + +# Diego Pettenò (15 Nov 2007) +# pam_console was masked for removal for security issue. +# mask the flag too. +pam_console + +# Jeremy Olexa +# The prefix USE flag should never be used on non prefix profiles +prefix + +# Alexey Shvetsov +# Mask kdeprefix since its broken by now +kdeprefix + +# Diego E. Pettenò (6 Jul 2009) +# on behalf of QA Team +# Removal of cman is scheduled for 2009-10-06 +cman + +# Markus Duft (7 Jul 2009) +# This use flag only applies to _one_ version of interix (all +# versions share the same keyword, that's why i need a USE flag). +# Since this is meaningless for all others, it's globally masked. +i6fork + +# Samuli Suominen (01 Aug 2009) +# RealMagic Hollywood+/Creative DXR3 support +dxr3 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/categories b/sdk_container/src/third_party/coreos-overlay/profiles/categories new file mode 100644 index 0000000000..2a6cbf388a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/categories @@ -0,0 +1,154 @@ +app-accessibility +app-admin +app-antivirus +app-arch +app-backup +app-benchmarks +app-cdr +app-crypt +app-dicts +app-doc +app-editors +app-emacs +app-emulation +app-forensics +app-i18n +app-laptop +app-misc +app-mobilephone +app-office +app-pda +app-portage +app-shells +app-text +app-vim +app-xemacs +chromeos-base +dev-ada +dev-cpp +dev-db +dev-dotnet +dev-embedded +dev-games +dev-haskell +dev-java +dev-lang +dev-libs +dev-lisp +dev-ml +dev-perl +dev-php +dev-php5 +dev-python +dev-ruby +dev-scheme +dev-tcltk +dev-tex +dev-texlive +dev-tinyos +dev-util +games-action +games-arcade +games-board +games-emulation +games-engines +games-fps +games-kids +games-misc +games-mud +games-puzzle +games-roguelike +games-rpg +games-server +games-simulation +games-sports +games-strategy +games-util +gnome-base +gnome-extra +gnustep-apps +gnustep-base +gnustep-libs +gpe-base +gpe-utils +java-virtuals +kde-base +kde-misc +lxde-base +mail-client +mail-filter +mail-mta +media-fonts +media-gfx +media-libs +media-plugins +media-radio +media-sound +media-tv +media-video +net-analyzer +net-dialup +net-dns +net-firewall +net-fs +net-ftp +net-im +net-irc +net-libs +net-mail +net-misc +net-nds +net-news +net-nntp +net-p2p +net-print +net-proxy +net-voip +net-wireless +net-zope +perl-core +rox-base +rox-extra +sci-astronomy +sci-biology +sci-calculators +sci-chemistry +sci-electronics +sci-geosciences +sci-libs +sci-mathematics +sci-misc +sci-physics +sci-visualization +sec-policy +sys-apps +sys-auth +sys-block +sys-boot +sys-cluster +sys-devel +sys-freebsd +sys-fs +sys-kernel +sys-libs +sys-power +sys-process +www-apache +www-apps +www-client +www-misc +www-plugins +www-servers +x11-apps +x11-base +x11-drivers +x11-libs +x11-misc +x11-plugins +x11-proto +x11-terms +x11-themes +x11-wm +xfce-base +xfce-extra +virtual diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/package.use new file mode 100644 index 0000000000..30ffacc6f4 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/package.use @@ -0,0 +1,14 @@ +# Need to undo arch/amd64/package.use because that +# profile is shared between the cros sdk chroot and +# amd64 target boards. + +app-arch/bzip2 -static-libs +app-arch/pbzip2 -static +app-arch/pigz -static + +chromeos-base/update_engine -delta_generator +dev-embedded/openocd -ftdi +net-misc/openssh -kerberos +sys-apps/flashrom -dediprog -ft2232_spi -serprog + +dev-libs/glib -static-libs diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/parent new file mode 100644 index 0000000000..75dd5d3f70 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/parent @@ -0,0 +1,2 @@ +../no-multilib +../../../../../targets/chromeos diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/use.force new file mode 100644 index 0000000000..330bf8920a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/use.force @@ -0,0 +1,2 @@ +# We don't do multilib. +-multilib diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/package.use new file mode 120000 index 0000000000..8df9670870 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/package.use @@ -0,0 +1 @@ +../package.use \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/parent new file mode 100644 index 0000000000..bc2444a117 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/parent @@ -0,0 +1,3 @@ +../.. +../../../../../../arch/amd64/x32 +../../../../../../targets/chromeos diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/use.force new file mode 120000 index 0000000000..d2b6937a70 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/chromeos/x32/use.force @@ -0,0 +1 @@ +../use.force \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/desktop/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/desktop/parent new file mode 100644 index 0000000000..ad6c5e126f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/desktop/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/desktop diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/developer/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/developer/parent new file mode 100644 index 0000000000..4c893748ce --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/developer/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/developer diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/eapi b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/eapi new file mode 100644 index 0000000000..0cfbf08886 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/eapi @@ -0,0 +1 @@ +2 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/make.defaults new file mode 100644 index 0000000000..15cd73e777 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/make.defaults @@ -0,0 +1,13 @@ +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +# The following files are modified by make_chroot, and we do not want to +# clobber them. All other config files should not be protected, so we +# remove all existing protection (via the -*). +CONFIG_PROTECT=" + -* + /etc/locale.gen + /etc/hosts + /etc/localtime + /etc/make.conf +" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/no-multilib/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/no-multilib/parent new file mode 100644 index 0000000000..521b28aab8 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/no-multilib/parent @@ -0,0 +1,3 @@ +.. +../../../../../arch/amd64/no-multilib +../../../../../features/64bit-native diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/parent new file mode 100644 index 0000000000..605d0438e4 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/parent @@ -0,0 +1,2 @@ +.. +../../../../releases/10.0 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/parent new file mode 100644 index 0000000000..c39901657c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/server diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/profile.bashrc new file mode 100644 index 0000000000..0afc2fa813 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/10.0/server/profile.bashrc @@ -0,0 +1,21 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/amd64/10.0/server/profile.bashrc,v 1.1 2009/08/06 06:33:39 ssuominen Exp $ + +if [[ "${EBUILD_PHASE}" == "setup" ]] +then + if [[ ! "${I_KNOW_WHAT_I_AM_DOING}" == "yes" ]] + then + ewarn "This profile has not been tested thoroughly and is not considered to be" + ewarn "a supported server profile at this time. For a supported server" + ewarn "profile, please check the Hardened project (http://hardened.gentoo.org)." + echo + ewarn "This profile is merely a convenience for people who require a more" + ewarn "minimal profile, yet are unable to use hardened due to restrictions in" + ewarn "the software being used on the server. This profile should also be used" + ewarn "if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this" + ewarn "applies to you, then it doesn't and you should probably be using" + ewarn "Hardened, instead." + echo + fi +fi diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/parent new file mode 100644 index 0000000000..158dd88c5c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/amd64/parent @@ -0,0 +1,3 @@ +../../../base +.. +../../../arch/amd64 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/chromeos/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/chromeos/parent new file mode 100644 index 0000000000..5a8eb20b69 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/chromeos/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/chromeos diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/desktop/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/desktop/parent new file mode 100644 index 0000000000..ad6c5e126f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/desktop/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/desktop diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/developer/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/developer/parent new file mode 100644 index 0000000000..4c893748ce --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/developer/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/developer diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/eapi b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/eapi new file mode 100644 index 0000000000..0cfbf08886 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/eapi @@ -0,0 +1 @@ +2 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/parent new file mode 100644 index 0000000000..605d0438e4 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/parent @@ -0,0 +1,2 @@ +.. +../../../../releases/10.0 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/server/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/server/parent new file mode 100644 index 0000000000..c39901657c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/10.0/server/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/server diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/parent new file mode 100644 index 0000000000..cf8b79e1e2 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/arm/parent @@ -0,0 +1,3 @@ +../../../base +.. +../../../arch/arm diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/make.defaults new file mode 100644 index 0000000000..51527afa55 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/make.defaults @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/make.defaults,v 1.3 2009/09/21 09:39:09 robbat2 Exp $ +# +# System-wide defaults for the Portage system +# See portage(5) manpage +# +# Please avoid enabling things by default in here if possible. Understand any +# implications with core packages. For example, if "java" is in USE and db +# has a conditional dependency on java (which it does,) then a JDK will be +# pulled in during *emerge system*! + +# Default starting set of USE flags for all default/linux profiles. +USE="crypt ipv6 ncurses nls python readline ssl zlib" + +# make sure toolchain has sane defaults +USE="${USE} fortran mudflap openmp" + +# 2006/03/07 - Donnie Berkholz +# Modular X: Support direct rendering by default +USE="${USE} dri" + +# 2006/04/21 - Donnie Berkholz +# Modular X: Build the Xorg X server by default +USE="${USE} xorg" + +# 2006/10/28 - Luca Barbato +# on glibc system you cannot turn it off +USE="${USE} iconv" + +# 2006/06/30 - Donnie Berkholz +# Sane defaults for input drivers +INPUT_DEVICES="keyboard mouse evdev" + +# 2006/08/18 - Donnie Berkholz +# Lowest common denominator defaults for video drivers, +# except hppa, which lacks v4l so removes it in the hppa profile +VIDEO_CARDS="dummy fbdev v4l" + +# 2008/07/09 - Doug Goldstein +# Adding LDFLAGS="-Wl,-O1 for all Linux profiles by default +# after discussion on the gentoo-dev ML. As we bang out a clear +# direction with how LDFLAGS will be set by default, this entry +# may move. +LDFLAGS="-Wl,-O1" + +# 2009/09/21 Robin H. Johnson +# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml +# Build kernel modules from linux-mod by default: +USE="${USE} modules" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.keywords b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.keywords new file mode 100644 index 0000000000..ce24e2203f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.keywords @@ -0,0 +1,49 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +=app-emulation/qemu-kvm-0.15.1-r2 amd64 +=dev-cpp/gflags-1.2 amd64 x86 +=dev-libs/dbus-glib-0.92 amd64 x86 +=dev-libs/glib-2.30.2-r1 amd64 x86 +=dev-util/gdbus-codegen-2.30.2 amd64 x86 + +# Get a newer version of pylint +=dev-python/astng-0.21.1 amd64 +=dev-python/logilab-common-0.53.0 amd64 +=dev-python/pylint-0.23.0 amd64 +=dev-python/pyusb-0.4.3 amd64 + +=app-admin/eselect-opengl-1.2.4 amd64 arm x86 +=app-text/xmlto-0.0.24-r1 amd64 arm x86 +=dev-lang/nasm-2.09.10 amd64 x86 +=dev-util/lcov-1.7 amd64 x86 +=net-libs/libpcap-1.1.1-r1 amd64 arm x86 +=sys-apps/findutils-4.4.2-r1 amd64 arm x86 +=sys-apps/seabios-1.6.3 amd64 +=sys-boot/gnu-efi-3.0i amd64 +=sys-boot/os-prober-1.36 amd64 +=sys-devel/gettext-0.18.1.1-r3 amd64 arm x86 +=x11-libs/pixman-0.17.2 amd64 x86 +=x11-proto/glproto-1.4.14-r1 amd64 arm x86 + +# Needed for curl >= 7.2.1.4 +=net-dns/c-ares-1.7.4 amd64 x86 + +# Once we update past these versions, we should move the +# keywords to the ebuild itself and drop these. +=cross-arm-none-eabi/newlib-1.18.0 arm + +=sys-fs/squashfs-tools-4.2 amd64 x86 + +=dev-util/intltool-0.41.0 amd64 x86 + +# Needed for factory autotest. +=dev-python/pyudev-0.12 amd64 x86 + +# Required by dev-util/cmake-2.8.4-r1 +=app-arch/libarchive-2.8.1 amd64 x86 + +# Requires custom patches before unmasking +=dev-libs/nspr-4.9.2 -* ~arm ~x86 ~amd64 +=dev-libs/nss-3.14 -* ~arm ~x86 ~amd64 +=app-crypt/nss-3.14 -* ~arm ~x86 ~amd64 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.mask new file mode 100644 index 0000000000..3099d9a9fb --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/package.mask @@ -0,0 +1,17 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +# Chrome cannot compile WebKit with gperf 3.0.4 +>dev-util/gperf-3.0.3 + +# The following are here because we override the ebuilds from the +# portage tree for a reason other than adding an ebuild from upstream +# that wasn't yet in our portage tree. We want to keep using our +# version of these packages even if a newer stable version becomes +# available in portage: + +# Custom patches +>=sys-boot/syslinux-3.84 + +# libpng security vulnerability fix + (20 Aug 2009) +# +# Mask oss USE flag for PulseAudio; it's present for compatibility +# with FreeBSD and other operating systems that have no better +# interfaces, but people would probably abuse it with Linux as well. +# +# Older versions also had an OSS compatibility wrapper on that USE so +# they are excluded. +>=media-sound/pulseaudio-0.9.16_rc5 oss + +# If building dpkg with nls it pulls in a bunch of packages, including po4a +# which will hang if output is redirected. This was stalling our buildbots. +app-arch/dpkg nls + +# We don't need integration with cvs, perl, or subversion in git, so we can +# disable these for faster builds. +dev-vcs/git cvs perl subversion + +# We use asynchronous dns resolution instead of threaded dns resolution. +net-misc/curl threads + +# The qemu-kvm package is compiled statically now, and version 0.15.1 +# cannot handle USE=bluetooth and static compilation. We don't actually +# use bluetooth functionality for this package. +app-emulation/qemu-kvm bluetooth + +# Han Shen (16 Mar 2012) +# +# Disable hardened glibc for arm - current glibc for arm port has a bug in +# setjmp.S and __longjmp.S, this needs to be fixed before arm glibc could be +# hardened. +cross-armv7a-cros-linux-gnueabi/glibc hardened + +# Han Shen (21 Mar 2012) +# +# Disable hardened for arm-none-eabi toolchain. +cross-arm-none-eabi/gcc hardened +cross-arm-none-eabi/newlib hardened + +# yasm-python is blocked until we upgrade to python 2.7. +dev-lang/yasm python + +# We don't care about pam support in developer-only tool. +app-misc/screen pam diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages new file mode 100644 index 0000000000..61e2babe4c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages @@ -0,0 +1,14 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/packages,v 1.1 2008/04/01 17:40:05 wolf31o2 Exp $ + +# This file extends the base packages file for the default profile that all +# architectures will enjoy. Please note that default is what most architectures +# will have. Some will have an selinux profile (see ${PORTDIR}/profiles/selinux). +# The idea is to only create a new family of profiles when absolutely necessary. + +# We don't need busybox in our chroot sdk as it is used in upstream Gentoo +# only as a static rescue shell, and that doesn't make sense for us +#*sys-apps/busybox +*sys-apps/man-pages +*sys-apps/util-linux diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages.build b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages.build new file mode 100644 index 0000000000..8e556faa6e --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/packages.build @@ -0,0 +1,42 @@ +# Copyright 2008 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/packages.build,v 1.2 2008/04/06 15:40:55 wolf31o2 Exp $ + +# This file describes the packages needed to build a stage1 based on this +# profile. Packages in this file are built in order. + +# While shadow could be in here, it breaks stage 1 and stage 2 building for the +# releases. PLEASE DO NOT ENABLE THIS UNLESS YOU HAVE THOROUGHLY TESTED IT! + +app-arch/bzip2 +app-arch/gzip +app-arch/tar +app-shells/bash +net-misc/rsync +net-misc/wget +sys-devel/autoconf +sys-devel/automake +sys-devel/libtool +sys-apps/baselayout +sys-apps/coreutils +sys-apps/diffutils +sys-apps/file +sys-apps/findutils +sys-apps/gawk +sys-apps/grep +sys-apps/less +sys-apps/net-tools +sys-apps/sed +sys-apps/texinfo +sys-devel/binutils +sys-devel/bison +sys-devel/flex +sys-devel/gcc +sys-devel/gettext +sys-devel/gnuconfig +sys-devel/make +sys-devel/patch +virtual/editor +virtual/libc +virtual/os-headers +virtual/portage diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/use.mask new file mode 100644 index 0000000000..7811db9ab7 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/use.mask @@ -0,0 +1,14 @@ +# Copyright 2004-2008 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/use.mask,v 1.1 2008/04/01 17:40:05 wolf31o2 Exp $ + +# This file masks out USE flags that are simply NOT allowed in the default +# profile for any architecture. This works, for example, if a non-default +# profile (such as the selinux profiles) have a USE flag associated with +# them. + +# amd64 only: +emul-linux-x86 + +# ppc and x86/amd64 +x264 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/chromeos/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/chromeos/parent new file mode 100644 index 0000000000..5a8eb20b69 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/chromeos/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/chromeos diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/desktop/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/desktop/parent new file mode 100644 index 0000000000..ad6c5e126f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/desktop/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/desktop diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/developer/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/developer/parent new file mode 100644 index 0000000000..4c893748ce --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/developer/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/developer diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/eapi b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/eapi new file mode 100644 index 0000000000..0cfbf08886 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/eapi @@ -0,0 +1 @@ +2 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/parent new file mode 100644 index 0000000000..605d0438e4 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/parent @@ -0,0 +1,2 @@ +.. +../../../../releases/10.0 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/parent new file mode 100644 index 0000000000..c39901657c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/parent @@ -0,0 +1,2 @@ +.. +../../../../../targets/server diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/profile.bashrc new file mode 100644 index 0000000000..f9d490896d --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/10.0/server/profile.bashrc @@ -0,0 +1,21 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/x86/10.0/server/profile.bashrc,v 1.1 2009/08/06 07:29:54 ssuominen Exp $ + +if [[ "${EBUILD_PHASE}" == "setup" ]] +then + if [[ ! "${I_KNOW_WHAT_I_AM_DOING}" == "yes" ]] + then + ewarn "This profile has not been tested thoroughly and is not considered to be" + ewarn "a supported server profile at this time. For a supported server" + ewarn "profile, please check the Hardened project (http://hardened.gentoo.org)." + echo + ewarn "This profile is merely a convenience for people who require a more" + ewarn "minimal profile, yet are unable to use hardened due to restrictions in" + ewarn "the software being used on the server. This profile should also be used" + ewarn "if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this" + ewarn "applies to you, then it doesn't and you should probably be using" + ewarn "Hardened, instead." + echo + fi +fi diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/parent b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/parent new file mode 100644 index 0000000000..03cb31cedb --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/default/linux/x86/parent @@ -0,0 +1,3 @@ +../../../base +.. +../../../arch/x86 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/make.defaults new file mode 100644 index 0000000000..de1ee948dd --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/make.defaults @@ -0,0 +1,13 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/64bit-native/make.defaults,v 1.2 2008/11/14 15:43:49 darkside Exp $ + +# We disable the symlink, since we won't be using it. +SYMLINK_LIB="yes" + +USE="-gcc64" +STAGE1_USE="nptl nptlonly unicode" + +# Since we're doing a pure 64-bit, we want LIBDIR to be lib64 +LIBDIR_amd64="lib64" +LIBDIR_ppc64="lib64" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/package.mask new file mode 100644 index 0000000000..4e31f1ab30 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/package.mask @@ -0,0 +1,177 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/64bit-native/package.mask,v 1.30 2009/09/16 20:18:08 ulm Exp $ + +# AMD64 Team +# Mask packages that rely on amd64 multilib +app-accessibility/mbrola +app-accessibility/perlbox-voice +app-antivirus/bitdefender-console +app-antivirus/f-prot + +# ifc masked +sci-libs/acml ifc + +# Alexis Ballier (13 Aug 2009) +# Requires wine +media-sound/lmms vst diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/profile.bashrc new file mode 100644 index 0000000000..71acdf820a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/profile.bashrc @@ -0,0 +1,18 @@ +# Here we remove any ABI that isn't native. +case ${ARCH} in + mips) + # Both n32 and n64 are 64-bit kernel and userland. + # n64 is 64-bit pointers/long + # n32 is 32-bit pointers/long + case ${USE} in + n32) + export CFLAGS="${CFLAGS/-mabi=*/-mabi=n32}" + export CXXFLAGS="${CFLAGS}" + ;; + n64) + export CFLAGS="${CFLAGS/-mabi=*/-mabi=64}" + export CXXFLAGS="${CFLAGS}" + ;; + esac + ;; +esac diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.force new file mode 100644 index 0000000000..78a0ced5d8 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.force @@ -0,0 +1,2 @@ +# Force disable multilib USE flag +-multilib diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.mask new file mode 100644 index 0000000000..5c306fc607 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/64bit-native/use.mask @@ -0,0 +1,25 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/64bit-native/use.mask,v 1.6 2009/09/15 18:23:00 ssuominen Exp $ + +# USE flags masked because providing packages require a 32-bit ABI + +# 2007/08/29 Christoph Mende +# app-accessibility/mbrola is x86 only +mbrola + +# 2006/05/04 Chris Gianelloni +# games-fps/quake3-teamarena is 32-bit +teamarena + +# 2007/08/24 Michael Marineau +# Xen HVM support requires building 32-bit binaries. +hvm + +# 2008/02/13 - Chris Gianelloni +# Mask multilib, since we cannot use it. +multilib + +# 2009/05/11 Doug Goldstein +# Mask 32bit since this will always require emulation packages +32bit diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/kernel-next/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/features/kernel-next/package.use new file mode 100644 index 0000000000..c7426aafe9 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/kernel-next/package.use @@ -0,0 +1,2 @@ +virtual/linux-sources kernel_next +virtual/perf kernel_next diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/make.defaults new file mode 100644 index 0000000000..18eaa53908 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/make.defaults @@ -0,0 +1,13 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/multilib/lib32/make.defaults,v 1.2 2011/03/21 04:39:31 vapier Exp $ + +# Let baselayout create the lib symlink. +SYMLINK_LIB="yes" + +# 32-bit LIBDIR +LIBDIR_ppc="lib32" +LIBDIR_x86="lib32" +LIBDIR_x86_fbsd="lib32" +LIBDIR_sparc32="lib32" +LIBDIR_s390="lib32" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/parent b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/parent new file mode 100644 index 0000000000..f3229c5b98 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/lib32/parent @@ -0,0 +1 @@ +.. diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/make.defaults new file mode 100644 index 0000000000..d7109b1cce --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/make.defaults @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/multilib/make.defaults,v 1.8 2011/12/07 19:21:37 vapier Exp $ + +# Jorge Manuel B. S. Vicetto (16 Nov 2011) +# Rename STAGE1_USE to BOOTSTRAP_USE and stack it to the parent value +# This is so we build with multilib from the start +BOOTSTRAP_USE="${BOOTSTRAP_USE} multilib" + +# FEATURES="multilib-strict" specific settings. +MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" +MULTILIB_STRICT_DENY="64-bit.*shared object" +MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)" + +# 64-bit LIBDIR +LIBDIR_amd64="lib64" +LIBDIR_amd64_fbsd="lib64" +LIBDIR_n64="lib64" # MIPS n64 +LIBDIR_ppc64="lib64" +LIBDIR_s390x="lib64" +LIBDIR_sparc64="lib64" + +# 32-bit LIBDIR +LIBDIR_x86="lib" +LIBDIR_x86_fbsd="lib" +LIBDIR_o32="lib" # MIPS o32 +LIBDIR_ppc="lib" +LIBDIR_s390="lib" +LIBDIR_sparc32="lib" + +# Somewhere in-between! +LIBDIR_x32="libx32" # x86-64 x32 +LIBDIR_n32="lib32" # MIPS n32 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/package.use.mask new file mode 100644 index 0000000000..c705bca0e5 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/package.use.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/multilib/package.use.mask,v 1.1 2012/09/20 11:42:57 chithanh Exp $ + +# Matt Turner (19 Sep 2012) +# multilib requires 32-bit libGL provided by emul-linux-x86-opengl +# but also collides with 32-bit libGLU installed by emul-linux-x86-opengl +media-libs/glu multilib diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.force b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.force new file mode 100644 index 0000000000..e5a5660bc2 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.force @@ -0,0 +1,2 @@ +# Force enable multilib USE flag +multilib diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.mask new file mode 100644 index 0000000000..cf7412dbac --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/features/multilib/use.mask @@ -0,0 +1,9 @@ +# Copyright 2004-2008 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/multilib/use.mask,v 1.1 2008/04/01 17:41:09 wolf31o2 Exp $ + +# SECTION: Unmask + +# 2008/02/13 - Chris Gianelloni +# Unmask multilib, since we need to use it. +-multilib diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/license_groups b/sdk_container/src/third_party/coreos-overlay/profiles/license_groups new file mode 100644 index 0000000000..21c23a8b89 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/license_groups @@ -0,0 +1,7 @@ +# This lists groups of licenses by short names. If you want to +# modify the licenses that you accept, use the --accept_licenses +# flag when running setup_board. + +# List of all the non-free licenses that we use in ChromeOS. +# People building ChromiumOS have to accept these themselves. +CHROMEOS Google-TOS NVIDIA NVIDIA-codecs diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/eapi b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/eapi new file mode 100644 index 0000000000..0cfbf08886 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/eapi @@ -0,0 +1 @@ +2 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/make.defaults new file mode 100644 index 0000000000..90b846daab --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/make.defaults @@ -0,0 +1,6 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/10.0/make.defaults,v 1.1 2009/08/06 06:30:30 ssuominen Exp $ + +# Adding this one, since it makes sense. +USE="${USE} bzip2" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/packages b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/packages new file mode 100644 index 0000000000..ae64e477b6 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/packages @@ -0,0 +1,17 @@ +# Copyright 2001-2009 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/10.0/packages,v 1.2 2009/08/17 18:54:28 darkside Exp $ + +# For instructions on how this file works (as an inclusion mask, primarily), +# please refer to ${PORTDIR}/profiles/base/packages + +# Use this file to lock down specific versions of packages ONLY TO THIS +# SPECIFIC PROFILE! + +# You can also add files to the base system itself if you prefix them with a +# * + +>=sys-apps/baselayout-1.12.10-r5 +>=sys-devel/binutils-2.18-r1 +>=sys-libs/glibc-2.4-r4 +>=sys-apps/portage-2.1.6.8 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/parent b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/parent new file mode 100644 index 0000000000..f3229c5b98 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/releases/10.0/parent @@ -0,0 +1 @@ +.. diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/releases/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/releases/make.defaults new file mode 100644 index 0000000000..c6021b9694 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/releases/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/make.defaults,v 1.2 2008/07/29 14:47:28 wolf31o2 Exp $ + +# These USE flags are what is common between the various sub-profiles. Stages 2 +# and 3 are built against these, so be careful what you add. +USE="acl nptl nptlonly sysfs unicode" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/repo_name b/sdk_container/src/third_party/coreos-overlay/profiles/repo_name new file mode 100644 index 0000000000..5506310b13 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/repo_name @@ -0,0 +1 @@ +chromiumos diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/make.defaults new file mode 100644 index 0000000000..e40fdc9c03 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/make.defaults @@ -0,0 +1,9 @@ +# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +USE="acpi bluetooth cairo opengl usb X pam" + +USE="${USE} -acl -cracklib -gpm -ipv6 -openmp -python -sha512" +USE="${USE} -fortran -abiword -perl -cups -poppler-data -nls" + +CONFIG_PROTECT="/etc/make.globals" diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.keywords b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.keywords new file mode 100644 index 0000000000..f958d00aab --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.keywords @@ -0,0 +1,125 @@ +# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +=app-admin/rsyslog-3.22.1 amd64 arm x86 +=app-arch/tar-1.23-r4 amd64 arm x86 +=app-benchmarks/i7z-0.27-r1 amd64 x86 +=app-editors/nano-2.2.5 amd64 arm x86 +=app-i18n/libhangul-0.0.10 amd64 arm x86 +=app-i18n/zinnia-0.06-r1 amd64 arm x86 +=app-misc/ddccontrol-0.4.2 amd64 arm x86 +=app-misc/ddccontrol-db-20061014 amd64 arm x86 +=dev-cpp/gflags-1.2 amd64 arm x86 +=dev-db/m17n-contrib-1.1.10-r1 amd64 arm x86 +=dev-db/m17n-db-1.6.1-r2 amd64 arm x86 +=dev-db/sqlite-3.6.22-r2 amd64 arm x86 +=dev-libs/atk-1.32.0-r1 amd64 arm x86 +=dev-libs/check-0.9.8 amd64 arm x86 +=dev-libs/dbus-c++-0.0.1 amd64 arm x86 +=dev-libs/dbus-glib-0.92 amd64 arm x86 +=dev-libs/eggdbus-0.5 amd64 arm x86 +=dev-libs/engine_pkcs11-0.1.8 amd64 arm x86 +=dev-libs/glib-2.30.2-r1 amd64 arm x86 +=dev-libs/libchewing-0.3.2-r1 amd64 arm x86 +=dev-libs/libffi-3.0.9-r2 amd64 arm x86 +=dev-libs/libgpg-error-1.10-r1 amd64 arm x86 +=dev-libs/libp11-0.2.7 amd64 arm x86 +=dev-libs/m17n-lib-1.6.1-r1 amd64 arm x86 +=dev-libs/protobuf-2.2.0 amd64 arm x86 +=dev-libs/libusb-1.0.6 amd64 arm x86 +=dev-python/numpy-1.4.0 amd64 arm x86 +=dev-python/python-xlib-0.14 amd64 arm x86 +=dev-python/pyudev-0.12 amd64 arm x86 +=dev-python/pyusb-0.4.3 amd64 arm x86 +=dev-python/pyxdg-0.17-r1 amd64 arm x86 +=dev-python/pyyaml-3.09 amd64 arm x86 +=dev-util/gdbus-codegen-2.30.2 amd64 arm x86 +=dev-util/intltool-0.41.0 amd64 arm x86 +=dev-util/strace-4.5.20-r2 amd64 arm x86 +=dev-util/xxd-1.10 amd64 arm x86 +=gnome-base/orbit-2.14.17 amd64 arm x86 +=media-fonts/ja-ipafonts-003.02 amd64 arm x86 +=media-gfx/perceptualdiff-1.1.1 amd64 arm x86 +=media-libs/freeglut-2.4.0-r2 amd64 arm x86 +=media-libs/freeimage-3.13.1 amd64 arm x86 +=media-libs/jpeg-6b-r9 amd64 arm x86 +=media-sound/alsa-headers-1.0.24 amd64 arm x86 +=net-analyzer/netperf-2.4.4 amd64 arm x86 +=net-dialup/ppp-2.4.5-r3 amd64 arm x86 +=net-dialup/xl2tpd-1.3.0-r1 amd64 arm x86 +=net-libs/gnutls-2.9.5 amd64 arm x86 +=net-libs/libsoup-2.28.2 amd64 arm x86 +=net-libs/libtirpc-0.2.0 amd64 arm x86 +=net-misc/dhcp-4.2.2-r1 amd64 arm x86 +=net-misc/dhcpcd-5.1.1 amd64 arm x86 +=net-misc/iperf-2.0.4 amd64 arm x86 +=net-misc/modemmanager-0.2_p20090925 amd64 arm x86 +=net-misc/wget-1.12-r2 amd64 arm x86 +=sys-auth/pam_pwdfile-0.99-r1 amd64 arm x86 +=sys-apps/baselayout-2.0.1 amd64 arm x86 +=sys-apps/busybox-1.15.3 amd64 arm x86 +=sys-apps/dbus-1.2.20-r4 amd64 arm x86 +=sys-apps/fakeroot-1.12.4 amd64 arm x86 +=sys-apps/flashrom-0.9.1 amd64 x86 +=sys-apps/i2c-tools-3.0.2 amd64 arm x86 +=sys-apps/keyutils-1.1 amd64 arm x86 +=sys-apps/net-tools-1.60_p20090728014017-r1 amd64 arm x86 +=sys-apps/openrc-0.4.3-r4 amd64 arm x86 +=sys-apps/rescan-scsi-bus-1.29 amd64 arm x86 +=sys-apps/sg3_utils-1.27.20090411 amd64 arm x86 +=sys-apps/sysvinit-2.86-r12 amd64 arm x86 +=sys-apps/usbutils-0.86-r1 amd64 arm x86 +=sys-apps/util-linux-2.16.1 amd64 arm x86 +=sys-auth/consolekit-0.3.0-r3 amd64 arm x86 +=sys-auth/polkit-0.100 amd64 x86 arm +=sys-devel/clang-2.8-r3 amd64 arm x86 +=sys-devel/gdb-7.1 amd64 arm x86 +=sys-fs/ecryptfs-utils-91 amd64 arm x86 +=sys-fs/fuse-2.7.4-r2 amd64 arm x86 +=sys-fs/avfs-1.0.0 amd64 arm x86 +=sys-fs/lvm2-2.02.73-r1 amd64 arm x86 +=sys-fs/squashfs-4.2 amd64 arm x86 +=sys-fs/udev-171-r2 amd64 arm x86 +=sys-block/btrace-1.0.0 amd64 arm x86 +=x11-libs/libdrm-2.4.24 amd64 arm x86 +=sys-libs/libhx-3.1 amd64 arm x86 +=sys-libs/zlib-1.2.5-r2 amd64 arm x86 +=sys-power/powertop-1.98 amd64 arm x86 +=x11-apps/xinput_calibrator-0.7.5 arm +=x11-libs/gtk+-2.20.1 amd64 arm x86 +=x11-libs/pixman-0.17.2 amd64 arm x86 +=x11-misc/shared-mime-info-0.70 amd64 arm x86 +=x11-misc/slim-1.3.1-r5 amd64 arm x86 +=x11-misc/xkeyboard-config-1.7 amd64 arm x86 +=x11-proto/glproto-1.4.14-r1 amd64 arm x86 + +# Needed for curl >= 7.23.1 +=net-dns/c-ares-1.7.5 amd64 arm x86 + +# Needed for xorg server >=1.7.x +=x11-libs/libX11-1.3.3 amd64 arm x86 +=x11-libs/libxcb-1.5-r1 amd64 arm x86 +=x11-libs/libXext-1.1.1 amd64 arm x86 +=x11-libs/libXi-1.3 amd64 arm x86 +=x11-libs/libXinerama-1.1 amd64 arm x86 +=x11-libs/libXtst-1.1.0 amd64 arm x86 +=x11-libs/libXxf86vm-1.1.0 amd64 arm x86 +=x11-proto/dri2proto-2.3 amd64 arm x86 +=x11-proto/fixesproto-4.1.1 amd64 arm x86 +=x11-proto/inputproto-2.0 amd64 arm x86 +=x11-proto/recordproto-1.14 amd64 arm x86 +=x11-proto/xextproto-7.1.1 amd64 arm x86 +=x11-proto/xineramaproto-1.2 amd64 arm x86 +=x11-proto/xf86dgaproto-2.1 amd64 arm x86 +=x11-proto/xf86vidmodeproto-2.3 amd64 arm x86 + +# TODO: Remove when we have a proper chrome package. +=www-client/chromium-bin-4.0.222.4_p28661 amd64 arm x86 + +# If a newer version of chrome causes flaky failure, you can add +# something like below, which assumes 15.0.859.0_rc-r1 was the +# last non-flaky version. +# This pins Chrome to the version below by marking more recent versions as unstable. +#>chromeos-base/chromeos-chrome-22.0.1229.1_rc-r1 -amd64 -arm -x86 ~amd64 ~arm ~x86 + +=dev-embedded/openocd-0.4.0 amd64 x86 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.mask new file mode 100644 index 0000000000..9e653c1810 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.mask @@ -0,0 +1,45 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +# TODO: ARM is temporarily stuck on mesa-7.5.1-r1 but x86 uses a newer +# version so we mask out only mesa-7.5.2 here. This is a temporary measure +# until we can get per-board cascading profile support. +=media-libs/mesa-7.5.2 + +# TODO: Fix lsof to cross compile on ARM +>sys-process/lsof-4.81-r2 + +# libpng security vulnerability fix +net-dialup/ppp-2.4.5-r3 + +# Cross compile fix in the ebuild (Icedtea -> cups -> libgcrypt). +>dev-libs/libgcrypt-1.4.6 + +# Masked all upstream ebuilds, unupstreamable work in local copy +>=net-misc/dhcpcd-5.1.5 + +# Masked all upstream ebuilds +>=net-wireless/wpa_supplicant-0.7.3 + +# Masked old packages that had old ${PV} numbering scheme +>=app-i18n/ibus-mozc-29 + +# Custom patches +>=sys-boot/syslinux-3.84 + +# chromeos-chrome-14.0.787.0_rc-1 causes test failures, so block it. +# TODO(davidjames): Remove this once the bug is fixed. +=chromeos-base/chromeos-chrome-14.0.787.0_rc-r1 + +# This is unloved by mesa, and should never be pulled into the targets. +# It is actually for clang and ASAN that we want to have edge versions. +=sys-devel/llvm-3.2_pre* diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.provided b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.provided new file mode 100644 index 0000000000..8ecce477c7 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.provided @@ -0,0 +1,91 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +# This file lists packages that ebuilds DEPEND on, sometimes implicitly, +# but really are only needed on the build host. This allows us to use +# --root-deps without "--rootdeps=rdeps" to install package DEPEND into +# the sysroot as part of the build process without also having to cross- +# compile and drag in the below packages as dependencies. See "man portage". + +# NOTE: Toolchain packages (gcc, glibc, binutils) are specified in the +# dynamically generated ${BOARD_DIR}/etc/portage/profile/package.provided +# created by the setup_board script. + +app-admin/eselect-1.2.9 +app-admin/eselect-esd-20060719 +app-admin/eselect-fontconfig-1.0 +app-admin/eselect-opengl-1.0.8-r1 +app-admin/eselect-mesa-0.0.8 +app-admin/eselect-vi-1.1.5 + +app-arch/cabextract-1.2-r1 +app-arch/rpm2targz-9.0.0.3g +app-arch/unzip-6.0-r1 + +# Needed for building Icedtea +app-arch/zip-3.0 + +# For board targets we get the root certificate list +# from chromeos-base/root-certificates. +app-misc/ca-certificates-20090709-r6 + +app-portage/portage-utils-0.1.29 + +app-text/build-docbook-catalog-1.4 +app-text/docbook-xsl-stylesheets-1.75.2 +app-text/texi2html-1.76 + +dev-lang/nasm-2.07 +dev-lang/perl-5.8.8-r5 + +# Needed for building Icedtea +dev-java/ant-core-1.7.1-r4 +dev-java/xalan-2.7.1 +dev-java/xerces-2.9.1 + +# Needed for the xsltproc command line tool +dev-libs/libxslt-1.1.24-r1 + +dev-perl/Crypt-PasswdMD5-1.3 +dev-perl/Digest-SHA1-2.11 +dev-perl/XML-Parser-2.36 + +dev-util/cmake-2.8.6 +dev-util/ctags-5.7 +dev-util/gperf-3.0.3 +dev-util/gtk-doc-1.13-r3 +dev-util/gtk-doc-am-1.13-r2 +dev-util/pkgconfig-0.23 + +dev-vcs/git-1.6.4.4 +dev-vcs/subversion-1.6.9 + +perl-core/digest-base-1.16 +perl-core/MIME-Base64-3.08 + +sys-apps/debianutils-3.1.3-r1 +sys-apps/help2man-1.36.4 + +# Needed for building Icedtea +sys-apps/lsb-release-1.4 + +sys-apps/texinfo-4.13 + +sys-devel/autoconf-2.63-r1 +sys-devel/automake-1.10.2 +sys-devel/bc-1.06.95 +sys-devel/bison-2.3 +sys-devel/gettext-0.18.1-r1 +sys-devel/gnuconfig-20090203 +sys-devel/m4-1.4.12 + +sys-kernel/gentoo-sources-2.6.30-r6 + +x11-apps/mkfontscale-1.0.6 +x11-misc/makedepend-1.0.1 + +# Legacy font map encodings which we don't care about. http://crosbug.com/25001 +media-fonts/encodings-1.0.3 + +# Our chromeos-base package takes care of this. +app-misc/editor-wrapper-4 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.unmask b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.unmask new file mode 100644 index 0000000000..815efd4d1e --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.unmask @@ -0,0 +1,4 @@ +# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +>=net-misc/dhcp-4.2.2-r1 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use new file mode 100644 index 0000000000..acb94c3ca2 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use @@ -0,0 +1,74 @@ +# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +app-admin/rsyslog -ssl +app-benchmarks/i7z -X +app-crypt/tpm-tools pkcs11 +app-i18n/zinnia -perl +app-editors/qemacs -X +app-editors/vim minimal +dev-cpp/glog gflags +dev-lang/python -berkdb gdbm +dev-libs/dbus-glib tools +dev-libs/elfutils -utils +dev-libs/glib -doc +dev-libs/nss -utils +dev-libs/opencryptoki tpmtok +dev-libs/opensc ssl -pcsc-lite +dev-libs/openssl pkcs11 +dev-libs/protobuf python +dev-python/pyudev pygobject +dev-util/dialog -unicode minimal +dev-util/perf -doc -demangle -tui -ncurses -perl -python +dev-util/perf-next -doc -demangle -tui -ncurses -perl -python +chromeos-base/chromeos-chrome build_tests +chromeos-base/vboot_reference minimal +media-gfx/imagemagick png +media-libs/freeimage png +media-libs/libdvdread -css +media-libs/libsndfile minimal +# disabled in profiles/default/linux/package.use +media-libs/mesa llvm gallium classic +media-libs/opencv gtk python png jpeg tiff v4l +media-sound/pulseaudio bluetooth dbus -esd +media-video/mplayer cpudetection fbcon -encode -ass -a52 -cdio -dirac -dts -dv -dvd -dvdnav -enca -faac -faad -live -quicktime -mp3 -rar -real -speex -schroedinger -theora -tremor -toolame -twolame -vorbis -xscreensaver -x264 -xv -xvid +net-analyzer/tcpdump -chroot +net-firewall/iptables ipv6 +net-libs/libsoup -ssl +# for curl-7.19.6 turning on ipv6 use flag will turn off ares +net-misc/curl ares +net-misc/dhcpcd crash +net-misc/dhcp ipv6 -server +net-misc/iperf threads +net-misc/iputils ipv6 +net-misc/ntp caps +net-misc/openssh -X +net-misc/openvpn pkcs11 +net-misc/strongswan cisco nat-transport +net-nds/openldap minimal +net-proxy/tsocks tordns +net-wireless/bluez alsa -consolekit -readline +net-wireless/bluez-test alsa -consolekit -readline test-programs +net-wireless/wpa_supplicant dbus debug -readline ssl +sci-geosciences/gpsd -python -ntp -X dbus garmin minimal ocean tntc usb -sockets +sys-apps/busybox -pam -selinux +sys-apps/dbus -X +sys-apps/iproute2 ipv6 +# mosys: crosbug.com/p/11630 +sys-apps/mosys static +sys-apps/smartmontools minimal +sys-auth/consolekit policykit +sys-auth/polkit -introspection +sys-block/parted device-mapper +sys-fs/lvm2 -lvm1 -readline -static +sys-fs/ntfs3g -crypt -external-fuse ntfsprogs suid +sys-fs/udev -devfs-compat -rule_generator hwdb acl gudev +sys-fs/squashfs lzo +sys-libs/gdbm -berkdb +sys-libs/ncurses minimal +sys-libs/pam -berkdb +sys-libs/zlib static-libs +x11-apps/xinit minimal +x11-base/xorg-server -suid +x11-libs/libdrm libkms +x11-libs/libdrm-tests libkms diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use.mask b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use.mask new file mode 100644 index 0000000000..3023e13059 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/package.use.mask @@ -0,0 +1,26 @@ +# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +# Brian Stell (27 August 2010) +# For Chromium OS enable FreeType sub-pixel anti-aliasing and bytecode +# interpreter +media-libs/freetype bindist + +# Jungshik Shin (14 Feb 2011) +# ACPI support is currently disabled in laptop-mode-tools. +# TODO(davidjames): Should it be enabled? +app-laptop/laptop-mode-tools acpi + +# Allow hardened glibc on the target. +sys-libs/glibc -hardened diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/profile.bashrc new file mode 100644 index 0000000000..9726a6cd20 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/profile.bashrc @@ -0,0 +1,27 @@ +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Locate all the old style config scripts this package installs. Do it here +# here so we can search the temp $D which has only this pkg rather than the +# full ROOT which has everyone's files. +cros_pre_pkg_preinst_wrap_old_config_scripts() { + # Only wrap when installing into a board sysroot. + [[ $(cros_target) != "board_sysroot" ]] && return 0 + + local wrappers=$( + find "${D}"/usr/bin -name '*-config' -printf '%P ' 2>/dev/null + ) + + local wdir="${CROS_BUILD_BOARD_TREE}/bin" + mkdir -p "${wdir}" + + local c w + for w in ${wrappers} ; do + w="${wdir}/${CHOST}-${w}" + c="${CROS_ADDONS_TREE}/scripts/config_wrapper" + if [[ ! -e ${w} ]] ; then + ln -s "${c}" "${w}" + fi + done +} diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/virtuals b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/virtuals new file mode 100644 index 0000000000..2d1c9ba662 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/targets/chromeos/virtuals @@ -0,0 +1,2 @@ +# Add virtual packages for this profile +virtual/chromeos-bsp-dev chromeos-base/chromeos-bsp-dev-null diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 b/sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 new file mode 100644 index 0000000000..d2c877d9ab --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/updates/1Q-2012 @@ -0,0 +1,3 @@ +move virtual/kernel virtual/linux-sources +slotmove =media-libs/jpeg-6b-r9 62 0 +slotmove