Skip to content

Commit

Permalink
Merge branch 'openembedded:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mandraga committed Jan 13, 2024
2 parents d14851f + 098dc60 commit 2ab037e
Show file tree
Hide file tree
Showing 4,402 changed files with 101,937 additions and 76,782 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
File renamed without changes.
10 changes: 5 additions & 5 deletions contrib/oe-stylize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

"""\
Sanitize a bitbake file following the OpenEmbedded style guidelines,
Expand Down Expand Up @@ -436,8 +436,8 @@ def follow_rule(i, line):
# -- dump the sanitized .bb file --
addEmptyLine = False
# write comments that are not related to variables nor routines
for l in commentBloc:
olines.append(l)
for c in commentBloc:
olines.append(c)
# write variables and routines
previourVarPrefix = "unknown"
for k in OE_vars:
Expand All @@ -446,8 +446,8 @@ def follow_rule(i, line):
if seen_vars[k] != []:
if addEmptyLine and not k.startswith(previourVarPrefix):
olines.append("")
for l in seen_vars[k]:
olines.append(l)
for s in seen_vars[k]:
olines.append(s)
previourVarPrefix = k.split('_')[0] == '' and "unknown" or k.split('_')[0]
for line in olines:
print(line)
File renamed without changes.
4 changes: 2 additions & 2 deletions meta-filesystems/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ BBFILE_PRIORITY_filesystems-layer = "5"
# cause compatibility issues with other layers
LAYERVERSION_filesystems-layer = "1"

LAYERDEPENDS_filesystems-layer = "core openembedded-layer"
LAYERDEPENDS_filesystems-layer = "core openembedded-layer networking-layer"

LAYERSERIES_COMPAT_filesystems-layer = "kirkstone langdale"
LAYERSERIES_COMPAT_filesystems-layer = "nanbield"
3 changes: 3 additions & 0 deletions meta-filesystems/files/static-passwd-meta-filesystems
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fsgqa:x:700:nogroup::/:/bin/nologin
123456-fsgqa:x:701:nogroup::/:/bin/nologin
fsgqa2:x:702:nogroup::/:/bin/nologin
13 changes: 13 additions & 0 deletions meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
SUMMARY = "library to write an ISO-9660 file system to physical media"
HOMEPAGE = "https://libburnia-project.org/"

LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
file://COPYRIGHT;md5=a91b9b862895b64e68e5b321873c9111"

SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz"
SRC_URI[sha256sum] = "7295491b4be5eeac5e7a3fb2067e236e2955ffdc6bbd45f546466edee321644b"

inherit autotools pkgconfig lib_package

BBCLASSEXTEND = "native"
27 changes: 27 additions & 0 deletions meta-filesystems/recipes-filesystems/burnia/libisoburn_1.5.6.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
SUMMARY = "library and tool to create and burn ISO-9660 images"
HOMEPAGE = "https://libburnia-project.org/"

LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
file://COPYRIGHT;md5=43cfe25a7e4a65f722d6253fa0649bb1"

SRC_URI = "http://files.libburnia-project.org/releases/libisoburn-${PV}.tar.gz"
SRC_URI[sha256sum] = "2b80a6f73dd633a5d243facbe97a15e5c9a07644a5e1a242c219b9375a45f71b"

DEPENDS = "libisofs libburn"
# This replaces the xorriso recipe
PROVIDES += "xorriso"

inherit autotools pkgconfig

EXTRA_OECONF = "--enable-pkg-check-modules"

do_install:append() {
# This is a proof-of-concept UI using Tk, don't ship it
rm -f ${D}${bindir}/xorriso-tcltk
}

PACKAGE_BEFORE_PN = "xorriso"
FILES:xorriso = "${bindir}"

BBCLASSEXTEND = "native"
15 changes: 15 additions & 0 deletions meta-filesystems/recipes-filesystems/burnia/libisofs_1.5.6.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SUMMARY = "library to create an ISO-9660 filesystem"
HOMEPAGE = "https://libburnia-project.org/"

LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
file://COPYRIGHT;md5=1c1e5a960562d65f6449bb1d21e1dffc"

SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz"
SRC_URI[sha256sum] = "0152d66a9d340b659fe9c880eb9190f3570fb477ac07cf52e8bcd134a1d30d70"

DEPENDS = "acl zlib"

inherit autotools

BBCLASSEXTEND = "native"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SUMMARY = "read and write exFAT driver for FUSE"
DESCRIPTION = "fuse-exfat is a read and write driver implementing the \
extended file allocation table as a filesystem in userspace. A mounthelper \
is provided under the name mount.exfat-fuse. \
"
HOMEPAGE = "https://github.com/relan/exfat"
SECTION = "universe/otherosfs"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "https://github.com/relan/exfat/releases/download/v${PV}/${BP}.tar.gz"

UPSTREAM_CHECK_URI = "https://github.com/relan/exfat/releases"

DEPENDS = "fuse virtual/libc"
RRECOMMENDS:${PN} = "util-linux-mount"

inherit autotools pkgconfig

SRC_URI[sha256sum] = "a1cfedc55e0e7a12c184605aa0f0bf44b24a3fb272449b20b2c8bbe6edb3001e"

EXTRA_OECONF += "sbindir=${base_sbindir}"
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@ inherit pkgconfig
DEPENDS += "fuse"
RDEPENDS:${PN} += "fuse"

SRC_URI += "https://astuteinternet.dl.sourceforge.net/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1"

S = "${WORKDIR}/httpfs2-${PV}"

do_compile() {
cd ${S}
oe_runmake httpfs2
oe_runmake -C ${S} httpfs2
}

do_install() {
cd ${S}
install -d ${D}${bindir}
install -m 0755 httpfs2 ${D}${bindir}
install -Dm 0755 ${S}/httpfs2 ${D}${bindir}/httpfs2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require recipes-core/images/core-image-base.bb

IMAGE_INSTALL += "packagegroup-meta-filesystems"

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Subject: [PATCH] Add $(LDFLAGS) to linker cmdline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending

Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ static function

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending

btree.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
DESCRIPTION = "The NTFS-3G driver is an open source, freely available NTFS driver for Linux with read and write support."
HOMEPAGE = "http://www.ntfs-3g.org/"
DEPENDS = "fuse libgcrypt"
PROVIDES = "ntfsprogs ntfs-3g"
LICENSE = "GPL-2.0-only & LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"

SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \
file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \
"
S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}"
SRC_URI[sha256sum] = "f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c"

UPSTREAM_CHECK_URI = "https://www.tuxera.com/community/open-source-ntfs-3g/"
UPSTREAM_CHECK_REGEX = "ntfs-3g_ntfsprogs-(?P<pver>\d+(\.\d+)+)\.tgz"

inherit autotools pkgconfig

PACKAGECONFIG ??= ""
PACKAGECONFIG[uuid] = "--with-uuid,--without-uuid,util-linux"

# required or it calls ldconfig at install step
EXTRA_OEMAKE = "LDCONFIG=echo"

PACKAGES =+ "ntfs-3g ntfsprogs libntfs-3g"

FILES:ntfs-3g = "${base_sbindir}/*.ntfs-3g ${bindir}/ntfs-3g* ${base_sbindir}/mount.ntfs"
RDEPENDS:ntfs-3g += "fuse"
RRECOMMENDS:ntfs-3g = "util-linux-mount"

FILES:ntfsprogs = "${base_sbindir}/* ${bindir}/* ${sbindir}/*"
FILES:libntfs-3g = "${libdir}/*${SOLIBS}"

do_install:append() {
# Standard mount will execute the program /sbin/mount.TYPE when called.
# Add a symbolic link to let mount find ntfs.
ln -sf mount.ntfs-3g ${D}${base_sbindir}/mount.ntfs
rmdir ${D}${libdir}/ntfs-3g

# Handle when usrmerge is in effect. Some files are installed to /sbin
# regardless of the value of ${base_sbindir}.
if [ "${base_sbindir}" != /sbin ] && [ -d ${D}/sbin ]; then
mkdir -p ${D}${base_sbindir}
mv ${D}/sbin/* ${D}${base_sbindir}
rmdir ${D}/sbin
fi
}

# Satisfy the -dev runtime dependency
ALLOW_EMPTY:${PN} = "1"

CVE_PRODUCT = "tuxera:ntfs-3g"

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Makefile.am: required file `./README' not found

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
Upstream-Status: Pending

Makefile.am | 1 +
1 file changed, 1 insertion(+)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ RDEPENDS:packagegroup-meta-filesystems = "\

RDEPENDS:packagegroup-meta-filesystems = "\
ifuse \
libisofs \
libburn \
libisoburn \
logfsprogs \
fuse-exfat \
owfs \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Subject: [PATCH] Using PKG_CHECK_MODULES to found headers and libraries of

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
---
Upstream-Status: Pending

configure.in | 5 +++++
src/Makefile.am | 3 +++
2 files changed, 8 insertions(+)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Upstream-Status: Pending

--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
SUMMARY = "This is a filesystem client based on the SSH File Transfer Protocol using FUSE"
AUTHOR = "Miklos Szeredi <miklos@szeredi.hu>"
HOMEPAGE = "https://github.com/libfuse/sshfs"
SECTION = "console/network"
LICENSE = "GPL-2.0-only"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
From 449cec34c123b86b792627553c6ec7471d2ee7ed Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 30 Jun 2017 14:46:51 +0800
From 6e794a36564a2639a07d8720260e33d7c9435aa4 Mon Sep 17 00:00:00 2001
From: Alper Ak <alperyasinak1@gmail.com>
Date: Fri, 10 Nov 2023 20:50:48 +0300
Subject: [PATCH] support cross compiling

Do not override OE CMAKE variables

Upstream-Status: Pending

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
---
CMakeLists.txt | 4 ++--
src/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,9 +10,9 @@ IF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
ENDIF(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f549496..ab71fb2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,9 +4,9 @@ set(UNIONFS_SRCS unionfs.c opts.c debug.c findbranch.c readdir.c
fuse_ops.c)
set(UNIONFSCTL_SRCS unionfsctl.c)

# Select flags.
-SET(CMAKE_C_FLAGS "-pipe -W -Wall -DFORTIFY_SOURCE=2")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -W -Wall -DFORTIFY_SOURCE=2")
-SET(CMAKE_C_FLAGS "-pipe -W -Wall -D_FORTIFY_SOURCE=2")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -W -Wall -D_FORTIFY_SOURCE=2")
SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g")
-SET(CMAKE_C_FLAGS_RELEASE "-O2")
+SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -DDEBUG")

if (UNIX AND APPLE)
--
2.8.1

add_executable(unionfs ${UNIONFS_SRCS} ${HASHTABLE_SRCS})
Loading

0 comments on commit 2ab037e

Please sign in to comment.