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
Unknown Object (File)
Thu, Jan 9, 10:11 PM
Unknown Object (File)
Tue, Jan 7, 10:28 PM
Unknown Object (File)
Sun, Jan 5, 8:29 AM
Unknown Object (File)
Sat, Jan 4, 12:36 AM
Unknown Object (File)
Wed, Jan 1, 12:25 AM
Unknown Object (File)
Dec 17 2024, 3:05 PM
Unknown Object (File)
Dec 12 2024, 8:37 AM
Unknown Object (File)
Dec 12 2024, 1: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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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