Comments (8)
Take a look at my code...
https://github.com/AwlsomeAlex/minimal/blob/master/src/overlay_02_build_links.sh
...and now take a look at your code...
https://github.com/AwlsomeAlex/minimal/blob/master/src/overlay_06_build_ncurses.sh
There is a difference - the right location to copy the libraries would be this one:
$SRC_DIR/work/src/minimal_overlay/lib
That's because the folders $SRC_DIR/minimal_rootfs
and $SRC_DIR/minimal_overlay
are used as static templates but the actual build-time artifacts for the additional overlay software have to go to $SRC_DIR/work/src/minimal_overlay/lib
. After that the ISO image generation process gets all files from $SRC_DIR/work/src/minimal_overlay
and puts them on the ISO image.
So, I suggest you go through your modifications and revise the directories that you use.
from minimal.
Okay, but also Ncurses will fail to build, without creating the libraries. Am I using the right ./configure options?
(I changed it as well)
from minimal.
The only way to answer that would be to build nano + ncurses myself and tell you how I built them. :)
The usual pattern for building additional software is:
- Get the source bundle and extract it.
- Find out how to do the initial configuration. Usually it's done by a
./configure
script. - Try to create a default configuration.
- Try to make the software and then install it in separate folder.
- Analyze the content of the installation folder and place all relevant files in the
minimal_overlay
orminimal_rootfs
folder. Side note - all files inminimal_rootfs
are visible before the overlay process is triggered, while all files inminimal_overlay
will be visible only after the overlay process is triggered since they are part of the generic ISO image structure. - Play with the configuration options and figure out what you need and what you don't need. Be advised that the overlay software dependencies usually are OS specific and it's up to you to resolve all such dependencies for your host machine.
Long story short - I can take a look at nano/ncurses when I have some free time but I don't promise anything. I'll leave the issue ticket open for now. Please update it when you have progress.
from minimal.
Okay. i'll experiment with the Ncurses config files, and email the developers the problem, as soon as I find a fix, i'll apply it and send a pull request, maybe then it will be useful for future programs. :)
from minimal.
FYI - the commits from today (23-May) add all GNU C libraries as additional overlay bundle. This should solve half of the problem - if ncurses requires glibc (glibc also requires glibc sometimes, e.g. NSS libraries), then these libraries are now present in the overlay structure.
from minimal.
@AwlsomeAlex - is there any progress on this issue? If not, I'll close it because it is not relevant to the current development cycle.
from minimal.
Yeah, I'm waiting for the next release with full Glibc Libraries, once it's released I will start the same process which I used to try building Ncurses and its Libraries, and several other methods. With the addition of Ncurses, you'll be able to expand the project with additions of Dialog/Text-Based Interfaces such as Nano and WPA_Supplicants/Wifi-Tools, so I'll try to push on development once a stable is released. @ivandavidov
from minimal.
I'm closing this issue since it is no relevant for the current development cycle.
from minimal.
Related Issues (20)
- Migrate Travis CI workflow to GitHub workflow HOT 1
- Implement Xorg with FLWM onto MLL HOT 3
- Missing CRC32 at the rootfs compression HOT 3
- Missing gpg and or at least sha256 hash check against MtM attacks HOT 2
- Grouping of the log output / missing logs HOT 1
- Fails to build on Ubuntu 20.04.2 LTS HOT 3
- [Package Request] jwm HOT 1
- pulling in bundles from web...live HOT 2
- Your linker does not support HOT 1
- yo HOT 1
- Update v86 HOT 2
- How to get 32-bit version? HOT 2
- Build, Compile errors and package download file was missing... HOT 2
- can't build the iso. HOT 1
- Files not available
- make[2]: *** [scripts/Makefile.build:357: arch/x86/entry/thunk_64.o] Error 1 HOT 2
- How to add minimal GUI HOT 1
- Dead links in README.md
- All builds end up with Kernel panic - not syncing: No working init found HOT 4
- Possible issues with connecting tty / ttyS0, qemu, virtual console
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 minimal.