borrar código viejo
This commit is contained in:
parent
e732257384
commit
baae0a2803
1 changed files with 0 additions and 38 deletions
38
index.ts
38
index.ts
|
@ -72,42 +72,4 @@ socat tcp-listen:80,reuseaddr,fork tcp:localhost:3050 &
|
||||||
console.timeEnd("Building");
|
console.timeEnd("Building");
|
||||||
|
|
||||||
runQemu(squashfs, kernel, { graphic: true });
|
runQemu(squashfs, kernel, { graphic: true });
|
||||||
|
|
||||||
// await makeService({
|
|
||||||
// parentDir: rootfsDir,
|
|
||||||
// name: "grafana",
|
|
||||||
// packages: ["grafana"],
|
|
||||||
// setup: async (dir) => {},
|
|
||||||
// initScript: async (dir) => {},
|
|
||||||
// });
|
|
||||||
// try {
|
|
||||||
// await spawn("sudo", ["chroot", rootfsDir], { stdio: "inherit" });
|
|
||||||
// } catch {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// interface Service {}
|
|
||||||
// async function makeService({
|
|
||||||
// parentDir,
|
|
||||||
// name,
|
|
||||||
// packages,
|
|
||||||
// setup,
|
|
||||||
// initScript: _initScript,
|
|
||||||
// }: {
|
|
||||||
// parentDir: string;
|
|
||||||
// name: string;
|
|
||||||
// packages?: string[];
|
|
||||||
// setup: (dir: string) => Promise<void>;
|
|
||||||
// initScript: (dir: string) => Promise<string>;
|
|
||||||
// }) {
|
|
||||||
// const rootsDir = path.join(parentDir, "/nulo/roots/");
|
|
||||||
// await mkdir(rootsDir, { recursive: true });
|
|
||||||
|
|
||||||
// const alpine = await Alpine.makeWorld({
|
|
||||||
// dir: path.join(rootsDir, name),
|
|
||||||
// packages,
|
|
||||||
// });
|
|
||||||
|
|
||||||
// await setup(alpine.dir);
|
|
||||||
|
|
||||||
// // const initScript = await _initScript(rootfsDir);
|
|
||||||
// }
|
|
||||||
|
|
Loading…
Reference in a new issue