Actualizar a Alpine 3.16.0
- Tenemos que generar squashfs como root para leer /etc/shadow
This commit is contained in:
parent
6a50670238
commit
512e57e5e2
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
}))
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue