Changeset 14842


Ignorieren:
Zeitstempel:
25.08.2018 20:10:12 (vor 4 Wochen)
Autor:
er13
Nachricht:

packing/signing image: switch to using GNU tar, busybox tar seems to misbehave while creating small tarballs (to be investigated)

Datei:
1 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/fwmod

    r14840 r14842  
    17701770 
    17711771    # Pack firmware image 
    1772     TAR_FOR_IMAGE_TARBALL="$TAR" # use busybox tar for compatibility (DEBUG COMMENT: change to TAR_GNU for GNU tar) 
    1773     if [ "$TAR_FOR_IMAGE_TARBALL" == "$TAR_GNU" ]; then 
    1774         TAR_FOR_IMAGE_TARBALL_FORMAT_OPT="--format=gnu" # GNU tar requires --format=gnu option 
    1775         img_name_infix=".gnu-tar" 
    1776     fi 
     1772 
     1773    # TODO: as of now busybox tar couldn't be used here as it seems to behave buggy while creating small tarballs (needed in sign-firmare-step): 
     1774    # it doesn't flush the buffers properly resulting in missing blocks or even a signature containing only zeros 
     1775 
     1776    # use GNU tar with --format=gnu for compatibility 
     1777    TAR_FOR_IMAGE_TARBALL="$TAR_GNU" 
     1778    TAR_FOR_IMAGE_TARBALL_FORMAT_OPT="--format=gnu" 
    17771779 
    17781780    echo0 "packing ${img_name}" 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.