logear makeWorld

This commit is contained in:
Cat /dev/Nulo 2023-02-09 21:43:54 -03:00
parent bd12d308d0
commit f6e35c356b

View file

@ -125,6 +125,8 @@ export class Alpine {
"https://dl-cdn.alpinelinux.org/alpine/v3.17/community", "https://dl-cdn.alpinelinux.org/alpine/v3.17/community",
].join("\n") ].join("\n")
); );
logDebug(
"makeWorld",
await execFile("sudo", [ await execFile("sudo", [
"apk", "apk",
"add", "add",
@ -134,7 +136,8 @@ export class Alpine {
dir, dir,
...["alpine-baselayout", "busybox", "libc-utils", "alpine-keys"], ...["alpine-baselayout", "busybox", "libc-utils", "alpine-keys"],
...(packages || []), ...(packages || []),
]); ])
);
const alpine = new Alpine({ dir }); const alpine = new Alpine({ dir });
await alpine.fstab.write(); await alpine.fstab.write();