Skip to content

image_types_sparse: Fix syntax error#725

Closed
chrisdimich wants to merge 1 commit intoopenembedded:mickledorefrom
chrisdimich:mickledore
Closed

image_types_sparse: Fix syntax error#725
chrisdimich wants to merge 1 commit intoopenembedded:mickledorefrom
chrisdimich:mickledore

Conversation

@chrisdimich
Copy link

When using the image type:

IMAGE_FSTYPES += " wic.sparse"
IMAGE_CLASSES += " image_types_sparse"

The following error arises:

Syntax error: Bad function name

So need to remove function in favor of variable.

When using the image type:

	IMAGE_FSTYPES += " wic.sparse"
	IMAGE_CLASSES += " image_types_sparse"

The following error arises:

	Syntax error: Bad function name

So need to remove function in favor of variable.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
}

CONVERSION_CMD:sparse = " \
truncate --no-create --size=%${SPARSE_BLOCK_SIZE} "${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}"; \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this even work in master (I see this PR is for mickledore, but if you're using this bbclass can you please check in master as well)?

I guess it needs to be updated for changes from:
https://git.openembedded.org/openembedded-core/commit/?id=26d97acc71379ab6702fa54a23b6542a3f51779c

first.

Copy link
Contributor

@kraj kraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please port it to master first and then a backport into mickledore would be in order.

@chrisdimich
Copy link
Author

Sure, I will port/test on master first.

@chrisdimich chrisdimich closed this Aug 1, 2023
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Nov 19, 2024
Changelog 1.28.1 :

  This release contains a fix for a single significant regression introduced
  in c-ares 1.28.0.

  - ares_search() and ares_getaddrinfo() resolution fails if no search domains
    are specified. Issue openembedded#737

Changelog 1.28.0 :

  Features:

  - Emit warnings when deprecated c-ares functions are used. This can be
    disabled by passing a compiler definition of CARES_NO_DEPRECATED. PR openembedded#732
  - Add function ares_search_dnsrec() to search for records using the new DNS
    record data structures. PR openembedded#719
  - Rework internals to pass around ares_dns_record_t instead of binary data,
    this introduces new public functions of ares_query_dnsrec() and
    ares_send_dnsrec(). PR openembedded#730

Changes:

  - tests: when performing simulated queries, reduce timeouts to make tests run
    faster
  - Replace configuration file parsers with memory-safe parser. PR openembedded#725
  - Remove acountry completely, the manpage might still get installed otherwise. Issue openembedded#718

Bugfixes:

  - CMake: don't overwrite global required libraries/definitions/includes which
    could cause build errors for projects chain building c-ares. Issue openembedded#729
  - On some platforms, netinet6/in6.h is not included by netinet/in.h
    and needs to be included separately. PR openembedded#728
  - Fix a potential memory leak in ares_init(). Issue openembedded#724
  - Some platforms don't have the isascii() function. Implement as a macro. PR openembedded#721
  - CMake: Fix Chain building if CMAKE runtime paths not set
  - NDots configuration should allow a value of zero. PR openembedded#735

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Nov 20, 2024
Changelog 1.28.1 :

  This release contains a fix for a single significant regression introduced
  in c-ares 1.28.0.

  - ares_search() and ares_getaddrinfo() resolution fails if no search domains
    are specified. Issue openembedded#737

Changelog 1.28.0 :

  Features:

  - Emit warnings when deprecated c-ares functions are used. This can be
    disabled by passing a compiler definition of CARES_NO_DEPRECATED. PR openembedded#732
  - Add function ares_search_dnsrec() to search for records using the new DNS
    record data structures. PR openembedded#719
  - Rework internals to pass around ares_dns_record_t instead of binary data,
    this introduces new public functions of ares_query_dnsrec() and
    ares_send_dnsrec(). PR openembedded#730

Changes:

  - tests: when performing simulated queries, reduce timeouts to make tests run
    faster
  - Replace configuration file parsers with memory-safe parser. PR openembedded#725
  - Remove acountry completely, the manpage might still get installed otherwise. Issue openembedded#718

Bugfixes:

  - CMake: don't overwrite global required libraries/definitions/includes which
    could cause build errors for projects chain building c-ares. Issue openembedded#729
  - On some platforms, netinet6/in6.h is not included by netinet/in.h
    and needs to be included separately. PR openembedded#728
  - Fix a potential memory leak in ares_init(). Issue openembedded#724
  - Some platforms don't have the isascii() function. Implement as a macro. PR openembedded#721
  - CMake: Fix Chain building if CMAKE runtime paths not set
  - NDots configuration should allow a value of zero. PR openembedded#735

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants