Page MenuHomeFreeBSD

bsdinstall: Use TMPDIR if set
ClosedPublic

Authored by freqlabs on Dec 30 2019, 11:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 7 2024, 11:11 AM
Unknown Object (File)
Dec 20 2023, 5:11 AM
Unknown Object (File)
Dec 10 2023, 7:42 PM
Unknown Object (File)
Nov 22 2023, 8:35 AM
Unknown Object (File)
Nov 8 2023, 3:36 PM
Unknown Object (File)
Nov 8 2023, 1:28 AM
Unknown Object (File)
Nov 7 2023, 10:08 PM
Unknown Object (File)
Nov 6 2023, 3:27 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.