2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-22 07:38:08 +00:00
Files
xcat-core/xCAT-server/share/xcat/netboot
Vinícius Ferrão 042804fe5e fix(genimage): create the /run mount point before mounting it
mount_chroot bind-mounts the host /run into the image root before the
run directory exists there. On the first build of a new image, mount
fails with "mount point does not exist". genimage does not check the
result, so the packages install without the host /run.

Create the directory first, as mount_chroot already does for /proc,
/sys and /dev. The mount also uses the subroutine argument instead of
the global image path. Both have the same value at every call site.
2026-10-16 18:45:07 -03:00
..
…
2022-08-16 15:35:09 -04:00
2024-05-07 16:19:25 +02:00