aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/swupd-client/swupd-client_2.87.bb
diff options
context:
space:
mode:
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>2016-03-23 10:47:19 +0200
committerJoshua Lock <joshua.g.lock@intel.com>2016-03-30 21:36:58 +0100
commit40e43db58f41779d368abf71e5dcd5e26a5a9149 (patch)
tree88982d1c112316a5678f7158ad330c8a68bc056d /recipes-core/swupd-client/swupd-client_2.87.bb
parentbca8b080378389c49fa5c7b0382c4b5e947589c2 (diff)
downloadmeta-swupd-40e43db58f41779d368abf71e5dcd5e26a5a9149.zip
meta-swupd-40e43db58f41779d368abf71e5dcd5e26a5a9149.tar.gz
meta-swupd-40e43db58f41779d368abf71e5dcd5e26a5a9149.tar.bz2
swupd-client: Update the client and server to use bsdtar
This patch adds bsdtar support to swupd-client and swupd-server and enables it. The reason why it's done this way is that: - bsdtar works better with IMA (opens files only once and then updates content and xattrs together); - swupd remains fully functional, including xattrs support, even when a distro disables GPLv3 licensed code. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Diffstat (limited to 'recipes-core/swupd-client/swupd-client_2.87.bb')
-rw-r--r--recipes-core/swupd-client/swupd-client_2.87.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes-core/swupd-client/swupd-client_2.87.bb b/recipes-core/swupd-client/swupd-client_2.87.bb
index 8226624..3356ae6 100644
--- a/recipes-core/swupd-client/swupd-client_2.87.bb
+++ b/recipes-core/swupd-client/swupd-client_2.87.bb
@@ -9,20 +9,23 @@ SRC_URI = "\
file://Right-usage-of-AC_ARG_ENABLE-on-bzip2.patch \
file://Change-systemctl-path-to-OE-systemctl-path.patch \
file://0001-Tolerate-quotes-in-os-release-files.patch \
+ file://0005-swupd-client-Add-existence-check-to-staging-target.patch \
+ file://0006-Backport-Use-rename-instead-of-tar-transform.patch \
+ file://0007-Add-compatibility-with-libarchive-s-bsdtar-command.patch \
"
SRC_URI[md5sum] = "5d272c62edb8a9c576005ac5e1182ea3"
SRC_URI[sha256sum] = "45df259a7dc2fed985ee9961e112120fc46670dd75476c3262fc6804b1c66fb8"
DEPENDS = "glib-2.0 curl zlib bzip2 xz openssl"
-RDEPENDS_${PN} = "gzip bzip2 tar xz"
-RDEPENDS_${PN}_class-target = "oe-swupd-helpers"
+RDEPENDS_${PN} = "gzip bzip2 xz"
+RDEPENDS_${PN}_class-target = "oe-swupd-helpers bsdtar"
# We check /etc/os-release for the current OS version number
RRECOMMENDS_${PN}_class-target = "os-release"
inherit pkgconfig autotools-brokensep systemd
-EXTRA_OECONF = "--with-systemdsystemunitdir=${systemd_system_unitdir}"
+EXTRA_OECONF = "--with-systemdsystemunitdir=${systemd_system_unitdir} --enable-bsdtar"
#TODO: create and install /var/lib/swupd/{delta,staged/download}
do_install_append () {