Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bootstrap tools an opt-in option when making chroot env. #125

Merged
merged 1 commit into from
Jan 7, 2016

Conversation

fnichol
Copy link
Collaborator

@fnichol fnichol commented Jan 4, 2016

This change replaces the metal Makefile targets with chroot. That
is, make metal, make metal-shell and make metal-destroy have been
replaced by make chroot, make chroot-shell and make chroot-destroy
respectively.

This change also alters the behavior of creating the chroot environments
for Docker containers, virtual machines, and bare metal. Now, the
tarballs required to populate the /tools directory are not added
to the chroot, leaving a pristine environment with no foreign software.

Until the basic build toolchain is complete (i.e. all software that is
being used in /tools), this directory is still required and can be
used by adding use_bootstrap_tools=true environment varible to the
various make commands:

  • make image use_bootstrap_tools=true
  • make vm use_bootstrap_tools=true
  • make chroot use_bootstrap_tools=true

This change replaces the `metal` Makefile targets with `chroot`. That
is, `make metal`, `make metal-shell` and `make metal-destroy` have been
replaced by `make chroot`, `make chroot-shell` and `make chroot-destroy`
respectively.

This change also alters the behavior of creating the chroot environments
for Docker containers, virtual machines, and bare metal. Now, the
tarballs required to populate the `/tools` directory are **not** added
to the chroot, leaving a pristine environment with no foreign software.

Until the basic build toolchain is complete (i.e. all software that is
being used in `/tools`), this directory is still required and can be
used by adding `use_bootstrap_tools=true` environment varible to the
various `make` commands:

* `make image use_bootstrap_tools=true`
* `make vm use_bootstrap_tools=true`
* `make chroot use_bootstrap_tools=true`
@fnichol
Copy link
Collaborator Author

fnichol commented Jan 4, 2016

Metal, no?

gif-keyboard-6124353286088562375

@chef-delivery
Copy link
Contributor

This PR has passed 'Verify' and is ready for review and approval!
Use: '@delivery approve' when code review is complete.

@fnichol
Copy link
Collaborator Author

fnichol commented Jan 7, 2016

@delivery approve

chef-delivery added a commit that referenced this pull request Jan 7, 2016
Merged change 16fe1684-9df6-455b-9c03-d06d2401d64b

From review branch chroot-optional-bootstrap-tools into master

Signed-off-by: fnichol <[email protected]>
@chef-delivery chef-delivery merged commit 51f59f6 into master Jan 7, 2016
@chef-delivery chef-delivery deleted the chroot-optional-bootstrap-tools branch January 7, 2016 19:29
@chef-delivery
Copy link
Contributor

Change: 16fe1684-9df6-455b-9c03-d06d2401d64b approved by: @fnichol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants