diff options
author | Potin Lai <potin.lai@quantatw.com> | 2022-06-15 09:58:19 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-10-06 22:51:03 +0300 |
commit | dcf21296b65e3b203824f4f4f9cee08318a3c252 (patch) | |
tree | e51fac0c0688b7e80830ffe3563be0044f855938 /meta-facebook/meta-bletchley | |
parent | 01bd61acf2b10538a6896d696a3d1ba9da57490a (diff) | |
download | openbmc-dcf21296b65e3b203824f4f4f9cee08318a3c252.tar.xz |
meta-facebook: bletchley: 32-bit idevicerestore support
Add a few recipe tweaks in order to enable idevicerestore to run
on 32-bit platforms like AST2600.
- Add large file support (-D_FILE_OFFSET_BITS=64):
- idevicerestore
- libzip
- Modify usbmuxd.service to discard "--user usbmuxd" and move PIDFile
under /run.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I5dc3c925b4b61207b17e3739c42336d6da5c512c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-facebook/meta-bletchley')
3 files changed, 8 insertions, 0 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-connectivity/usbmuxd/usbmuxd_%.bbappend b/meta-facebook/meta-bletchley/recipes-connectivity/usbmuxd/usbmuxd_%.bbappend new file mode 100644 index 0000000000..bdf5baf7ac --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-connectivity/usbmuxd/usbmuxd_%.bbappend @@ -0,0 +1,5 @@ +do_install:append() { + sed -i "s/--user usbmux//" ${D}${systemd_system_unitdir}/usbmuxd.service + sed -i "s#/var/run#/run#" ${D}${systemd_system_unitdir}/usbmuxd.service +} + diff --git a/meta-facebook/meta-bletchley/recipes-extended/libzip/libzip_%.bbappend b/meta-facebook/meta-bletchley/recipes-extended/libzip/libzip_%.bbappend new file mode 100644 index 0000000000..e8d10b822c --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-extended/libzip/libzip_%.bbappend @@ -0,0 +1 @@ +CFLAGS += " -D_FILE_OFFSET_BITS=64" diff --git a/meta-facebook/meta-bletchley/recipes-support/idevicerestore/idevicerestore_%.bbappend b/meta-facebook/meta-bletchley/recipes-support/idevicerestore/idevicerestore_%.bbappend new file mode 100644 index 0000000000..2d744edd0a --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-support/idevicerestore/idevicerestore_%.bbappend @@ -0,0 +1,2 @@ +RDEPENDS:${PN} += " usbmuxd" +CFLAGS += " -D_FILE_OFFSET_BITS=64" |