mfsBSD with high res

Do I need Poudriere to do that?

Can't I just have a standalone script?
mfsBSD scripts include installing packages and adding configuration files to the image.

Here an example for the "i915kms" driver:

Create custom MFSBSDROOTDIR/tools/packages.sample file
Code:
drm-61-kmod
gpu-firmware-intel-kmod
This will download listed packages and install them in the "work" directory to be included in the image. If you like, additional packages can be added, see original MFSBSDROOTDIR/tools/packages.sample file for default packages.

To configure the driver so that it is loaded at system startup, create MFSBSDROOTDIR/customfiles/etc/rc.conf. While at it, set additional configuration:
Code:
hostname="example.home"
keymap="uk"
sshd_enable="YES"
kld_list="i915kms"
 
By the way, the images can be checked by running them in bhyve(8) to see if they boot, or all the installed packages and configurations are in their places:
Code:
mfsbsd # ls -1 mfsbsd-15.0-RELEASE-p1-amd64.i*
mfsbsd-15.0-RELEASE-p1-amd64.img
mfsbsd-15.0-RELEASE-p1-amd64.iso

# sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 1g -d mfsbsd-15.0-RELEASE-p1-amd64.img  mfsbsd
# sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 1g -i -I mfsbsd-15.0-RELEASE-p1-amd64.iso  mfsbsd
In case the image boot process gets stuck, execute from another console bhyvectl --destroy --vm=mfsbsd

If the host shell prompt still doesn't return: ps aux | grep cu, then kill(1) first "cu" PID.
 
Back
Top