public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Cc: Henning Schild <henning.schild@siemens.com>
Subject: [PATCH] ci: Make partial rebuild test non-destructive
Date: Thu, 6 Dec 2018 09:43:27 +0100	[thread overview]
Message-ID: <07899c7c-8f05-ffc9-869d-83cc13764b61@siemens.com> (raw)

Useful in case you are running the script against a development
checkout.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 scripts/ci_build.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index aae9084..33d8caf 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -117,6 +117,9 @@ else
     #multiconfig:qemuarm64-buster:isar-image-base
 fi
 
+cp -a ${ISARROOT}/meta/classes/dpkg-base.bbclass ${ISARROOT}/meta/classes/dpkg-base.bbclass.ci-backup
 echo -e "do_fetch_append() {\n\n}" >> ${ISARROOT}/meta/classes/dpkg-base.bbclass
 
 bitbake $BB_ARGS multiconfig:qemuamd64-stretch:isar-image-base
+
+mv ${ISARROOT}/meta/classes/dpkg-base.bbclass.ci-backup ${ISARROOT}/meta/classes/dpkg-base.bbclass
-- 
2.16.4

             reply	other threads:[~2018-12-06  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06  8:43 Jan Kiszka [this message]
2018-12-07 13:48 ` Maxim Yu. Osipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=07899c7c-8f05-ffc9-869d-83cc13764b61@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox