Hi Alex , When Investigated further the package created by samba recipe generated below :
~/release/fips/mv-fx-series-yocto-5.0/project/tmp/work/cortexa8hf-neon-mvdistro-linux-gnueabi/samba/4.19.8/packages-split/samba-python3/usr/lib/python3.12/site-packages/samba (master) : du -sh dcerpc/ tests/ emulate/ samba3/ *13M* dcerpc/ *5.4M* tests/ 128K emulate/ 360K samba3/ ~/release/fips/mv-fx-series-yocto-5.0/project/tmp/work/cortexa8hf-neon-mvdistro-linux-gnueabi/samba/4.19.8/packages-split/samba-python3/usr/lib/python3.12/site-packages/samba (master) : ~/release/fips/mv-fx-series-yocto-5.0/project/tmp/work/cortexa8hf-neon-mvdistro-linux-gnueabi/samba/4.19.8/packages-split/samba-python3/usr/lib/python3.12/site-packages/samba (master) : ls auth.so dnsserver.py gp mdb_util.py ntacls.py samba3 trust_utils.py auth_util.py domain_update.py gpo.so messaging.so ntstatus.so samdb.py upgradehelpers.py colour.py drs_utils.py gp_parse ms_display_specifiers.py param.so schema.py upgrade.py common.py dsdb_dns.so graph.py ms_forest_updates_markdown.py policies.py sd_utils.py uptodateness.py compression.so dsdb.so hostconfig.py ms_schema_markdown.py policy.so security.so werror.so credentials.so emulate idmap.py ms_schema.py posix_eadb.so sites.py xattr_native.so crypto.so forest_update.py __init__.py ndr.py provision smbconf.so xattr.py dbchecker.py functional_level.py join.py netbios.so registry.so subnets.py xattr_tdb.so dcerpc gensec.so kcc netcmd remove_dc.py subunit descriptor.py getopt.py _ldb.so net_s3.so reparse_symlink.so tdb_util.py dnsresolver.py _glue.so logger.py net.so safe_tarfile.py tests Same thing i validated from QEMU-arm: ~/release/fips/mv-fx-series-yocto-5.0/qemu-project/tmp/work/cortexa15t2hf-neon-mvdistro-linux-gnueabi/samba/4.19.8/packages-split/samba-python3/usr/lib/python3.12 (master) : du -sh site-packages/ 20M site-packages/ It seems the smba is generating this heavy package . Any pointers where can i look further for samba-python3 tweaking more Thanks , Ashish On Tue, Feb 18, 2025 at 1:59 PM Alexander Kanavin via lists.yoctoproject.org <alex.kanavin=gmail....@lists.yoctoproject.org> wrote: > On Tue, 18 Feb 2025 at 07:12, emailaddress.ashish via > lists.yoctoproject.org > <emailaddress.ashish=gmail....@lists.yoctoproject.org> wrote: > > > > Hi Members , > > > > I am trying to reduce the RFS size for Yocto Scarthgap > > We have added samba package in RFS . > > > > The RDEPENDS of samba is samba-python3 which is taking around 300% > more space than samba itself > > 21231 KiB samba-python3 > > 6468 KiB samba > > > > samba-python-3 as RDEPENDS of samba : > > > https://git.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb?h=scarthgap#n213 > > > > Can members please point to some pointers as to how can we reduce the > size of samba-python3. > > Since its an RDEPENDS , IMAGE_INSTALL:remove = " samba-python3 " , > package is not effective. > > It's a bit strange that a package with python modules is this big. You > need to check what's in it, and if something makes it bigger by > packaging mistake. > > Otherwise, don't install samba, which is a catch-all package for > everything. Install specific packages only. > > Alex > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64834): https://lists.yoctoproject.org/g/yocto/message/64834 Mute This Topic: https://lists.yoctoproject.org/mt/111246769/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-