From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7015564124286353408 Date: Tue, 5 Oct 2021 05:51:50 -0700 (PDT) From: Michael Ebel To: isar-users Message-Id: <95cfe308-d828-4ce9-8845-6bab5144c4d0n@googlegroups.com> Subject: [PATCH v2] meta/classes/debianize: Create debian folder if source does not contain one MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1520_1853002363.1633438310170" X-TUID: knYtcbj87Wa3 ------=_Part_1520_1853002363.1633438310170 Content-Type: multipart/alternative; boundary="----=_Part_1521_359165861.1633438310170" ------=_Part_1521_359165861.1633438310170 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Changes since v1: - Removed unnecessary comment - Removed unnecessary condition - Changed commit message to reflect the purpose more clearly From: Michael Ebel meta/classes/debianize: Make sure debian folder exists Signed-off-by: Michael Ebel --- meta/classes/debianize.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass index 4486778..aa13b28 100644 --- a/meta/classes/debianize.bbclass +++ b/meta/classes/debianize.bbclass @@ -88,6 +88,8 @@ EOF } deb_debianize() { + install -m 755 -d ${S}/debian + # create the compat-file if there is no file with that name in WORKDIR if [ -f ${WORKDIR}/compat ]; then install -v -m 644 ${WORKDIR}/compat ${S}/debian/compat -- 2.25.1 ------=_Part_1521_359165861.1633438310170 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Changes since v1:
- Removed unnecessary comment
- Removed unnecessary cond= ition
- Changed commit message to reflect the purpose more clearl= y

From: Michael Ebel <mebel@christ-es.de>= ;

meta/classes/debianize: Make sure debian folder exists

Sign= ed-off-by: Michael Ebel <mebel@christ-es.de>
---
 meta/cla= sses/debianize.bbclass | 2 ++
 1 file changed, 2 insertions(+)
<= br>diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbc= lass
index 4486778..aa13b28 100644
--- a/meta/classes/debianize.bbcla= ss
+++ b/meta/classes/debianize.bbclass
@@ -88,6 +88,8 @@ EOF
&nbs= p;}
 
 deb_debianize() {
+    install -m = 755 -d ${S}/debian
+
     # create the compat-fil= e if there is no file with that name in WORKDIR
    = if [ -f ${WORKDIR}/compat ]; then
       =   install -v -m 644 ${WORKDIR}/compat ${S}/debian/compat
--
2.2= 5.1

------=_Part_1521_359165861.1633438310170-- ------=_Part_1520_1853002363.1633438310170--