diff options
Diffstat (limited to 'meta-openembedded/meta-filesystems')
-rw-r--r-- | meta-openembedded/meta-filesystems/conf/layer.conf | 2 | ||||
-rw-r--r-- | meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch | 54 | ||||
-rw-r--r-- | meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch | 65 | ||||
-rw-r--r-- | meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_1.9.bb (renamed from meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_git.bb) | 6 | ||||
-rw-r--r-- | meta-openembedded/meta-filesystems/recipes-utils/xorriso/xorriso_1.5.5.bb (renamed from meta-openembedded/meta-filesystems/recipes-utils/xorriso/xorriso_1.5.3.bb) | 4 |
5 files changed, 70 insertions, 61 deletions
diff --git a/meta-openembedded/meta-filesystems/conf/layer.conf b/meta-openembedded/meta-filesystems/conf/layer.conf index 343f5209c..ae93a36b4 100644 --- a/meta-openembedded/meta-filesystems/conf/layer.conf +++ b/meta-openembedded/meta-filesystems/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_filesystems-layer = "1" LAYERDEPENDS_filesystems-layer = "core openembedded-layer" -LAYERSERIES_COMPAT_filesystems-layer = "gatesgarth hardknott" +LAYERSERIES_COMPAT_filesystems-layer = " hardknott" diff --git a/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch b/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch deleted file mode 100644 index e69a3cf1f..000000000 --- a/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 6cf6f5b9c39dfd0d46f2069c3baeab92ae980367 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Sun, 15 Dec 2019 00:58:13 -0800 -Subject: [PATCH] Replace u_intXX_t with kernel typedefs - -u_intXX_t requires including sys/types.h which might not work in kernel -code, if this header is used in a kernel module - -Fixes -| In file included from ufs.c:16: -| In file included from ./ufs.h:9: -| ./scsi_bsg_util.h:131:2: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? -| u_int16_t result; -| ^~~~~~~~~ - -Upstream-Status: Submitted [https://github.com/westerndigitalcorporation/ufs-utils/pull/23] - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - scsi_bsg_util.h | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -diff --git a/scsi_bsg_util.h b/scsi_bsg_util.h -index 3f8a482..497c3ae 100644 ---- a/scsi_bsg_util.h -+++ b/scsi_bsg_util.h -@@ -121,15 +121,15 @@ struct ufs_bsg_reply { - #endif /* SCSI_BSG_UFS_H.*/ - - struct rpmb_frame { -- u_int8_t stuff[196]; -- u_int8_t key_mac[32]; -- u_int8_t data[256]; -- u_int8_t nonce[16]; -- u_int32_t write_counter; -- u_int16_t addr; -- u_int16_t block_count; -- u_int16_t result; -- u_int16_t req_resp; -+ __u8 stuff[196]; -+ __u8 key_mac[32]; -+ __u8 data[256]; -+ __u8 nonce[16]; -+ __u32 write_counter; -+ __u16 addr; -+ __u16 block_count; -+ __u16 result; -+ __u16 req_resp; - }; - - #define BSG_REPLY_SZ (sizeof(struct ufs_bsg_reply)) --- -2.24.1 - diff --git a/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch b/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch new file mode 100644 index 000000000..08cf87016 --- /dev/null +++ b/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch @@ -0,0 +1,65 @@ +From 517f841ccac59b0579e706dd768d6c7b1a7e7552 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 12 Mar 2021 10:37:21 -0800 +Subject: [PATCH] Use asm/type.h for kernel types + +This ensures that right headers for types is included otherwise it can +conflict for some platforms e.g. ppc64 where it includes the underlying +files conditionally + +asm/types.h is + +if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) && !defined(__KERNEL__) + include <asm-generic/int-l64.h> +else + include <asm-generic/int-ll64.h> +endif + +Upstream-Status: Submitted [https://github.com/westerndigitalcorporation/ufs-utils/pull/29] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + ufs.h | 1 - + ufs_cmds.h | 2 +- + ufs_ffu.c | 1 - + 3 files changed, 1 insertion(+), 3 deletions(-) + +diff --git a/ufs.h b/ufs.h +index dc51367..0321c54 100644 +--- a/ufs.h ++++ b/ufs.h +@@ -4,7 +4,6 @@ + + #ifndef UFS_H_ + #define UFS_H_ +-#include <asm-generic/int-ll64.h> + #include "ioctl.h" + #include "scsi_bsg_util.h" + +diff --git a/ufs_cmds.h b/ufs_cmds.h +index 1e7e24d..5c5b045 100644 +--- a/ufs_cmds.h ++++ b/ufs_cmds.h +@@ -5,7 +5,7 @@ + #define UFS_CMNDS_H_ + + #include "options.h" +-#include <asm-generic/int-ll64.h> ++#include <asm/types.h> + + + enum field_width { +diff --git a/ufs_ffu.c b/ufs_ffu.c +index 2bcec44..99b479c 100644 +--- a/ufs_ffu.c ++++ b/ufs_ffu.c +@@ -12,7 +12,6 @@ + #include <unistd.h> + #include <stdint.h> + #include <errno.h> +-#include <asm-generic/int-ll64.h> + + #include "ufs.h" + #include "ufs_cmds.h" +-- +2.30.2 + diff --git a/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_git.bb b/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_1.9.bb index 23583650b..e23c764a0 100644 --- a/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_git.bb +++ b/meta-openembedded/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_1.9.bb @@ -2,14 +2,12 @@ SUMMARY = "Tool to access UFS (Universal Flash Storage) devices" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -PV = "1.6+git${SRCPV}" - BRANCH ?= "dev" -SRCREV = "a3cf93b66f4606a46354cf884d24aa966661f848" +SRCREV = "517c0b01e47d4441cc45be351509fb4c96843d5a" SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=git;branch=${BRANCH} \ - file://0001-Replace-u_intXX_t-with-kernel-typedefs.patch \ + file://0001-Use-asm-type.h-for-kernel-types.patch \ " UPSTREAM_CHECK_COMMITS = "1" diff --git a/meta-openembedded/meta-filesystems/recipes-utils/xorriso/xorriso_1.5.3.bb b/meta-openembedded/meta-filesystems/recipes-utils/xorriso/xorriso_1.5.5.bb index 30224c202..75b66d923 100644 --- a/meta-openembedded/meta-filesystems/recipes-utils/xorriso/xorriso_1.5.3.bb +++ b/meta-openembedded/meta-filesystems/recipes-utils/xorriso/xorriso_1.5.5.bb @@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "http://www.gnu.org/software/${BPN}/${BPN}-${PV}.tar.gz" -SRC_URI[md5sum] = "d6b16763a2ca23eec718cfac1761b40f" -SRC_URI[sha256sum] = "97a9c9831fa1b053f781f74a17b79327e7402c6163f5c7973453ba881616aeb4" +SRC_URI[md5sum] = "a5e3dc4e0b92be6837f9ed6cbf7f9df5" +SRC_URI[sha256sum] = "91663d61bee61ff790b3f6861fdf57c54af0e238ab14f297b55bae8ab5d17684" PACKAGECONFIG ??= "acl attr zlib bzip2 readline" PACKAGECONFIG[acl] = "--enable-libacl,--disable-libacl,acl," |