From d8907e78b578cca6c238aed785fbd7b655a6ed76 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 8 Feb 2018 10:04:33 -0800 Subject: [PATCH] cache-url requires curl In some cases cache-url can get pulled in without curl, causing it to fail. Co-Authored-By: Adam Harwell Change-Id: Ibd66c2ca4f8cc423783555d8a99b1184f43adff2 --- diskimage_builder/elements/cache-url/element-deps | 1 + diskimage_builder/elements/cache-url/package-installs.yaml | 1 + diskimage_builder/elements/cache-url/pkg-map | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 diskimage_builder/elements/cache-url/element-deps create mode 100644 diskimage_builder/elements/cache-url/package-installs.yaml create mode 100644 diskimage_builder/elements/cache-url/pkg-map diff --git a/diskimage_builder/elements/cache-url/element-deps b/diskimage_builder/elements/cache-url/element-deps new file mode 100644 index 00000000..7076aba9 --- /dev/null +++ b/diskimage_builder/elements/cache-url/element-deps @@ -0,0 +1 @@ +package-installs diff --git a/diskimage_builder/elements/cache-url/package-installs.yaml b/diskimage_builder/elements/cache-url/package-installs.yaml new file mode 100644 index 00000000..ed6f3762 --- /dev/null +++ b/diskimage_builder/elements/cache-url/package-installs.yaml @@ -0,0 +1 @@ +curl: diff --git a/diskimage_builder/elements/cache-url/pkg-map b/diskimage_builder/elements/cache-url/pkg-map new file mode 100644 index 00000000..fa4fd956 --- /dev/null +++ b/diskimage_builder/elements/cache-url/pkg-map @@ -0,0 +1,7 @@ +{ + "distro": { + "gentoo": { + "curl": "net-misc/curl" + } + } +}