Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 1fc88332f7e906294fd889287b9e84cefc7f1586 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 12 Jun 2023 10:40:07 -0700
|
||||
Subject: [PATCH] fs: Add libuuid to linker flags for libparted-fs-resize
|
||||
library
|
||||
|
||||
This library uses uuid_generate function which comes from libuuid and
|
||||
hence it should be mentioned on linker cmdline
|
||||
|
||||
fixes
|
||||
| aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate
|
||||
| >>> 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
|
||||
|
||||
Upstream-Status: Submitted [https://alioth-lists.debian.net/pipermail/parted-devel/2023-June/005873.html]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
libparted/fs/Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am
|
||||
index 2f345f3..a8970eb 100644
|
||||
--- a/libparted/fs/Makefile.am
|
||||
+++ b/libparted/fs/Makefile.am
|
||||
@@ -75,6 +75,7 @@ libparted_fs_resize_la_LDFLAGS = \
|
||||
EXTRA_DIST += fsresize.sym
|
||||
libparted_fs_resize_la_DEPENDENCIES = $(sym_file)
|
||||
|
||||
+libparted_fs_resize_la_LIBADD = $(UUID_LIBS)
|
||||
libparted_fs_resize_la_SOURCES = \
|
||||
r/filesys.c \
|
||||
r/fat/bootsector.c \
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
The gnulib largefile macro needs updating to work with autoconf 2.73. Rather
|
||||
than the full code:
|
||||
|
||||
https://git.savannah.gnu.org/cgit/gnulib.git/commit/m4/largefile.m4?id=f91f633858cf132e50924224c50d6264a92caabb
|
||||
|
||||
Just tweak the exiting code to work with 2.73. The next parted upgrade should
|
||||
update to new gnulib
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
|
||||
--- a/m4/largefile.m4
|
||||
+++ b/m4/largefile.m4
|
||||
@@ -27,7 +27,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
|
||||
# Work around a problem in autoconf <= 2.69:
|
||||
# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
|
||||
# or configures them incorrectly in some cases.
|
||||
-m4_version_prereq([2.70], [], [
|
||||
+m4_version_prereq([2.73], [], [
|
||||
|
||||
# _AC_SYS_LARGEFILE_TEST_INCLUDES
|
||||
# -------------------------------
|
||||
@@ -0,0 +1,20 @@
|
||||
Upstream-Status: Submitted [bug-parted@gnu.org]
|
||||
|
||||
| for po in `ls -1 ./*.pt_BR.po 2>/dev/null`; do \
|
||||
| make $(basename ${po%.pt_BR.po}); \
|
||||
| done
|
||||
| Makefile:904: *** Recursive variable `mandir' references itself (eventually). Stop.
|
||||
|
||||
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
||||
|
||||
--- parted-3.1/doc/po4a.mk.orig 2012-03-15 14:09:11.555831872 +0100
|
||||
+++ parted-3.1/doc/po4a.mk 2012-03-15 14:10:44.243830985 +0100
|
||||
@@ -23,7 +23,7 @@
|
||||
# threshold is 80%), it won't be distributed, and the build won't fail.
|
||||
#
|
||||
|
||||
-mandir = $(mandir)/$(lang)
|
||||
+mandir := $(mandir)/$(lang)
|
||||
|
||||
# Inform automake that we want to install some man pages in section 1, 5
|
||||
# and 8.
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /etc/udev/mount.ignorelist.d
|
||||
echo /dev/sda1 >> /etc/udev/mount.ignorelist.d/parted-tmp
|
||||
rm -f tests/*.log
|
||||
make -C tests test-suite.log
|
||||
rm /etc/udev/mount.ignorelist.d/parted-tmp
|
||||
62
sources/poky/meta/recipes-extended/parted/parted_3.6.bb
Normal file
62
sources/poky/meta/recipes-extended/parted/parted_3.6.bb
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY = "Disk partition editing/resizing utility"
|
||||
HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
|
||||
DESCRIPTION = "GNU Parted manipulates partition tables. This is useful for creating space for new operating systems, reorganizing disk usage, copying data on hard disks and disk imaging."
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
|
||||
SECTION = "console/tools"
|
||||
DEPENDS = "ncurses util-linux virtual/libiconv"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
|
||||
file://fix-doc-mandir.patch \
|
||||
file://0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch \
|
||||
file://autoconf-2.73.patch \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "3b43dbe33cca0f9a18601ebab56b7852b128ec1a3df3a9b30ccde5e73359e612"
|
||||
|
||||
inherit autotools pkgconfig gettext texinfo ptest
|
||||
|
||||
PACKAGECONFIG ?= "readline"
|
||||
PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,libdevmapper lvm2"
|
||||
PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
do_compile_ptest() {
|
||||
oe_runmake -C tests print-align print-max dup-clobber duplicate fs-resize print-flags
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
t=${D}${PTEST_PATH}
|
||||
mkdir $t/build-aux
|
||||
cp ${S}/build-aux/test-driver $t/build-aux/
|
||||
cp -r ${S}/tests $t
|
||||
cp ${B}/tests/Makefile $t/tests/
|
||||
mkdir $t/lib
|
||||
cp ${B}/lib/config.h $t/lib
|
||||
sed -i "s|^VERSION.*|VERSION = ${PV}|g" $t/tests/Makefile
|
||||
sed -i "s|^srcdir =.*|srcdir = \.|g" $t/tests/Makefile
|
||||
sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" $t/tests/Makefile
|
||||
sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = "${PTEST_PATH}"|g" $t/tests/Makefile
|
||||
sed -i "s|^abs_top_builddir =.*|abs_top_builddir = "${PTEST_PATH}"|g" $t/tests/Makefile
|
||||
sed -i "s|^Makefile:.*|Makefile:|g" $t/tests/Makefile
|
||||
sed -i "/^BUILDINFO.*$/d" $t/tests/Makefile
|
||||
for i in print-align print-max print-flags dup-clobber duplicate fs-resize; \
|
||||
do cp ${B}/tests/.libs/$i $t/tests/; \
|
||||
done
|
||||
sed -e 's| ../parted||' -i $t/tests/*.sh
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}-ptest = "bash coreutils perl util-linux-losetup util-linux-mkswap python3 make gawk e2fsprogs-mke2fs e2fsprogs-tune2fs python3-core dosfstools"
|
||||
RRECOMMENDS:${PN}-ptest += "kernel-module-scsi-debug kernel-module-loop kernel-module-vfat"
|
||||
RDEPENDS:${PN}-ptest:append:libc-glibc = "\
|
||||
glibc-utils \
|
||||
locale-base-en-us \
|
||||
"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
ALTERNATIVE:${PN} = "partprobe"
|
||||
ALTERNATIVE_LINK_NAME[partprobe] = "${sbindir}/partprobe"
|
||||
Reference in New Issue
Block a user