diff options
Diffstat (limited to 'meta/recipes-extended/parted/files')
5 files changed, 60 insertions, 58 deletions
diff --git a/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch b/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch new file mode 100644 index 0000000000..10354f1ed9 --- /dev/null +++ b/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 1fc88332f7e906294fd889287b9e84cefc7f1586 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 12 Jun 2023 10:40:07 -0700 | ||
4 | Subject: [PATCH] fs: Add libuuid to linker flags for libparted-fs-resize | ||
5 | library | ||
6 | |||
7 | This library uses uuid_generate function which comes from libuuid and | ||
8 | hence it should be mentioned on linker cmdline | ||
9 | |||
10 | fixes | ||
11 | | aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate | ||
12 | | >>> referenced by /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/fatresize/1.1.0-r0/recipe-sysroot/usr/lib/libparted-fs-resize.so | ||
13 | |||
14 | Upstream-Status: Submitted [https://alioth-lists.debian.net/pipermail/parted-devel/2023-June/005873.html] | ||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | --- | ||
17 | libparted/fs/Makefile.am | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am | ||
21 | index 2f345f3..a8970eb 100644 | ||
22 | --- a/libparted/fs/Makefile.am | ||
23 | +++ b/libparted/fs/Makefile.am | ||
24 | @@ -75,6 +75,7 @@ libparted_fs_resize_la_LDFLAGS = \ | ||
25 | EXTRA_DIST += fsresize.sym | ||
26 | libparted_fs_resize_la_DEPENDENCIES = $(sym_file) | ||
27 | |||
28 | +libparted_fs_resize_la_LIBADD = $(UUID_LIBS) | ||
29 | libparted_fs_resize_la_SOURCES = \ | ||
30 | r/filesys.c \ | ||
31 | r/fat/bootsector.c \ | ||
32 | -- | ||
33 | 2.41.0 | ||
34 | |||
diff --git a/meta/recipes-extended/parted/files/0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch b/meta/recipes-extended/parted/files/0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch deleted file mode 100644 index bd2b5c55b1..0000000000 --- a/meta/recipes-extended/parted/files/0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 5c99d7e4c2b5e7a957dc922aff03debfebbd6154 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Fri, 3 Mar 2017 21:49:15 +0100 | ||
4 | Subject: [PATCH] libparted_fs_resize: link against libuuid explicitly to | ||
5 | unbreak gold linking on test | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | | ../libparted/fs/.libs/libparted-fs-resize.so: error: undefined reference to 'uuid_generate' | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
15 | --- | ||
16 | libparted/fs/Makefile.am | 2 ++ | ||
17 | 1 file changed, 2 insertions(+) | ||
18 | |||
19 | diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am | ||
20 | index d3cc8bc..c301b0b 100644 | ||
21 | --- a/libparted/fs/Makefile.am | ||
22 | +++ b/libparted/fs/Makefile.am | ||
23 | @@ -113,6 +113,8 @@ libparted_fs_resize_la_SOURCES = \ | ||
24 | r/hfs/reloc_plus.c \ | ||
25 | r/hfs/reloc_plus.h | ||
26 | |||
27 | +libparted_fs_resize_la_LIBADD = $(UUID_LIBS) | ||
28 | + | ||
29 | AM_CPPFLAGS = \ | ||
30 | -I$(top_srcdir)/libparted/labels \ | ||
31 | $(partedincludedir) \ | ||
32 | -- | ||
33 | 2.9.3 | ||
34 | |||
diff --git a/meta/recipes-extended/parted/files/autoconf-2.73.patch b/meta/recipes-extended/parted/files/autoconf-2.73.patch new file mode 100644 index 0000000000..63dea88bfc --- /dev/null +++ b/meta/recipes-extended/parted/files/autoconf-2.73.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | The gnulib largefile macro needs updating to work with autoconf 2.73. Rather | ||
2 | than the full code: | ||
3 | |||
4 | https://git.savannah.gnu.org/cgit/gnulib.git/commit/m4/largefile.m4?id=f91f633858cf132e50924224c50d6264a92caabb | ||
5 | |||
6 | Just tweak the exiting code to work with 2.73. The next parted upgrade should | ||
7 | update to new gnulib | ||
8 | |||
9 | Upstream-Status: Inappropriate | ||
10 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
11 | |||
12 | --- a/m4/largefile.m4 | ||
13 | +++ b/m4/largefile.m4 | ||
14 | @@ -27,7 +27,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE], | ||
15 | # Work around a problem in autoconf <= 2.69: | ||
16 | # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, | ||
17 | # or configures them incorrectly in some cases. | ||
18 | -m4_version_prereq([2.70], [], [ | ||
19 | +m4_version_prereq([2.73], [], [ | ||
20 | |||
21 | # _AC_SYS_LARGEFILE_TEST_INCLUDES | ||
22 | # ------------------------------- | ||
diff --git a/meta/recipes-extended/parted/files/no_check.patch b/meta/recipes-extended/parted/files/no_check.patch deleted file mode 100644 index e6a26d11a5..0000000000 --- a/meta/recipes-extended/parted/files/no_check.patch +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | If check is detected, it makes the builds non-determinstic so just force | ||
4 | it to be disabled. | ||
5 | |||
6 | RP - 4/11/08 | ||
7 | |||
8 | Index: parted-3.2/configure.ac | ||
9 | =================================================================== | ||
10 | --- parted-3.2.orig/configure.ac | ||
11 | +++ parted-3.2/configure.ac | ||
12 | @@ -555,7 +555,7 @@ AC_CHECK_HEADER([execinfo.h], [ | ||
13 | AM_CONDITIONAL([COMPILE_FOR_S390], [test "$host_cpu" = s390 || test "$host_cpu" = s390x]) | ||
14 | |||
15 | dnl check for "check", unit testing library/header | ||
16 | -PKG_CHECK_MODULES([CHECK], [check >= 0.9.3], have_check=yes, have_check=no) | ||
17 | +have_check=no | ||
18 | if test "$have_check" != "yes"; then | ||
19 | AC_MSG_RESULT([Unable to locate check version 0.9.3 or higher: not building]) | ||
20 | fi | ||
diff --git a/meta/recipes-extended/parted/files/run-ptest b/meta/recipes-extended/parted/files/run-ptest index 374f1bfbc9..096078967f 100644 --- a/meta/recipes-extended/parted/files/run-ptest +++ b/meta/recipes-extended/parted/files/run-ptest | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | mkdir -p /etc/udev/mount.blacklist.d | 3 | mkdir -p /etc/udev/mount.ignorelist.d |
4 | echo /dev/sda1 >> /etc/udev/mount.blacklist.d/parted-tmp | 4 | echo /dev/sda1 >> /etc/udev/mount.ignorelist.d/parted-tmp |
5 | rm -f *.log | 5 | rm -f tests/*.log |
6 | make -C tests test-suite.log | 6 | make -C tests test-suite.log |
7 | rm /etc/udev/mount.blacklist.d/parted-tmp | 7 | rm /etc/udev/mount.ignorelist.d/parted-tmp |