fix pacstrap cache

This commit is contained in:
JOLIMAITRE Matthieu 2023-12-10 22:31:59 +01:00
parent f5a589bd0f
commit abd5a71a25

View file

@ -4,7 +4,7 @@ export { build };
const build: Base = async (c) => { const build: Base = async (c) => {
// installs base // installs base
await c.sh(`pacstrap -K -c '${c.root_dir}' base`); await c.sh(`pacstrap -K '${c.root_dir}' base`);
await c.sh(`rm -fr '${c.root_dir}/etc/securetty' '${c.root_dir}/usr/share/factory/etc/securetty'`); await c.sh(`rm -fr '${c.root_dir}/etc/securetty' '${c.root_dir}/usr/share/factory/etc/securetty'`);
await c.sh_in(`printf 'root:noussommesdescrabes' | chpasswd --crypt-method DES`); await c.sh_in(`printf 'root:noussommesdescrabes' | chpasswd --crypt-method DES`);