From: Christos Kotsi <christo.kotsi@gmail.com>
To: gentoo-catalyst@lists.gentoo.org
Cc: christo.kotsi@gmail.com
Subject: [gentoo-catalyst] [PATCH 3/6] Concentrated export&delete_from_root lines
Date: Wed, 12 Apr 2017 11:43:46 +0300 [thread overview]
Message-ID: <20170412084349.2017-3-christo.kotsi@gmail.com> (raw)
In-Reply-To: <20170412084349.2017-1-christo.kotsi@gmail.com>
---
targets/grp/grp-chroot.sh | 3 +--
targets/netboot2/netboot2-controller.sh | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/targets/grp/grp-chroot.sh b/targets/grp/grp-chroot.sh
index 6690c91..5b56fff 100755
--- a/targets/grp/grp-chroot.sh
+++ b/targets/grp/grp-chroot.sh
@@ -5,8 +5,7 @@ source /tmp/chroot-functions.sh
## START BUILD
setup_pkgmgr
-export DISTDIR="/tmp/grp/${clst_grp_target}"
-export PKGDIR="/tmp/grp/${clst_grp_target}"
+export {DISTDIR,PKGDIR}="/tmp/grp/${clst_grp_target}"
if [ "${clst_grp_type}" = "pkgset" ]
then
diff --git a/targets/netboot2/netboot2-controller.sh b/targets/netboot2/netboot2-controller.sh
index 322d9a8..3bf4982 100755
--- a/targets/netboot2/netboot2-controller.sh
+++ b/targets/netboot2/netboot2-controller.sh
@@ -39,8 +39,7 @@ case ${1} in
exec_in_chroot ${clst_shdir}/support/kmerge.sh
- delete_from_chroot tmp/linuxrc
- delete_from_chroot tmp/busy-config
+ delete_from_chroot tmp/{linuxrc,busy-config}
extract_modules ${clst_chroot_path} ${clst_kname}
#16:12 <@solar> kernel_name=foo
--
2.10.2
next prev parent reply other threads:[~2017-04-12 8:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 8:43 [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands Christos Kotsi
2017-04-12 8:43 ` [gentoo-catalyst] [PATCH 2/6] updated gitignore with patches directory Christos Kotsi
2017-04-12 19:20 ` Mike Frysinger
2017-04-12 8:43 ` Christos Kotsi [this message]
2017-04-12 19:24 ` [gentoo-catalyst] [PATCH 3/6] Concentrated export&delete_from_root lines Mike Frysinger
2017-04-12 8:43 ` [gentoo-catalyst] [PATCH 4/6] Added some loops Christos Kotsi
2017-04-12 8:43 ` [gentoo-catalyst] [PATCH 5/6] ln,echo and cp commands concentration Christos Kotsi
2017-04-12 19:24 ` Mike Frysinger
2017-04-12 8:43 ` [gentoo-catalyst] [PATCH 6/6] changed mkdir line for kernels/misc Christos Kotsi
2017-04-13 16:45 ` [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands Mike Frysinger
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=20170412084349.2017-3-christo.kotsi@gmail.com \
--to=christo.kotsi@gmail.com \
--cc=gentoo-catalyst@lists.gentoo.org \
/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