mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
squashfs-tools: update 4.5 -> 4.5.1
Drop backports. Correctly set source and installation directories. (From OE-Core rev: feaa1ed77c31a3c7dd8abe17d8d0e6f94157eb61) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
15df00f0f0
commit
abff42ff31
@@ -5,20 +5,16 @@ HOMEPAGE = "https://github.com/plougher/squashfs-tools"
|
||||
DESCRIPTION = "Tools to create and extract Squashfs filesystems."
|
||||
SECTION = "base"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
PV = "4.5"
|
||||
SRCREV = "0496d7c3de3e09da37ba492081c86159806ebb07"
|
||||
PV = "4.5.1"
|
||||
SRCREV = "afdd63fc386919b4aa40d573b0a6069414d14317"
|
||||
SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=master \
|
||||
file://0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch \
|
||||
file://CVE-2021-41072-requisite-1.patch;striplevel=2 \
|
||||
file://CVE-2021-41072-requisite-2.patch;striplevel=2 \
|
||||
file://CVE-2021-41072-requisite-3.patch;striplevel=2 \
|
||||
file://CVE-2021-41072.patch;striplevel=2 \
|
||||
file://0001-install-manpages.sh-do-not-write-original-timestamps.patch \
|
||||
"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
|
||||
S = "${WORKDIR}/git/squashfs-tools"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
|
||||
|
||||
@@ -33,13 +29,15 @@ PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd"
|
||||
PACKAGECONFIG[reproducible] = "REPRODUCIBLE_DEFAULT=1,REPRODUCIBLE_DEFAULT=0,"
|
||||
|
||||
do_compile() {
|
||||
cd ${S}/squashfs-tools
|
||||
oe_runmake all
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${S}/squashfs-tools
|
||||
install -d "${D}${includedir}"
|
||||
oe_runmake install INSTALL_DIR=${D}${sbindir}
|
||||
install -m 0644 "${S}"/squashfs_fs.h "${D}${includedir}"
|
||||
oe_runmake install INSTALL_PREFIX=${D}${prefix} INSTALL_MANPAGES_DIR=${D}${datadir}/man/man1
|
||||
install -m 0644 "${S}"/squashfs-tools/squashfs_fs.h "${D}${includedir}"
|
||||
}
|
||||
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
|
||||
Reference in New Issue
Block a user