git: dsynth - Adjust /boot mounts for chroot

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 16 14:54:02 PST 2024


commit 49d2b1cb3a7fd1199d8cd304a4a09f7ab9a1703a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jan 16 14:52:27 2024 -0800

    dsynth - Adjust /boot mounts for chroot
    
    * Fix issue where Intel microcode couldn't be installed within the
      chroot due to trying to write into /boot.
    
    * Replace /boot null-mount with a /boot tmpfs and mkdir /boot/modules.local.
      Leave other /boot directories unpopulated for now (we'll fix that if we
      hit problems).  i.e. no /boot/kernel or anything else is in the chroot
      any more.
    
    * This also allows us to remove the /boot/modules.local tmpfs mount we had
      before, improving performance slightly.
    
    Reported-by: tuxillo

Summary of changes:
 usr.bin/dsynth/mount.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/49d2b1cb3a7fd1199d8cd304a4a09f7ab9a1703a


-- 
DragonFly BSD source repository


More information about the Commits mailing list