Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@busybox.net
Cc: buildroot@uclibc.org
Subject: Re: [Buildroot] Large number of duplicate files in sdk
Date: Wed, 20 Nov 2024 23:27:39 -0000 (UTC)	[thread overview]
Message-ID: <vhlr9b$svh$1@ciao.gmane.io> (raw)
In-Reply-To: vhlf46$9b9$1@ciao.gmane.io

On 2024-11-20, Grant Edwards <grant.b.edwards@gmail.com> wrote:

> When I do a "make sdk" (using 2024.02.6), the resulting tarball
> contains tons of duplicate files.  I'm using an external Linaro ARM
> toolchain.  With a fairly bare-bones package selection, the sdk tarball
> generated by buildroot appears to be about 40% duplicate files by
> size (about 20% by count).

It's actually a bit worse than that. My app wasn't finding files that
were duplicated more than once.

Running a simple de-dupe utility on output/host reduced disk space
from 928MB to 556MB.

That app is pretty conservative: it only links files that have the
same name, the same parent directory name, and differing top
directory names.

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-11-20 23:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20 20:00 [Buildroot] Large number of duplicate files in sdk Grant Edwards
2024-11-20 23:27 ` Grant Edwards [this message]
2024-11-21  8:18   ` Peter Korsgaard
2024-11-21 15:06     ` Grant Edwards

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='vhlr9b$svh$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --cc=buildroot@busybox.net \
    --cc=buildroot@uclibc.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