Page MenuHomeFreeBSD

bsdinstall: Use TMPDIR if set
ClosedPublic

Authored by freqlabs on Dec 30 2019, 11:57 PM.
Tags
None
Referenced Files
F103806888: D22979.id66170.diff
Fri, Nov 29, 5:15 PM
Unknown Object (File)
Fri, Nov 22, 10:59 PM
Unknown Object (File)
Oct 25 2024, 5:07 AM
Unknown Object (File)
Oct 18 2024, 6:13 AM
Unknown Object (File)
Oct 5 2024, 6:05 PM
Unknown Object (File)
Oct 5 2024, 4:18 AM
Unknown Object (File)
Oct 5 2024, 3:41 AM
Unknown Object (File)
Oct 2 2024, 7:39 PM
Subscribers

Details

Reviewers
bcran
darkfiberiru_gmail.com
Group Reviewers
manpages
Summary

This allows separate bsdinstall workflows to run simultaneously without stomping on each other, by specifying different TMPDIR and BSDINSTALL_CHROOT paths for each installation. This is beneficial when using bsdinstall scripts to prepare several different VM volumes, for example.

If TMPDIR is unset, it defaults to /tmp, which preserves the existing behavior.

Sponsored by: iXsystems, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Use $BSDINSTALL_CHROOT in place of /mnt for umount.

bcr added a subscriber: bcr.

Man page looks good to me.

Looks like a good change to me. Fixes my concern about doing parallel runs for things like vm's

This revision is now accepted and ready to land.Dec 31 2019, 7:59 PM

@bcran Thanks! Would you mind committing this for me? I don't have the bit.

In D22979#504080, @ryan_freqlabs.com wrote:

@bcran Thanks! Would you mind committing this for me? I don't have the bit.

Sure! I'll try and get it committed today.

Sure! I'll try and get it committed today.

Thank you! :)

In D22979#507973, @ryan_freqlabs.com wrote:

Thank you! :)

Sorry for the delay, I've been ill.