summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2017-11-30 09:31:40 +0000
committerGerrit Code Review <review@openstack.org>2017-11-30 09:31:40 +0000
commitbfd61258ba7fbf7842862a4264c79210f8516ba8 (patch)
tree27cd633cb4010222823254f4735313d5a8cf27f3
parent5677a30a5a83b8e12d86a86972ce4e7c15b66be9 (diff)
parent7223f2ce203908b3154b3c409263b9aa6f0672dd (diff)
Merge "Add the groundwork for musl profile support"
-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