Skip to content

Commit

Permalink
Merge pull request #117 from hnez/layer-update-2024-03-01
Browse files Browse the repository at this point in the history
poky/meta-*: update to most recent nanbield branches
  • Loading branch information
hnez authored Mar 1, 2024
2 parents a6dc8b7 + f4aa74e commit eb0691f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 24 deletions.
17 changes: 0 additions & 17 deletions meta-lxatac-bsp/recipes-core/images/emmc-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,6 @@ COMPATIBLE_MACHINE = "lxatac"

GENIMAGE_IMAGE_SUFFIX = ""

# This can be removed once we have a genimage with fill= support
GENIMAGE_VARIABLES[WORKDIR] = "${WORKDIR}"

do_configure:append() {
# This can be removed once we have a genimage with fill= support.
# Just using /dev/zero in the genimage config does not work because ...
#
# $ python3
# >>> import os
# >>> os.stat("/dev/zero")
# os.stat_result(st_mode=8630 ... st_size=0 ..)
#
# ... /dev/zero has 0 size and genimage only writes st_size bytes of
# the file into the image and leaves the rest sparse.
dd if=/dev/zero bs=1024 count=256 of=${WORKDIR}/state-filler.img
}

do_genimage[depends] += " \
lxatac-core-image-base:do_image_complete \
"
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ image @IMAGE@img {
}

partition barebox-env {
image = "@WORKDIR@/state-filler.img"
fill = true
in-partition-table = false
offset = 512K
size = 256K
}

partition barebox-state {
image = "@WORKDIR@/state-filler.img"
fill = true
# We can not have the barebox partitions in the partition table right
# now because:
# - If we add them the partition label clashes with the label of the
Expand Down
2 changes: 1 addition & 1 deletion meta-rauc
2 changes: 1 addition & 1 deletion meta-virtualization
2 changes: 1 addition & 1 deletion poky
Submodule poky updated from dbc872 to 1a5c00

0 comments on commit eb0691f

Please sign in to comment.