ChibraxOS 2
Changes: - kernel 6.0.2 - Broken init scripts - Switch to bun for better peroformance an easier ffi - Removed grup - Efi support without graphics (at least graphics werent tested) - Suppression de toutes les dépendance non libc - new splash - broken audio - typescript support - ls rewritten to be more reliable
This commit is contained in:
@@ -1,26 +1,20 @@
|
||||
//@ts-check
|
||||
const { cmount, mount, flags } = require('../../core/mount.js')
|
||||
import { JSmount, flags } from '../../core/mount.js'
|
||||
|
||||
async function init() {
|
||||
cmount("dummy", "/proc", "proc",
|
||||
export async function init() {
|
||||
/*cmount("dummy", "/proc", "proc",
|
||||
flags.MS_NODEV | flags.MS_RDONLY | flags.MS_NOSUID | flags.MS_RELATIME | flags.MS_NOEXEC
|
||||
, "")
|
||||
, "")*/
|
||||
|
||||
mount("dummy", "/sys", "sysfs", flags.MS_NODEV | flags.MS_NOSUID | flags.MS_RELATIME | flags.MS_NOEXEC, "")
|
||||
mount("dummy", "/tmp", "tmpfs", flags.MS_NODEV, "")
|
||||
JSmount("dummy", "/sys", "sysfs", flags.MS_NODEV | flags.MS_NOSUID | flags.MS_RELATIME | flags.MS_NOEXEC, "")
|
||||
JSmount("dummy", "/tmp", "tmpfs", flags.MS_NODEV, "")
|
||||
}
|
||||
|
||||
/**
|
||||
* @type { string[] }
|
||||
*/
|
||||
const after = [] // list of init script to load before
|
||||
export const after = [] // list of init script to load before
|
||||
/**
|
||||
* @type { string[] }
|
||||
*/
|
||||
const before = []
|
||||
|
||||
module.exports = {
|
||||
init,
|
||||
after,
|
||||
before
|
||||
}
|
||||
export const before = []
|
||||
|
||||
Reference in New Issue
Block a user