operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

I encountered an error while compiling the x86_64 version.

Open 5high opened this issue 1 year ago • 1 comments
trafficstars

Describe the issue you are experiencing

It seems like the disk space allocated for the image is too small.

2024-06-20T08:37:29.2331198Z INFO: cmd: "mkdir -p "/build/output/build/genimage.tmp"" (stderr):
2024-06-20T08:37:29.2331838Z INFO: cmd: "rm -rf "/build/output/build/genimage.tmp"/*" (stderr):
2024-06-20T08:37:29.2332860Z ERROR: hdimage(/build/output/images/haos_generic-x86-64-12.4.img): part hassos-system0 size (268435456) too small for rootfs.squashfs (271990784)
2024-06-20T08:37:29.2333766Z make[1]: *** [Makefile:820: target-post-image] Error 1
2024-06-20T08:37:29.2334247Z make[1]: Leaving directory '/build/buildroot'
2024-06-20T08:37:29.2334653Z make: *** [Makefile:33: generic_x86_64] Error 2
2024-06-20T08:37:30.5256171Z ##[error]Process completed with exit code 2.
2024-06-20T08:37:30.5363710Z Post job cleanup.

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

12.4

Did the problem occur after upgrading the Operating System?

No

Hardware details

Github Action

Steps to reproduce the issue

2024-06-20T08:37:29.2331198Z INFO: cmd: "mkdir -p "/build/output/build/genimage.tmp"" (stderr):
2024-06-20T08:37:29.2331838Z INFO: cmd: "rm -rf "/build/output/build/genimage.tmp"/*" (stderr):
2024-06-20T08:37:29.2332860Z ERROR: hdimage(/build/output/images/haos_generic-x86-64-12.4.img): part hassos-system0 size (268435456) too small for rootfs.squashfs (271990784)
2024-06-20T08:37:29.2333766Z make[1]: *** [Makefile:820: target-post-image] Error 1
2024-06-20T08:37:29.2334247Z make[1]: Leaving directory '/build/buildroot'
2024-06-20T08:37:29.2334653Z make: *** [Makefile:33: generic_x86_64] Error 2
2024-06-20T08:37:30.5256171Z ##[error]Process completed with exit code 2.
2024-06-20T08:37:30.5363710Z Post job cleanup.

Anything in the Supervisor logs that might be useful for us?

2024-06-20T08:37:29.2331198Z INFO: cmd: "mkdir -p "/build/output/build/genimage.tmp"" (stderr):
2024-06-20T08:37:29.2331838Z INFO: cmd: "rm -rf "/build/output/build/genimage.tmp"/*" (stderr):
2024-06-20T08:37:29.2332860Z ERROR: hdimage(/build/output/images/haos_generic-x86-64-12.4.img): part hassos-system0 size (268435456) too small for rootfs.squashfs (271990784)
2024-06-20T08:37:29.2333766Z make[1]: *** [Makefile:820: target-post-image] Error 1
2024-06-20T08:37:29.2334247Z make[1]: Leaving directory '/build/buildroot'
2024-06-20T08:37:29.2334653Z make: *** [Makefile:33: generic_x86_64] Error 2
2024-06-20T08:37:30.5256171Z ##[error]Process completed with exit code 2.
2024-06-20T08:37:30.5363710Z Post job cleanup.


### Anything in the Host logs that might be useful for us?

```txt
2024-06-20T08:37:29.2331198Z INFO: cmd: "mkdir -p "/build/output/build/genimage.tmp"" (stderr):
2024-06-20T08:37:29.2331838Z INFO: cmd: "rm -rf "/build/output/build/genimage.tmp"/*" (stderr):
2024-06-20T08:37:29.2332860Z ERROR: hdimage(/build/output/images/haos_generic-x86-64-12.4.img): part hassos-system0 size (268435456) too small for rootfs.squashfs (271990784)
2024-06-20T08:37:29.2333766Z make[1]: *** [Makefile:820: target-post-image] Error 1
2024-06-20T08:37:29.2334247Z make[1]: Leaving directory '/build/buildroot'
2024-06-20T08:37:29.2334653Z make: *** [Makefile:33: generic_x86_64] Error 2
2024-06-20T08:37:30.5256171Z ##[error]Process completed with exit code 2.
2024-06-20T08:37:30.5363710Z Post job cleanup.


### System information

_No response_

### Additional information

_No response_

5high avatar Jun 21 '24 02:06 5high