Skip to content

Commit

Permalink
Split up large OS files into chunks for OSTree
Browse files Browse the repository at this point in the history
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
  • Loading branch information
ajlennon committed Oct 31, 2024
1 parent fe52cc9 commit 2c73e53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions recipes-kernel/linux/linux-lmp-fslc-imx_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ SRC_URI:append:imx8mm-jaguar-inst = " \
file://imx8mm-jaguar-inst.dts \
file://02-disable-wifi-scan-msg.patch \
file://04-enable-usb-gadgets.cfg \
file://05-build-usb-as-modules.cfg \
"

# NOTE: This DTB file is created as a default for use with local development
Expand Down
8 changes: 6 additions & 2 deletions recipes-support/waydroid/waydroid-data.bb
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@ SRC_URI[vendor.sha256sum] = "${SHA256SUM_VENDOR}"
do_install() {
install -dm755 "${D}/usr/share/waydroid-extra/images"

# split files up
split -b100M ${WORKDIR}/system.img system.img.
split -b100M ${WORKDIR}/vendor.img.img vendor.img.

# makepkg have extracted the zips
install -m 0644 "${WORKDIR}/system.img" "${D}/usr/share/waydroid-extra/images"
install -m 0644 "${WORKDIR}/vendor.img" "${D}/usr/share/waydroid-extra/images"
install -m 0644 "${WORKDIR}/system.img.*" "${D}/usr/share/waydroid-extra/images"
install -m 0644 "${WORKDIR}/vendor.img.*" "${D}/usr/share/waydroid-extra/images"
}

FILES:${PN} += "/usr/share/waydroid-extra/images"

0 comments on commit 2c73e53

Please sign in to comment.