Your message dated Tue, 21 Sep 2021 17:04:02 +0000
with message-id <[email protected]>
and subject line Bug#989487: fixed in mmdebstrap 0.8.0-1
has caused the Debian Bug report #989487,
regarding mmdebstrap: produces different tarball when building squashfs image
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
989487: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989487
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mmdebstrap
Version: 0.7.5-2.2
Severity: normal
X-Debbugs-Cc: [email protected]

When mmdebstrap produces a tarball directly, it sets different tarball
options:

    # tar2sqfs and genext2fs do not support extended attributes
    if ($format eq "squashfs") {
        warning("tar2sqfs does not support extended attributes"
              . " from the 'system' namespace");
        push @taropts, '--xattrs', '--xattrs-exclude=system.*';

But if you're trying to generate a squashfs image with different default
compression (e.g. zstd), you have to pipe the mmdebstrap output to
tar2sqfs. But in this case, tar is not passed the above options, as it
is generating a tarball...


Related, the default tar2sqfs options described in the man page:

       By default, mmdebstrap runs tar2sqfs with "--no-skip --exportable
       --compressor xz --block-size 1048576". To choose a different set of
       options, pipe the output of mmdebstrap into tar2sqfs manually.

Are somewhat inconsistent with the ones used in the code:

        if ($format eq 'squashfs') {
          push @argv, 'tar2sqfs',
          '--quiet', '--no-skip', '--force',
          '--exportable',
          '--compressor', 'xz',
          '--block-size', '1048576',


Maybe I'm missing something, but it would be very nice to be able to at
least append to options passed to tar2sqfs (presuming it doesn't error
when passing two different --compressor arguments), rather than having
to extract them from the manpage and/or code, especially given that the
tar output changes when you create a regular tarball vs. when mmdebstrap
is aware that the eventual destination is a squashfs...

I'm also realizing that the squashfs call doesn't pass --num-jobs=0 to
tar2sqfs (similar to when creating a .tar.zst).


Apologies if I'm comingling too many seemingly related issues into a
single bug report.


As always, many thanks for mmdebstrap!


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: mmdebstrap
Source-Version: 0.8.0-1
Done: Johannes Schauer Marin Rodrigues <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mmdebstrap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Johannes Schauer Marin Rodrigues <[email protected]> (supplier of updated 
mmdebstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 21 Sep 2021 18:44:07 +0200
Source: mmdebstrap
Architecture: source
Version: 0.8.0-1
Distribution: unstable
Urgency: medium
Maintainer: Johannes Schauer Marin Rodrigues <[email protected]>
Changed-By: Johannes Schauer Marin Rodrigues <[email protected]>
Closes: 914915 983293 983301 985830 988271 989302 989487
Changes:
 mmdebstrap (0.8.0-1) unstable; urgency=medium
 .
   * new upstream release
      - document how to setup merged /usr via symlinks (closes: #914915)
      - fix testsuite (closes: #983293)
      - fix chrootless mode (closes: #983301)
      - add mmtarfilter --pax-exclude (closes: #989487)
      - fix busybox-based chroot example (closes: #989302)
      - optimize /dev/null output (closes: #985830)
      - use all cores when compressing with zstd (closes: #988271)
      - move /usr/share/mmdebstrap/hooks/setup00-merged-usr.sh to
        /usr/share/mmdebstrap/hooks/merged-usr/setup00.sh
   * drop patches
   * debian/rules: install gpgvnoexpkeysig and ldconfig.fakechroot
   * debian/watch: fix for gitea
   * debian/control: document dependencies
Checksums-Sha1:
 110e4535ef54a9367a575135351c792668b51d9f 2313 mmdebstrap_0.8.0-1.dsc
 931c4fcb5d5068d36eed9b2d8eb6e305936e864d 111041 mmdebstrap_0.8.0.orig.tar.gz
 e6bd6bbb6f8e51ef6fd23532bfd6b522df5292df 10864 mmdebstrap_0.8.0-1.debian.tar.xz
Checksums-Sha256:
 b88983121e04d8d2340abe472b8d96c896c317c582c790e04af97716b588662b 2313 
mmdebstrap_0.8.0-1.dsc
 aec81418dda3e664bc381f7767c830c8dbcb64ffcdc179fcbee85ef68c739be4 111041 
mmdebstrap_0.8.0.orig.tar.gz
 9fe6564d47947f05014ef198bd830dd6dc6db1a9a670644bec244affa3931350 10864 
mmdebstrap_0.8.0-1.debian.tar.xz
Files:
 bafe7f1296cb2854c82f854cd0db1d9c 2313 admin optional mmdebstrap_0.8.0-1.dsc
 c9625231ed4c817796ebe03c5bfda292 111041 admin optional 
mmdebstrap_0.8.0.orig.tar.gz
 7ac948e704af6ef85989888775a572c9 10864 admin optional 
mmdebstrap_0.8.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmFKDOkACgkQ8sulx4+9
g+Gmpg//cfot2vrsLMD8SLAUdTy+cdpciK4IBO1Iol438g22GEfxBxv3COGsqI3G
AWfydipT+o+u0MW8b6opleZa0hBwmYhqNu44Kkbs9sitPSMCnCu8LMj/dHA5wEva
YGQ/zAkbuO0QIIcVlRjUyimFu2RmcgTBChAzE+K1h1Zlqr9sBbekcyOic2hLVerv
dzw+jrCs2sF9dLMtO2xvojseSxqlHAfMitFlpUFvgH9x6EtcEXSCH/n0MsvPDUEu
QtfeeZKdDhIyC3ueIdmnwzYQ+805fohCKcAJ7wEqPQnshVxX0ady4I4mg1cS8feY
Z33+5qEAkp/gtbH4sSroUeoRmem+pITUjfcvHYfl4W4Lhzuio/1Dyr7LLztGv4Jo
nnupfT4zgbY9LD2ZMm0RVaKAX+OBk1Yqo+yI1lyb5ZXSxT/IeqzgT4yfmkc05pRB
wtvRNt+xdhv8U71B9ILO9NF1DiSysN1rQGKFsklEG72HCNY5F4TgTLkkxdBjILRx
96xSpwKP2GuFs88BThrA3yZ2E0Pw2w71s0mi1tHywMqke518bLZbIZDGopZ5ZXGJ
nb99OGfVWNttSfapF8VluwqU5UPythkhsAAa7JZe+zV8qMgthYgU7pQnlYZ2zY5/
aSyy0Lzlnu3L7v8u6hMw1TWJBJWAwmh4EhK6dbryywj5yznqM78=
=PJkP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to