From: Alexander Smirnov <asmirnov@ilbers.de>
To: Christian Storm <christian.storm@siemens.com>
Cc: isar-users@googlegroups.com
Subject: Re: [PATCH] isar-image-base: purge installation logs of installed packages
Date: Fri, 17 Nov 2017 18:28:29 +0300 [thread overview]
Message-ID: <cebdcf84-3c6e-4828-32ab-c73cb80a02e6@ilbers.de> (raw)
In-Reply-To: <20171110102808.30102-1-christian.storm@siemens.com>
Hi,
What is the benefit of this patch? These logs take about 40KB for
default build.
Alex
> Signed-off-by: Christian Storm <christian.storm@siemens.com>
> ---
> meta-isar/recipes-core/images/files/debian-configscript.sh | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta-isar/recipes-core/images/files/debian-configscript.sh b/meta-isar/recipes-core/images/files/debian-configscript.sh
> index 33b2b53..b0e3f6d 100755
> --- a/meta-isar/recipes-core/images/files/debian-configscript.sh
> +++ b/meta-isar/recipes-core/images/files/debian-configscript.sh
> @@ -76,6 +76,9 @@ fi
> localepurge
> apt-get clean
>
> +# Purge installation logs of installed packages
> +rm -f /var/log/dpkg.log /var/log/alternatives.log
> +
> # Undo setup script changes
> if [ -x "$TARGET/sbin/start-stop-daemon.REAL" ]; then
> mv -f $TARGET/sbin/start-stop-daemon.REAL $TARGET/sbin/start-stop-daemon
>
next prev parent reply other threads:[~2017-11-17 15:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 10:28 Christian Storm
2017-11-17 15:28 ` Alexander Smirnov [this message]
2017-11-17 16:38 ` Christian Storm
2017-11-20 15:59 ` Henning Schild
2017-11-20 16:23 ` Jan Kiszka
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=cebdcf84-3c6e-4828-32ab-c73cb80a02e6@ilbers.de \
--to=asmirnov@ilbers.de \
--cc=christian.storm@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