Code Monkey home page Code Monkey logo

Comments (19)

ccstevens avatar ccstevens commented on July 18, 2024 2

@Tester798 Thanks for confirming. The lack of opkg, wget, nano, etc. is to be expected when you only build the minoca/os repository. All of the third-party packages that we did not write live in the third-party repository. This keeps our builds of the os repository clean and simple.

To get those packages, the best option would be to go build the ones you want (and their dependencies) and then use opkg-extract-data from ~/src/third-party/build/opkg-utils to extract them to ~/src/x86dbg/bin/apps. Running make out of ~/src/third-party will make all packages that can be cross-compiled (e.g. it won't build Python), but takes some time.

Sorry about this inconvenience. The pre-built images on our downloads page include opkg, nano, wget, and a few other necessities to get going. Of course, those images aren't booting. We're working on putting out new images with all the VMWare and QEMU fixes.

Lastly, as a caveat, if you get opkg (and dependencies) in your image and run opkg update, it will go searching in http://www.minocacorp.com/packages/0.3/i686/main/ for packages. Unfortunately, as we haven't pushed the new pre-built images, we also haven't pushed the 0.3 packages. You could try to modify /etc/opkg/opkg.conf to point at the 0.2 packages, but no guarantees on compatibility (we haven't tested the old packages on the new kernel/libc).

from os.

evangreen avatar evangreen commented on July 18, 2024 1

Okay, change is pushed. make clean in os, make, and let's see what happens.

from os.

drawkula avatar drawkula commented on July 18, 2024 1

. o O ( There should be a "This is worth being added to the FAQ emoji!". )

from os.

Tester798 avatar Tester798 commented on July 18, 2024

Yes, x86dbg/bin/skel/bin was empty.
After doing what you suggested I see sh there after build.

from os.

evangreen avatar evangreen commented on July 18, 2024

Now we're getting somewhere. Can you do the same sort of change in apps/mount/Makefile, a la,
$(STRIP) -o $(BINROOT)/skel/bin/$(BINARY) $(BINROOT)/$(BINARY);

and see if rebuilding (you can just do a make clean in apps/mount and then rebuild in os) gets you to a prompt.

from os.

Tester798 avatar Tester798 commented on July 18, 2024

Now getting

0x1: apps/bin/sh: Failed to find import 'libc.so.1'.
0x1: Failed to load apps/bin/sh: -43

Seems like there are a lot more Makefiles to fix.

from os.

evangreen avatar evangreen commented on July 18, 2024

Ha yeah, but we're definitely moving the needle. That one's off in apps/libc/dynamic/Makefile. I'll start working on changing that everywhere.

from os.

Tester798 avatar Tester798 commented on July 18, 2024

Ok, I will wait until all are changed. Seems like the issue with VMware is solved, it's a build issue now.

from os.

tejasjadhav avatar tejasjadhav commented on July 18, 2024

@evangreen Thanks! With the new changes, prompt now shows up in VirtualBox. Qemu still gives Failed: 0xFFFFFFCC error.

from os.

evangreen avatar evangreen commented on July 18, 2024

@tejasjadhav Great! Well, sort of. Chris is working on that error that you mentioned.

from os.

Tester798 avatar Tester798 commented on July 18, 2024

@evangreen Seems like you forgot about sh :)

from os.

evangreen avatar evangreen commented on July 18, 2024

Ugh, I certainly did. Pushed 76aaf37.

from os.

Tester798 avatar Tester798 commented on July 18, 2024

I can confirm it's booting now.
But still many programs are not present in the image: there is no /usr/bin in the image with all opkg, wget, nano etc.

from os.

ccstevens avatar ccstevens commented on July 18, 2024

@drawkula We'll get our emoji team on it right away. And, yup, we're definitely learning about all our FAQ gaps thanks to you all.

from os.

drawkula avatar drawkula commented on July 18, 2024

That was not meant as criticism... just as hint...

I definitely know how hard the documentation job is and documenting the own source is one thing, docs for the co-workers or even users are own dimensions...

from os.

ccstevens avatar ccstevens commented on July 18, 2024

@drawkula Oh, I didn't read it as a criticism at all! You have seriously been awesome this week and we appreciate any and all feedback. (Sorry for the emoji sarcasm...)

from os.

drawkula avatar drawkula commented on July 18, 2024

@ccstevens No need for "sorry"... I'm probably something like partial autistic and english not being my native tounge adds another source of possible confusion.

Back to issues... this packages subtopic probably is worth an own issue. Maybe some issue labels fit as markers for HowTo or FAQ stuff?

from os.

ccstevens avatar ccstevens commented on July 18, 2024

Agreed. Labeling certain issues is a good start. I know you were discussing our knowledge base with Evan over on Issue #31. He and I will sync on this and figure out a plan.

from os.

evangreen avatar evangreen commented on July 18, 2024

I think this issue is solved, so I'm going to close it. Feel free to reopen if something's still not working.

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.