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