From: chombourger@gmail.com
To: isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] isar-bootstrap-helper: don't use USER environment variable
Date: Mon, 29 Oct 2018 04:28:34 -0700 (PDT) [thread overview]
Message-ID: <fd297980-c3a7-4464-8d00-d5db715cfb70@googlegroups.com> (raw)
In-Reply-To: <20181026110820.26169-1-mosipov@ilbers.de>
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]
> diff --git a/meta/classes/isar-bootstrap-helper.bbclass b/meta/classes/isar-bootstrap-helper.bbclass
> index a316fe8..1ac39db 100644
> --- a/meta/classes/isar-bootstrap-helper.bbclass
> +++ b/meta/classes/isar-bootstrap-helper.bbclass
> @@ -140,7 +140,7 @@ setup_root_file_system() {
> if [ ${KEEP_APT_CACHE} -eq 1 ]; then
> mkdir -p ${WORKDIR}/apt_cache
> sudo mv $(find $ROOTFSDIR/var/cache/apt -name '*.deb') ${WORKDIR}/apt_cache
> - sudo chown $USER ${WORKDIR}/apt_cache/*
> + sudo chown `whoami` ${WORKDIR}/apt_cache/*
Consider using the new-style syntax $(whoami) instead
> fi
> sudo -E chroot "$ROOTFSDIR" \
> /usr/bin/apt-get autoremove --purge --yes
> --
> 2.11.0
prev parent reply other threads:[~2018-10-29 11:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-26 11:08 Maxim Yu. Osipov
2018-10-29 11:28 ` chombourger [this message]
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=fd297980-c3a7-4464-8d00-d5db715cfb70@googlegroups.com \
--to=chombourger@gmail.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