Actualizar a Alpine 3.16.0

- Tenemos que generar squashfs como root para leer /etc/shadow
This commit is contained in:
Cat /dev/Nulo 2022-06-17 21:11:47 -03:00
parent 6a50670238
commit 512e57e5e2
2 changed files with 2 additions and 2 deletions

View file

@ -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,
}))

View file

@ -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",