summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bldr.toml25
-rw-r--r--habitat-packages/chef-client/plan.sh5
2 files changed, 29 insertions, 1 deletions
diff --git a/.bldr.toml b/.bldr.toml
index 190969c79d..f86b5e682d 100644
--- a/.bldr.toml
+++ b/.bldr.toml
@@ -4,6 +4,19 @@ build_targets = [
"x86_64-linux",
"x86_64-linux-kernel2"
]
+paths = [
+ "bin",
+ "chef-bin",
+ "chef-config",
+ "ci",
+ "distro",
+ "ext",
+ "habitat-packages",
+ "lib",
+ "omnibus", # TODO: Evaluate if we really need this in the future
+ "tasks",
+]
+
[scaffolding-chef]
plan_path = "habitat-packages/scaffolding-chef"
build_targets = [
@@ -11,3 +24,15 @@ build_targets = [
"x86_64-linux-kernel2"
# "x86_64-windows" --- TODO: Expeditor does not currently support Windows, but will in the coming weeks. Uncomment me soon!
]
+paths = [
+ "bin",
+ "chef-bin",
+ "chef-config",
+ "ci",
+ "distro",
+ "ext",
+ "habitat-packages",
+ "lib",
+ "omnibus", # TODO: Evaluate if we really need this in the future
+ "tasks",
+]
diff --git a/habitat-packages/chef-client/plan.sh b/habitat-packages/chef-client/plan.sh
index 5569999a12..8d5f811d0d 100644
--- a/habitat-packages/chef-client/plan.sh
+++ b/habitat-packages/chef-client/plan.sh
@@ -2,7 +2,6 @@ pkg_name=chef-client
pkg_origin=chef
pkg_maintainer="The Chef Maintainers <humans@chef.io>"
pkg_description="The Chef Client"
-pkg_version=$(cat ../VERSION)
pkg_license=('Apache-2.0')
pkg_filename=${pkg_dirname}.tar.gz
pkg_bin_dirs=(bin)
@@ -10,6 +9,10 @@ pkg_build_deps=(core/make core/gcc core/git)
pkg_deps=(core/glibc core/ruby26 core/libxml2 core/libxslt core/libiconv core/xz core/zlib core/bundler core/openssl core/cacerts core/libffi core/coreutils core/libarchive)
pkg_svc_user=root
+pkg_version() {
+ cat "$SRC_PATH/VERSION"
+}
+
do_before() {
do_default_before
update_pkg_version