From 512e57e5e25a11bb4ccb2d1b0202a53b0a1bb85f Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 17 Jun 2022 21:11:47 -0300 Subject: [PATCH] Actualizar a Alpine 3.16.0 - Tenemos que generar squashfs como root para leer /etc/shadow --- alpine.lua | 2 +- setup.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alpine.lua b/alpine.lua index f2cf0aa..4f66005 100644 --- a/alpine.lua +++ b/alpine.lua @@ -23,7 +23,7 @@ function alpine.move_boot(path) end function alpine.make_squashfs(path, output_path) - local status = os.execute(t("mksquashfs {{path}} {{output_path}} -comp zstd -noappend -quiet", { + local status = os.execute(t("doas mksquashfs {{path}} {{output_path}} -comp zstd -noappend -quiet && doas chown $(id -u):$(id -g) {{output_path}}", { path = path, output_path = output_path, })) diff --git a/setup.lua b/setup.lua index 7a12c0a..2b8e963 100644 --- a/setup.lua +++ b/setup.lua @@ -1,7 +1,7 @@ local utils = require("utils") local alpine = require("alpine") -local alpine_base_version = "3.15" +local alpine_base_version = "3.16" local alpine_version = alpine_base_version..".0" local packages = { "alpine-baselayout",