logear makeWorld
This commit is contained in:
parent
bd12d308d0
commit
f6e35c356b
1 changed files with 13 additions and 10 deletions
23
alpine.ts
23
alpine.ts
|
@ -125,16 +125,19 @@ export class Alpine {
|
|||
"https://dl-cdn.alpinelinux.org/alpine/v3.17/community",
|
||||
].join("\n")
|
||||
);
|
||||
await execFile("sudo", [
|
||||
"apk",
|
||||
"add",
|
||||
"--initdb",
|
||||
"--clean-protected",
|
||||
"--root",
|
||||
dir,
|
||||
...["alpine-baselayout", "busybox", "libc-utils", "alpine-keys"],
|
||||
...(packages || []),
|
||||
]);
|
||||
logDebug(
|
||||
"makeWorld",
|
||||
await execFile("sudo", [
|
||||
"apk",
|
||||
"add",
|
||||
"--initdb",
|
||||
"--clean-protected",
|
||||
"--root",
|
||||
dir,
|
||||
...["alpine-baselayout", "busybox", "libc-utils", "alpine-keys"],
|
||||
...(packages || []),
|
||||
])
|
||||
);
|
||||
|
||||
const alpine = new Alpine({ dir });
|
||||
await alpine.fstab.write();
|
||||
|
|
Loading…
Reference in a new issue