summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <mthode@mthode.org>2017-11-01 00:48:50 -0500
committerIan Wienand <iwienand@redhat.com>2017-11-30 18:17:21 +1100
commit7223f2ce203908b3154b3c409263b9aa6f0672dd (patch)
tree60d79e8130f209a878acec49e51c76ff6f82d1b4
parent6a28810ad8559f9330dfad978cc22a1f0d40d64c (diff)
Add the groundwork for musl profile support
At the moment all musl needs in addition to an official stage4 file is a few keywords and use flag changes. Change-Id: Ibf4a6d616aca1aef876967e2aa34170c96ac9ef8
Notes
Notes (review): Code-Review+1: Robin H. Johnson <robbat2@gentoo.org> Code-Review+1: Adam Harwell <flux.adam@gmail.com> Code-Review+2: Ian Wienand <iwienand@redhat.com> Workflow+1: Ian Wienand <iwienand@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 30 Nov 2017 09:31:40 +0000 Reviewed-on: https://review.openstack.org/516844 Project: openstack/diskimage-builder Branch: refs/heads/master
-rwxr-xr-xdiskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags6
1 files changed, 6 insertions, 0 deletions
diff --git a/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags b/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags
index b80b70c..eda80b0 100755
--- a/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags
+++ b/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-02-flags
@@ -21,3 +21,9 @@ echo 'sys-boot/grub device-mapper' >> /etc/portage/package.use/grub
21 21
22# needed in order to install pip packages as root 22# needed in order to install pip packages as root
23echo '=dev-python/pip-9.0.1-r2 ~amd64' >> /etc/portage/package.keywords/pip 23echo '=dev-python/pip-9.0.1-r2 ~amd64' >> /etc/portage/package.keywords/pip
24
25if [[ "${GENTOO_PROFILE}" == *"musl"* ]]; then
26 echo "dev-vcs/git -gpg" >> /etc/portage/package.use/musl # gpg doesn't build on musl profiles
27 echo "=sys-block/open-iscsi-2.0.874-r1 ~amd64" >> /etc/portage/package.keywords/musl
28 echo "=sys-block/open-isns-0.97 ~amd64" >> /etc/portage/package.keywords/musl
29fi