Also mount "common" packagefs on boot

This commit is contained in:
Ingo Weinhold
2011-07-17 16:54:49 +02:00
parent b0533d66a7
commit 57af748920
+10 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2010, Ingo Weinhold, [email protected].de.
* Copyright 2007-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
* Copyright 2002-2010, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*
@@ -520,6 +520,15 @@ vfs_mount_boot_file_system(kernel_args* args)
panic("Failed to mount system packagefs: %s",
strerror(systemPackageMount));
}
dev_t commonPackageMount = _kern_mount("/boot/common",
NULL, kPackageFSName, 0,
"packages /boot/common/packages; type common",
0 /* unused argument length */);
if (commonPackageMount < 0) {
dprintf("Failed to mount common packagefs: %s",
strerror(commonPackageMount));
}
}
// Do post-boot-volume module initialization. The module code wants to know