fix: Make changing ownership non-fatal (#1858)

This commit is contained in:
Kroese
2026-07-15 18:27:08 +02:00
committed by GitHub
parent 50d5f4fc09
commit 463935baf2
2 changed files with 5 additions and 8 deletions
+3 -6
View File
@@ -204,8 +204,7 @@ finishInstall() {
if [[ "$iso" == "$STORAGE/"* ]]; then
if ! setOwner "$iso"; then
error "Failed to set the owner for \"$iso\" !"
return 1
warn "failed to set the owner for \"$iso\" !"
fi
fi
@@ -221,8 +220,7 @@ finishInstall() {
cp -f /etc/version "$file" || return 1
if ! setOwner "$file"; then
error "Failed to set the owner for \"$file\" !"
return 1
warn "Failed to set the owner for \"$file\" !"
fi
if [[ "$iso" == "$STORAGE/"* ]]; then
@@ -1261,8 +1259,7 @@ buildImage() {
mv -f "$out" "$BOOT" || return 1
if ! setOwner "$BOOT"; then
error "Failed to set the owner for \"$BOOT\" !"
return 1
warn "Failed to set the owner for \"$BOOT\" !"
fi
return 0