From patchwork Fri Jan 22 11:27:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quirin Gylstorff X-Patchwork-Id: 289 Return-Path: Delivered-To: ilbers.mnt@gmail.com Received: by 2002:a4a:94eb:0:0:0:0:0 with SMTP id l40csp1636888ooi; Fri, 22 Jan 2021 13:27:54 -0800 (PST) X-Received: by 2002:a5d:664c:: with SMTP id f12mr6296790wrw.61.1611350873866; Fri, 22 Jan 2021 13:27:53 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1611350873; cv=pass; d=google.com; s=arc-20160816; b=UBr8I8xriJoVZOlWr5q3DkwjiVOctXo9nAGSORecJlutjSkMnGeatLIrwh7LM1brU1 AvnJhMU+tOvv13wB0KW8vY45oq2X2UXGA685QvNhVfVsLGoiZyqGZZFri416KTqfXag6 kx3m8JbIeA72fBxliW4BKDMvMZ3Ucl9i098YuUF8G5Fn+69L9FgzQCdmUgo0rjpU7/E+ UFtt05kCQiNemQ02QJEDmVC41uBaFnww4XeYcnpIduUmuvcjoLl699gbQTzAd+DiANBZ LqdSo6Ed5C1BQo+JQfoQlsvBSk8dN4rNiLvT+uJRVc/C9FtyAnp0yFx0eSI1EbRD36Ql 02rw== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:dkim-signature; bh=/HVFHmaERRkiLiNCrHjIQ4raSxskx3QHSXG2vWmz7mk=; b=s3B4oFU/ME0mrVn/NkOh8fxikTUA6L+8eYKxRbNPPApkmT7GBAOW0wtrCWP+yEmvk6 /JpxoKK1OAorVBw+TDUUYWot2pxVpAOiKHw9da9BI1dugCVnGSK3uXbdmJjQrS+qbDOi gMDzxXTST5hfdw9pNcH760BEICkQHMuC3pzU3rp2JPXhhpAwhOvKsyMdSXPqDbXZtYKG XsP1ZmmtAt1495OnceSrJO5RAT+h5QzZsMoOkzTwEXrrYz7XTkPV6oOsq8n7uYLgOnkc Wp35KGZK9THAgufte1a7KjLQixGe96wj7KKzYn9coJi3q5PMVIZQJkKPD5i1b4SuBNSc p2eQ== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=M3DYXWZ+; arc=pass (i=2 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of isar-users+bncbctzztvx2qcrbwegvwaamgqeevymvda@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCTZZTVX2QCRBWEGVWAAMGQEEVYMVDA@googlegroups.com; dmarc=fail (p=NONE sp=NONE dis=NONE arc=pass) header.from=siemens.com Received: from mail-sor-f55.google.com (mail-sor-f55.google.com. [209.85.220.55]) by mx.google.com with SMTPS id b9sor5295257wrc.44.2021.01.22.13.27.53 (Google Transport Security); Fri, 22 Jan 2021 13:27:53 -0800 (PST) Received-SPF: pass (google.com: domain of isar-users+bncbctzztvx2qcrbwegvwaamgqeevymvda@googlegroups.com designates 209.85.220.55 as permitted sender) client-ip=209.85.220.55; Authentication-Results: mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=M3DYXWZ+; arc=pass (i=2 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of isar-users+bncbctzztvx2qcrbwegvwaamgqeevymvda@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCTZZTVX2QCRBWEGVWAAMGQEEVYMVDA@googlegroups.com; dmarc=fail (p=NONE sp=NONE dis=NONE arc=pass) header.from=siemens.com ARC-Seal: i=2; a=rsa-sha256; t=1611350873; cv=pass; d=google.com; s=arc-20160816; b=V9TMzufxTm7UkuxqZERKKlMRgBCVOceUtM1w+MBf7SnNq5g49cJhdqat6+o4/464Kx yz/GfQTse1hAYUZ4GnNcvK4kRVMfUSZoatJRw/sc2sY5DxgMqthZ6F+iX10ksb7ubYgT 7glCeTrK2mgbA2RInnWSxYoiIuIarWgDAdF+MGStKQHbVvOnPu09Da+EE9tEks5fTFKr TFodq29Z1qgOLVTkCEZxQENMFVL4fucChG1NSah+xCUEXVPP4Oc0a2uo8sk8gsNdHYHK HSAX8ubKhg5+wLtOaJDlK060zE3d3ebX5ltiDyJ0hzrYCNCWei/B1oRzjFrTAsZx87AJ oV1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:dkim-signature; bh=/HVFHmaERRkiLiNCrHjIQ4raSxskx3QHSXG2vWmz7mk=; b=cwvnp3MioBRb13EfCciyJRz2/E1oop9tS6tF2t9z4R1FmmoCN+P2EHFWg+I9oJGm1L CoISNRLWDUpNhC98+y8iaqY860k5D0r0/Y4xAg6kfLzHEUHorEqTItZ136NzEcIti0te D4G+h3m5CCyPFT61JILgPvjf5xCyABgp26u5ZHgtcG/6um/2WoXimycGIyV518VM2SDm DqQgzV9SSJkP2/CTFT3uOiRR4dCI2IuoIp2n98pEvuTb1cdAd5sSP1qBZRDPFYqeCyLc eLI7S2TcJva4rYfYlAYHe6IneLVBCcocfy2ks7qic9oT4sHazJrrOy2nM4KyzurHTV7P LIMg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=Quirin.Gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/HVFHmaERRkiLiNCrHjIQ4raSxskx3QHSXG2vWmz7mk=; b=M3DYXWZ+4oJv6UjA3AC4IiNpQ8/CgbVuH+KCcaWhxzT4f5MUHPPazlU4kGTXy4Hs6y xjfPahYAgHBbXjIpk/R9wNCAT2E1sAvF44fQxjCnrxBBPaDh0jqCHMWN6K5vnpdpcIcv aRvJJ8HKr8UO3+T/V8xRILhTmhqU7kMEBhbezYGNUSTVCkJxkMW7n0BKCHyQPXGqFKnf KsSjuZ+B7vTjPVlxBe+TYWdUe5G1N+1JVNp0MRRaZW+Sf+D+X6WE7qVlFvWLnTNzegzT DCoWf0jvDmrYbn6j3qV8ehmXV35ikTy+U3mC5/fIqf2o9l+5gOs78ytrrH6nDBjUcGFO jVug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/HVFHmaERRkiLiNCrHjIQ4raSxskx3QHSXG2vWmz7mk=; b=RtuUmDiHdl+f/ymLxYWcb4vDO3MAuxsKw4Yx72VMN1XnsCnWfxSj9hOUcnGJXZtJxn Gq4svIdm2fe87tlPV3Tu6JR/L5ohBVbaFNBnmPUHOYunmg5AX15zxcCm85+2QIR0qRPE rZZxscR4EPJbymru3by6rwjbufVLCveI9OSGnrdZRxBZf5p8wPaB8gdgRtQxdmlketny X2XIczhbzhKqaPJEbg0/Y2KOP9K3ngYxCSVHdj5FsTdYzva0gnmCKWSZrXPrs3LT21JD RJQS0kyuqx3zfaKB0vhPXUlUySAZC7UwbY8+fmEn2ZscCI/x2+MAF/ZMHauRcPGmZ4Qn XaXQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531jiOd76nXsBJei4EjE779fIh0rIYc+huibj5uYz+KGqBYzMGjt iBl3dJKw/0DmytqtDFgsjaE= X-Google-Smtp-Source: ABdhPJwzTQz+UMhYmfCdawymBaXUEezY5WUrBAo8RLcLjzXq1i4n3WQqYGLT24ogNhgY1/7XazXohQ== X-Received: by 2002:adf:f849:: with SMTP id d9mr6395010wrq.349.1611350872972; Fri, 22 Jan 2021 13:27:52 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:a54b:: with SMTP id j11ls1410938wrb.3.gmail; Fri, 22 Jan 2021 13:27:52 -0800 (PST) X-Received: by 2002:a5d:40d2:: with SMTP id b18mr6102891wrq.369.1611350872119; Fri, 22 Jan 2021 13:27:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611350872; cv=none; d=google.com; s=arc-20160816; b=V0pYkn53m9FstAUtuJU8vVbTapVcfTvpCIWeYEGbNKoU8rGJ/rc9nnYNn1KIbzRrIc WkAQZXTPTCUtO9tWKnMR+TfPj6HQ0eX56goYWhE9Iref2B3C1eDqJNmxuQzsx+UUfVTw XY3v8RezST0QqrOrTHnVyLXCEQ1i0505HuHQHrijBFqfXAWqaAhYWT5g2ygF+6iTEOxG aqO2TyKkcsweOEzM4FpDmOMbIqV3AAiGtJVNiXIRiDvD/ME7rSQ6gkSZ9gSNcog33OkY RfQLaNLgqWOwcLJH9dQ5KFUCfpVYqt4rc9OWJMDbsFWgag74G2zVpx7kQF4OemepbNhp +F7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=GDj4SVdgYfqnT10b6dMnv5NaFoWKpZ2UncOHgfHIoLg=; b=gTjVUv6uUfNHZLicnAfhSTK136WNY+SiZmEirlTD1TPR/OwImiD2S74Pp9ukAn2Zrf 4UDIhvOINwwAmik8+AhIHB8ATkWJ8LfFc8SDsgJZLwD2h9PjDSefmsPNMikVGYl1kU9P RxjD+VptF0UVhAoF24V9E9Sb7OoVsMM6tRHc/P9mL9tB8kVh3k4k2bFiAtVQnxhILWxB Wh3TY2YQ84/JCM40KA+8/X/wHtCxulr8UQUPh+WrTWIWawwo7uXyV2GZCd5goamRpZKq cMS98ITP/T/TXS+OO6DPhMhvDZ1odNNKnehKsZnSLS2gAXwSXTiGdUu+bhYMzNClxP0y y8sw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=Quirin.Gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id l21si489948wmg.2.2021.01.22.13.27.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2021 13:27:52 -0800 (PST) Received-SPF: pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 10MLRp5I027967 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 22 Jan 2021 22:27:51 +0100 Received: from md2dvrtc.fritz.box ([167.87.247.200]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 10MLRpiD012149 for ; Fri, 22 Jan 2021 22:27:51 +0100 From: "Q. Gylstorff" To: isar-users@googlegroups.com Subject: [PATCH v3] update libubootenv to 0.3.1 Date: Fri, 22 Jan 2021 22:27:51 +0100 Message-Id: <20210122212751.11418-1-Quirin.Gylstorff@siemens.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210122144512.5060-1-Quirin.Gylstorff@siemens.com> References: <20210122144512.5060-1-Quirin.Gylstorff@siemens.com> MIME-Version: 1.0 X-Original-Sender: quirin.gylstorff@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=Quirin.Gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1689486753384378553?= X-GMAIL-MSGID: =?utf-8?q?1689623853790590632?= From: Quirin Gylstorff This fixes bugs and remove the patch for the isar-build Signed-off-by: Quirin Gylstorff --- Changes V2: - delete patch file Changes V3: - correct description of libubootenv .../0002-Add-support-GNUInstallDirs.patch | 48 ------------------- ...ibubootenv_0.2.bb => libubootenv_0.3.1.bb} | 15 ++---- 2 files changed, 4 insertions(+), 59 deletions(-) delete mode 100644 meta/recipes-bsp/libubootenv/files/0002-Add-support-GNUInstallDirs.patch rename meta/recipes-bsp/libubootenv/{libubootenv_0.2.bb => libubootenv_0.3.1.bb} (58%) diff --git a/meta/recipes-bsp/libubootenv/files/0002-Add-support-GNUInstallDirs.patch b/meta/recipes-bsp/libubootenv/files/0002-Add-support-GNUInstallDirs.patch deleted file mode 100644 index f8c3038..0000000 --- a/meta/recipes-bsp/libubootenv/files/0002-Add-support-GNUInstallDirs.patch +++ /dev/null @@ -1,48 +0,0 @@ -From b17d194bd8285a19382a902a0bec9e5e042df064 Mon Sep 17 00:00:00 2001 -From: Nobuhiro Iwamatsu -Date: Tue, 16 Apr 2019 08:52:01 +0900 -Subject: [PATCH 2/4] Add support GNUInstallDirs - -This adds the functionality of the module "GNUInstallDirs" to make the -installation compatible with GNU. - -https://cmake.org/cmake/help/v3.14/module/GNUInstallDirs.html - -Signed-off-by: Nobuhiro Iwamatsu ---- - CMakeLists.txt | 2 ++ - src/CMakeLists.txt | 8 ++++---- - 2 files changed, 6 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 104969e..57477fc 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -10,6 +10,8 @@ add_definitions(-DVERSION="${VERSION}") - - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") - -+include("GNUInstallDirs") -+ - #set(CMAKE_C_FLAGS_DEBUG "-g") - include_directories ("${PROJECT_SOURCE_DIR}/src") - add_subdirectory (src) -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index ea5979c..d97f221 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -19,7 +19,7 @@ add_executable(fw_setenv fw_setenv.c) - target_link_libraries(fw_printenv ubootenv z) - target_link_libraries(fw_setenv ubootenv z) - --install (TARGETS ubootenv DESTINATION lib) --install (FILES libuboot.h DESTINATION include) --install (TARGETS fw_printenv DESTINATION bin) --install (TARGETS fw_setenv DESTINATION bin) -+install (TARGETS ubootenv DESTINATION "${CMAKE_INSTALL_LIBDIR}") -+install (FILES libuboot.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") -+install (TARGETS fw_printenv DESTINATION "${CMAKE_INSTALL_BINDIR}") -+install (TARGETS fw_setenv DESTINATION "${CMAKE_INSTALL_BINDIR}") --- -2.20.1 - diff --git a/meta/recipes-bsp/libubootenv/libubootenv_0.2.bb b/meta/recipes-bsp/libubootenv/libubootenv_0.3.1.bb similarity index 58% rename from meta/recipes-bsp/libubootenv/libubootenv_0.2.bb rename to meta/recipes-bsp/libubootenv/libubootenv_0.3.1.bb index 8eea584..6027f8c 100644 --- a/meta/recipes-bsp/libubootenv/libubootenv_0.2.bb +++ b/meta/recipes-bsp/libubootenv/libubootenv_0.3.1.bb @@ -5,8 +5,8 @@ # # SPDX-License-Identifier: MIT -DESCRIPTION = "swupdate utility for software updates" -HOMEPAGE= "https://github.com/sbabic/swupdate" +DESCRIPTION = "Standalone library & tools for accessing the U-Boot environment" +HOMEPAGE= "https://github.com/sbabic/libubootenv" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" @@ -14,18 +14,11 @@ PROVIDES = "libubootenv-tool libubootenv-dev libubootenv-doc libubootenv0.1" inherit dpkg-gbp -SRC_URI = "git://salsa.debian.org/debian/libubootenv.git;protocol=https \ - file://0002-Add-support-GNUInstallDirs.patch;apply=no " -SRCREV = "2c7cb6d941d906dcc1d2e447cc17e418485dff12" +SRC_URI = "git://salsa.debian.org/debian/libubootenv.git;protocol=https" +SRCREV = "918da2525ce711700633ad69ea9b7e569b7abdbc" S = "${WORKDIR}/git" -do_prepare_build() { - cd ${S} - export QUILT_PATCHES=debian/patches - quilt import -f ${WORKDIR}/*.patch - quilt push -a -} dpkg_runbuild_prepend() { export DEB_BUILD_OPTIONS="nocheck"