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

rename function chroot to chroot_cmd or similar #1174

Closed
adrelanos opened this Issue Sep 6, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@adrelanos
Member

adrelanos commented Sep 6, 2015

Rename function chroot to chroot_cmd or similar.

Code in question:
https://github.com/marmarek/qubes-linux-template-builder/blob/5897b1a88245bdcb8f0f2d454d1eb54098d0df4a/functions.sh#L67-L92

Then elsewhere (example) you are using chroot. One would wonder which one it is. Function chroot or binary /usr/sbin/chroot? [In this example, it's the latter.]

This is very confusing. Generally, please don't assign the very same name to a function as an existing binary.

@marmarek marmarek added this to the Release 3.2 milestone Jan 7, 2016

marmarek added a commit to marmarek/qubes-template-whonix that referenced this issue Apr 20, 2016

marmarek added a commit to marmarek/qubes-builder-debian that referenced this issue Apr 20, 2016

marmarek added a commit to marmarek/qubes-builder-rpm that referenced this issue Apr 20, 2016

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 20, 2016

Member

This is API change, if using updated linux-template-builder, builder plugins also needs to be updated.

Member

marmarek commented Apr 20, 2016

This is API change, if using updated linux-template-builder, builder plugins also needs to be updated.

adrelanos added a commit to adrelanos/qubes-template-whonix that referenced this issue Apr 20, 2016

adrelanos added a commit to adrelanos/qubes-template-whonix that referenced this issue Apr 21, 2016

Qubes R3.1 chroot_cmd compatibility.
Can be removed on Qubes R3.2 and above.
QubesOS/qubes-issues#1174

export DEBDEBUG

adrelanos added a commit to Whonix/qubes-template-whonix that referenced this issue May 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment