The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / support / dependencies / check-host-tar.mk
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/support/dependencies/check-host-tar.mk b/cirros-testvm/src-cirros/buildroot-2015.05/support/dependencies/check-host-tar.mk
new file mode 100644 (file)
index 0000000..9729507
--- /dev/null
@@ -0,0 +1,9 @@
+TAR ?= tar
+
+ifeq (,$(call suitable-host-package,tar,$(TAR)))
+DEPENDENCIES_HOST_PREREQ += host-tar
+TAR = $(HOST_DIR)/usr/bin/tar
+endif
+
+# Since TAR is at least 1.17, it will certainly support --strip-components
+TAR_STRIP_COMPONENTS = --strip-components