Musl Distros - GNU/Linux

Users browsing this thread: 2 Guest(s)
xikuuky
Members
(28-12-2015, 08:46 AM)z3bra Wrote: "Wrote"? Did you write anything yet? 'cause I'd be interrested in reading what you've done so far. I'm currently working on a package manager myself I already have a "working" solution using shell script, but I'm not satisfied with it, so I'm rewriting everything from scratch in C, focusing on different concepts.
Sadly the code is gone but it just downloaded a script and executed it line for line. I found a way to easily uninstall stuff with make. Just type make -n install and it tells you what stuff will be modified. Maybe I'll go without a package manager or I'll just get something like emerge on here(go ports! :) ). I really like just compiling everything.
(28-12-2015, 08:46 AM)z3bra Wrote: x86 is a CPU architecture, which uses either 32 or 64bits. So you're probably opposing x86_64 to x86 there. Beware the wording is such a pedantic forum ;)
Thank you so much! Now I won't look like an idiot. o/ :)
(28-12-2015, 08:46 AM)z3bra Wrote: It's the simplest way to go indeed, and if softwares were done properly, we wouldn't need package managers. The problem is that not all software use a makefile, and even if they do, not many propose the "uninstall" target.
This is why package manager were created in the first place, they track files intalled by each package, and allow the user to easily remove/update them. It later handled package dependency, which became an issue when dynamic linking started to kick off.

You should take a look at how other people solved those problems. here are a few links to get you started:
I'll definitely go through this list. Thank you so much buddy! :) I'm new to C[++,go] and the such (I can read it just fine) so it would be a big deal if you would read my source code for me. I want to use a compiled language for speed (Python is fast but C can be faster).
(28-12-2015, 08:46 AM)z3bra Wrote: Choosing the default set of packages is always a hard task ;)
I'd personally go with the bare minimum: init, device manager, shell, coreutils, netutils and that's all. I'll certainely have to add the package manager and curl to the live usb though, to make bootstraping easier.
I think I'll do bare minimum plus a little extra. :) Extra being a few shells and make, autotools, and musl. What is typically in netutils? What if I made the package manager the user's choice to install? I've seen installs like that (I once made a Ubuntu install use Emerge XD). I might include curl but then again, wget is a core package in both busybox/toybox. I use Curl personally but Wget is very popular.
As for init, I see the big options as: SystemD (not happening), OpenRC (I'm open to it), or Runit (my favorite). This is my distro so if I want to add Runit I can right? This is meant to be for my needs (and anyone with needs similar to mine).
(28-12-2015, 08:46 AM)z3bra Wrote: really hard if you need to package everything yourself.
I am not packaging X. Packages, or even a package manager will (possibly) be left to the package manager the user installs.

UPDATE:
========
Elder Scrolls Online is still downloading. It is almost done so I'll hopefully get to boot into Linux tomorrow/tonight GMT+7 (Jakarta).
Decisions:
Init (Runit or OpenRC)
Minimal Core Utils (Busybox or Toybox)
?Package Manager? (user choice or I write one or I include one)

That's all.


Messages In This Thread
Musl Distros - by xikuuky - 27-12-2015, 05:01 AM
RE: Musl Distros - by xikuuky - 27-12-2015, 06:02 AM
RE: Musl Distros - by Houseoftea - 27-12-2015, 12:55 PM
RE: Musl Distros - by sth - 27-12-2015, 01:41 PM
RE: Musl Distros - by z3bra - 28-12-2015, 04:22 AM
RE: Musl Distros - by xikuuky - 28-12-2015, 06:49 AM
RE: Musl Distros - by z3bra - 28-12-2015, 08:46 AM
RE: Musl Distros - by xikuuky - 28-12-2015, 11:27 AM
RE: Musl Distros - by Houseoftea - 29-12-2015, 10:55 AM
RE: Musl Distros - by z3bra - 29-12-2015, 01:48 PM
RE: Musl Distros - by Houseoftea - 29-12-2015, 03:03 PM
RE: Musl Distros - by xikuuky - 29-12-2015, 04:48 PM
RE: Musl Distros - by z3bra - 29-12-2015, 05:11 PM
RE: Musl Distros - by xikuuky - 30-12-2015, 01:49 AM
RE: Musl Distros - by xikuuky - 30-12-2015, 12:21 PM
RE: Musl Distros - by z3bra - 30-12-2015, 09:13 PM
RE: Musl Distros - by Houseoftea - 30-12-2015, 09:52 PM
RE: Musl Distros - by z3bra - 31-12-2015, 05:21 AM
RE: Musl Distros - by z3bra - 07-01-2016, 08:28 PM
RE: Musl Distros - by apk - 07-01-2016, 10:32 PM
RE: Musl Distros - by z3bra - 08-01-2016, 08:35 AM
RE: Musl Distros - by apk - 08-01-2016, 01:09 PM
RE: Musl Distros - by z3bra - 15-01-2016, 08:51 AM
RE: Musl Distros - by venam - 16-01-2016, 03:52 AM
RE: Musl Distros - by XcelQ - 24-01-2016, 01:10 PM
RE: Musl Distros - by z3bra - 09-02-2016, 07:56 AM
RE: Musl Distros - by venam - 09-02-2016, 09:52 AM
RE: Musl Distros - by z3bra - 09-02-2016, 10:00 AM
RE: Musl Distros - by z3bra - 15-06-2017, 06:22 AM
RE: Musl Distros - by jkl - 15-06-2017, 09:13 AM
RE: Musl Distros - by Pieces Of Quiet - 15-06-2017, 02:16 PM
RE: Musl Distros - by jkl - 07-02-2018, 08:20 AM
RE: Musl Distros - by z3bra - 07-02-2018, 11:38 AM
RE: Musl Distros - by evbo - 07-02-2018, 01:24 PM
RE: Musl Distros - by jkl - 07-02-2018, 04:43 PM
RE: Musl Distros - by z3bra - 07-02-2018, 07:20 PM
RE: Musl Distros - by jkl - 07-02-2018, 07:23 PM
RE: Musl Distros - by evbo - 07-02-2018, 08:24 PM
RE: Musl Distros - by z3bra - 08-02-2018, 04:51 AM
RE: Musl Distros - by jkl - 08-02-2018, 04:53 PM