Giter Club home page Giter Club logo

Comments (7)

drawkula avatar drawkula commented on July 28, 2024 1

Look at issue 24/258632478 how to include unpacked third-party builds in the image.

You soon will need a bigger image size: issue 24/258267150

issue 24/258638420 plays with copying the whole bin/packages directory into the bin/apps directory which will make it land in /packages in the generated image.

Still an ugly hack but helps to get started now/somehow.

from os.

evangreen avatar evangreen commented on July 28, 2024 1

I think we should create a make target in third-party that would build opkg+dependencies (and maybe dropbear or openssh?), and then run opkg-extract-data to install those packages into x86dbg/bin/apps.

The new make target could depend on the tools that it needs, and then call a new script in third-party/build with the packages as its arguments to do the extraction.

Anybody interested in tackling that?

from os.

vascocosta avatar vascocosta commented on July 28, 2024 1

@evangreen Just to let you know that I am currently tackling this as per your makefile/script suggestion. I'll let you know when I'm done.

from os.

melezhik avatar melezhik commented on July 28, 2024

@evangreen +1 for this. and yes openssh will be useful too

from os.

drawkula avatar drawkula commented on July 28, 2024

Check opkg-utils/opkg-extract-data ... being "cross running" it can't run package pre/post install scripts. Adding complex packages this way probably is not a good idea.

gzip, opgk, tar, wget and their dependencies probably is the barest minimum to install. Every other stuff can be included as unpacked packages or even got from elsewhere (USB, net, ...).

An editor may be nice too but including nano-*.ipk as is or other editors sure would be good enough.

openssh sure is a member of the "too complex" group.

Are you planning to build the dependencies list from bin/Packages previously built by opkg-make-index?


Update: opkg-utils has it...

# ./opkg-show-deps -p /src/x86dbg/bin/packages/Packages opkg
tar
libiconv
ca-certificates
libgcc
opkg
gzip
wget
libpcre
libopenssl

Happy(?) End.

from os.

evangreen avatar evangreen commented on July 28, 2024

I just pushed some changes to third-party to do this. You can now run "make install-minimal" in third-party, which will build+extract opkg and Dropbear, and then manually patch up the remaining configuration needed by Dropbear. You'll need to pull the latest from "os" this evening as well.

from os.

vascocosta avatar vascocosta commented on July 28, 2024

This a great and useful new feature. I tried implementing this earlier, but then stalled for some reason related to make. I'll take the chance to see how you tackled it.

I'm closing this one.

from os.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.