Page MenuHomeFreeBSD

bsdinstall: allow a install script to access packages on the DVD
ClosedPublic

Authored by asomers on May 26 2022, 9:42 PM.
Tags
None
Referenced Files
F115848361: D35330.diff
Tue, Apr 29, 12:37 PM
Unknown Object (File)
Thu, Apr 24, 9:30 PM
Unknown Object (File)
Thu, Apr 24, 6:42 AM
Unknown Object (File)
Mon, Apr 21, 11:40 AM
Unknown Object (File)
Sat, Apr 19, 7:57 PM
Unknown Object (File)
Sun, Apr 6, 4:37 AM
Unknown Object (File)
Mar 25 2025, 4:31 AM
Unknown Object (File)
Mar 22 2025, 12:36 AM
Subscribers

Details

Summary

If installing from the DVD, mount its packages in the chroot at
/dist/packages. That way they'll be accessible to an install script.

MFC after: 2 weeks
Sponsored by: Axcient

Test Plan

Tested with a custom install script that installs bash

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45734
Build 42622: arc lint + arc unit

Event Timeline

usr.sbin/bsdinstall/scripts/mount
64

Where does this get umounted? Is that implied but the subsequent change to the scripts/umount script?

usr.sbin/bsdinstall/scripts/mount
64

Exactly. Both bsdinstall auto and bsdintall script will call bsdinstall mount/bsdinstall umount as a pair.

This revision is now accepted and ready to land.May 27 2022, 3:21 PM