All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian Hutchinson" <b.hutchman@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Any way to make cryptsetup smaller? I have a small 32M NOR flash and 11M SquashFS rootfs.
Date: Mon, 2 Aug 2021 18:16:49 -0400	[thread overview]
Message-ID: <CAFZh4h8r3XOuNWA-3h9yraUZ+U7PLnPd7hxDLcyEQGiVM6EqrA@mail.gmail.com> (raw)
In-Reply-To: <6c1da27d-dc2b-7a32-ad5d-cade68a796f8@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2841 bytes --]

Hey Khem,

On Mon, Aug 2, 2021 at 4:05 PM Khem Raj <raj.khem@gmail.com> wrote:

>
>
> On 8/2/21 11:07 AM, Brian Hutchinson wrote:
> > Hi,
> >
> > I have a 32M NOR that I boot from and it uses a 11M SquashFS rootfs made
> > from core-image-minimal.  I'd like to add cryptsetup but doing so blows
> > my SquashFS up to 35M.
> >
> > I've looked at the recipe and package config and I see things like
> > --enable-static and other settings that look doubtful that I can build
> > cryptsetup package and get it to fit my size constraints.
> >
> > All I'm wanting to do is encrypt a filesytem and mount it as ext4.
> >
>
> Can you list all the direct/indirect dependencies that cryptsetup is
> bringing in ? perhaps buildhistory will be handy to get that information
>
> You mean something like this:

bitbake -g cryptsetup && cat pn-buildlist | grep -ve "native" | sort | uniq
WARNING: You have included the meta-virtualization layer, but
'virtualization' has not been enabled in your DISTRO_FEATURES. Some
bbappend files may not take effect. See the meta-virtualization README for
details on enabling virtualization support.
Loading cache: 100%
|###############################################################################################################################################################################################################################################|
Time: 0:00:00
Loaded 5177 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: PN build list saved to 'pn-buildlist'
NOTE: Task dependencies saved to 'task-depends.dot'

Summary: There was 1 WARNING message shown.
acl
attr
autoconf
autoconf-archive
automake
base-files
base-passwd
bash
bash-completion
bc
binutils
binutils-cross-aarch64
bison
boost
btrfs-tools
bzip2
ca-certificates
coreutils
cryptsetup
db
dbus
dbus-test
depmodwrapper-cross
diffutils
e2fsprogs
elfutils
eudev
expat
findutils
flex
gawk
gcc
gcc-cross-aarch64
gcc-runtime
gcc-source-9.3.0
gdbm
gettext
glib-2.0
glibc
glibc-locale
gmp
gnome-desktop-testing
gnu-config
grep
icu
initscripts
iproute2
iptables
json-c
kmod
libaio
libcap
libcap-ng
libcroco
libdevmapper
liberror-perl
libffi
libgcc
libgcc-initial
libmnl
libmodule-build-perl
libmpc
libnsl2
libpcre
libtirpc
libtool
libtool-cross
libxcrypt
libxml2
linux-fslc-imx
linux-libc-headers
lvm2
lzo
m4
make
mdadm
mpfr
ncurses
openssl
opkg-utils
packagegroup-core-buildessential
perl
pkgconfig
popt
procps
ptest-runner
python3
readline
sed
shadow
shadow-securetty
shadow-sysroot
shared-mime-info
socat
sqlite3
tcp-wrappers
thin-provisioning-tools
tzdata
unzip
update-rc.d
util-linux
which
xz
zlib

Looks like everything but the kitchen sink.

Thanks,

Brian

[-- Attachment #2: Type: text/html, Size: 4998 bytes --]

  reply	other threads:[~2021-08-02 22:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 18:07 Any way to make cryptsetup smaller? I have a small 32M NOR flash and 11M SquashFS rootfs Brian Hutchinson
2021-08-02 20:05 ` [oe] " Khem Raj
2021-08-02 22:16   ` Brian Hutchinson [this message]
2021-08-02 23:06     ` Khem Raj
2021-08-02 23:14       ` Brian Hutchinson
2021-08-03  1:36         ` Khem Raj
2021-08-03 14:00           ` Andrea Adami
2021-08-03 16:09             ` Brian Hutchinson

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=CAFZh4h8r3XOuNWA-3h9yraUZ+U7PLnPd7hxDLcyEQGiVM6EqrA@mail.gmail.com \
    --to=b.hutchman@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.