Permission problem when building with GHA

Description

Local build finishes successfully. It looks like cache problem as it also finishes well when our runners are used. This image uses FAT boot.

[🐳|🌿] Copying files via rsync to [ / (MOUNT root) ] [🐳|🔨] [🐳|🔨] sent 3.28G bytes received 1.83M bytes 198.94M bytes/sec [🐳|🔨] total size is 4.25G speedup is 1.29 [🐳|🌿] Copying files to [ /boot (MOUNT /boot) ] [🐳|🔨] [🐳|🔨] sent 37.51M bytes received 1.93K bytes 75.02M bytes/sec [🐳|🔨] total size is 37.49M speedup is 1.00 [🐳|🔨] '/usr/bin/qemu-aarch64-static' -> '/armbian/.tmp/mount-72cf096c-16be-433f-8fdf-151cc98d8309/usr/bin/qemu-aarch64-static' [🐳|💖] initrd cache hit [ initrd.img-6.1.29-meson64-dc81e73c3303d3caee76e57b84191255 ] [🐳|🔨] '/armbian/cache/initrd/initrd.img-6.1.29-meson64-dc81e73c3303d3caee76e57b84191255' -> '/armbian/.tmp/mount-72cf096c-16be-433f-8fdf-151cc98d8309/boot/initrd.img-6.1.29-meson64' [🐳|🔨] cp: failed to preserve ownership for '/armbian/.tmp/mount-72cf096c-16be-433f-8fdf-151cc98d8309/boot/initrd.img-6.1.29-meson64': Operation not permitted [🐳|💥] Error 1 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211 run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211 run_host_command_logged() --> lib/functions/logging/runners.sh:193 update_initramfs() --> lib/functions/image/initrd.sh:74 create_image_from_sdcard_rootfs() --> lib/functions/image/rootfs-to-image.sh:76 do_with_logging() --> lib/functions/logging/section-logging.sh:81 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:78 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36 do_with_default_build() --> lib/functions/main/default-build.sh:42 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50

Checklist

hide

Activity

Show:

Ricardo Pardini May 21, 2023 at 10:04 AM

Done

Details

Assignee

Reporter

Fix versions

Priority

Created May 18, 2023 at 8:09 PM
Updated May 21, 2023 at 1:21 PM
Resolved May 21, 2023 at 1:21 PM

Flag notifications