* [oe-core][PATCH] squashfs-tools: build with lzo support
@ 2022-09-04 5:29 Markus Volk
2022-09-04 6:32 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Markus Volk @ 2022-09-04 5:29 UTC (permalink / raw)
To: openembedded-core; +Cc: Markus Volk
This is e.g. needed to be able to install snaps.
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
index 0a7e0f2a52..4e009d2625 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
-PACKAGECONFIG ??= "gzip xz lz4 lzma xattr zstd reproducible"
+PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd reproducible"
PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib"
PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz"
PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo"
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [oe-core][PATCH] squashfs-tools: build with lzo support
2022-09-04 5:29 [oe-core][PATCH] squashfs-tools: build with lzo support Markus Volk
@ 2022-09-04 6:32 ` Khem Raj
2022-09-04 13:44 ` Markus Volk
[not found] ` <1711AC3837516DE4.21447@lists.openembedded.org>
0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2022-09-04 6:32 UTC (permalink / raw)
To: Markus Volk; +Cc: openembedded-core
On Sat, Sep 3, 2022 at 10:30 PM Markus Volk <f_l_k@t-online.de> wrote:
>
> This is e.g. needed to be able to install snaps.
>
I thought lzo was something we wanted to remove like lzop
so is it a hard dependency for snaps ?
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
> meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
> index 0a7e0f2a52..4e009d2625 100644
> --- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
> +++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
> @@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
>
> EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
>
> -PACKAGECONFIG ??= "gzip xz lz4 lzma xattr zstd reproducible"
> +PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd reproducible"
> PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib"
> PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz"
> PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#170273): https://lists.openembedded.org/g/openembedded-core/message/170273
> Mute This Topic: https://lists.openembedded.org/mt/93453623/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe-core][PATCH] squashfs-tools: build with lzo support
2022-09-04 6:32 ` Khem Raj
@ 2022-09-04 13:44 ` Markus Volk
[not found] ` <1711AC3837516DE4.21447@lists.openembedded.org>
1 sibling, 0 replies; 4+ messages in thread
From: Markus Volk @ 2022-09-04 13:44 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
Am Sa, 3. Sep 2022 um 23:32:00 -0700 schrieb Khem Raj
<raj.khem@gmail.com>:
> I thought lzo was something we wanted to remove like lzop
> so is it a hard dependency for snaps ?
It depends on how the snaps are constructed. Some time ago, the default
compression in snap was changed from xz to lzo to decrease execution
time at the expense of binary size. Since then 'snap install' breaks
with the message that unsquashfs is missing lzo support.
I tested installing some snaps and all of them had this issue. After I
built squashfs-tools with lzo support, installing the snaps worked.
Most of them did not run (probably because my test image is largely
x11-free), but for example the firefox snap ran very well.
[-- Attachment #2: Type: text/html, Size: 899 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe-core][PATCH] squashfs-tools: build with lzo support
[not found] ` <1711AC3837516DE4.21447@lists.openembedded.org>
@ 2022-09-04 15:43 ` Markus Volk
0 siblings, 0 replies; 4+ messages in thread
From: Markus Volk @ 2022-09-04 15:43 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 83 bytes --]
<https://snapcraft.io/blog/why-lzo-was-chosen-as-the-new-compression-method>
>
[-- Attachment #2: Type: text/html, Size: 212 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-04 15:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-04 5:29 [oe-core][PATCH] squashfs-tools: build with lzo support Markus Volk
2022-09-04 6:32 ` Khem Raj
2022-09-04 13:44 ` Markus Volk
[not found] ` <1711AC3837516DE4.21447@lists.openembedded.org>
2022-09-04 15:43 ` Markus Volk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox