Comments (7)
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.
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.
@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.
@evangreen +1 for this. and yes openssh will be useful too
from os.
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.
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.
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)
- error.. HOT 5
- Need chgrp or equivalent HOT 3
- Add awk to the default Minoca build HOT 2
- Use LGPL v2.1 instead of v3 HOT 4
- mac toolchain problems HOT 3
- RPI1 image on website has private IP address in the 'opkg.conf' file. HOT 3
- Want to testing Minoca on mac directly using qemu HOT 5
- BopEfiGetDebugDevice in dbgser.c doesn't iterate through the list of handles. HOT 1
- Udoo (iMX6 Dual/Quad) support? HOT 1
- Alignment build error on Debian HOT 2
- Chalk missing HOT 2
- Is this based on reverse engineering of Windows? HOT 1
- Minoca Debugger HOT 1
- [Deleted]
- The opkg program doesn't run. HOT 5
- Linking - testmm: Fails HOT 2
- Assertion Failure: KernelUsage->HardPageFaults <= KernelUsage->PageFaults HOT 3
- An improper locking bug on the lock NewThread->StartMutex HOT 4
- Your website is down. HOT 1
- A
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from os.