build always makes .zst file

13 views
Skip to first unread message

Stephen Ecker

unread,
Apr 2, 2025, 3:53:34 PM4/2/25
to isar-users
My build always makes .zst compressed files of the images, but I don't have zst specified _anywhere_.  any ideas on how to turn this off?

Uladzimir Bely

unread,
Apr 3, 2025, 8:11:34 AM4/3/25
to Stephen Ecker, isar-users
> --

Check "bitbake -e" output for IMAGE_FSTYPES and you should see where
it's applied.

> You received this message because you are subscribed to the Google
> Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to isar-users+...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/isar-users/100f6288-3d6b-44fa-880e-ead8a42aa2f3n%40googlegroups.com
> .

--
Best regards,
Uladzimir.

Stephen Ecker

unread,
Apr 3, 2025, 8:41:28 AM4/3/25
to isar-users
I checked the output of bitbake -e, the only thing set for IMAGE_FSTYPES is "wic wic.xz",  no zst

Stephen Ecker

unread,
Apr 3, 2025, 8:45:54 AM4/3/25
to isar-users
the only place that "zst" shows up is:

# $SSTATE_PATHSPEC

#   set /home/stephen/workspace/build/../isar/meta/classes/sstate.bbclass:42

#     "${SSTATE_DIR}/${SSTATE_EXTRAPATHWILDCARD}*/*/${SSTATE_PKGSPEC}*_${SSTATE_PATH_CURRTASK}.tar.zst*"

SSTATE_PATHSPEC="/home/stephen/workspace/build/sstate-cache/*/*/sstate:defaultpkgname:amd64-isar:1.0:r0:amd64:10:*_\${SSTATE_PATH_CURRTASK}

.tar.zst*"


and in a few isar functions:  sstate_create_package, sstate_unpack_package and generate_sstatefn
On Thursday, April 3, 2025 at 7:11:34 AM UTC-5 Uladzimir Bely wrote:

Stephen Ecker

unread,
Apr 3, 2025, 8:47:54 AM4/3/25
to isar-users
(sorry for the repeated replies):  it only does it when I build the installer image.  the base image only builds .wic.xz,  but when the installer target is run, it creates the .wic.zst, but zst is not defined _anywhere_ in my configuration or recipes


Uladzimir Bely

unread,
Apr 4, 2025, 10:22:38 AM4/4/25
to Stephen Ecker, isar-users
Look at `meta-isar/classes/installer-add-rootfs.bbclass` - probably you
need to override IMAGE_DATA_POSTFIX in your configuration.

> --
> You received this message because you are subscribed to the Google
> Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to isar-users+...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/isar-users/c3343e20-8dc0-4484-b61e-4f6d99a7a807n%40googlegroups.com

Stephen Ecker

unread,
Apr 4, 2025, 10:31:13 AM4/4/25
to Uladzimir Bely, isar-users
This is correct, that's what fixed it for me.  Thank you
Reply all
Reply to author
Forward
0 new messages