mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-29 22:02:20 +00:00
Merge pull request #7955 from VersatusHPC/backport-7953-to-2.19
[Backport 2.19] fix(genimage): create the /run mount point before mounting it
This commit is contained in:
@@ -113,7 +113,8 @@ sub mount_chroot {
|
||||
}
|
||||
|
||||
if (-d "/run") {
|
||||
system("mount --bind /run $rootimg_dir/run");
|
||||
system("mkdir -p $rootimage_dir/run");
|
||||
system("mount --bind /run $rootimage_dir/run");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user