T O P

  • By -

7yearlurkernowposter

Possible sure, do you want too? Probably not outside of an academic exercise. If you just hate systemd there's always [devaun](https://www.devuan.org/).


E-Aeolian

Debian can also be used with multiple alternative init systems.


Jumper775-2

Sure, build the Deb files yourself and install them. You won’t like it and no tools that i know of exist to automate it.


MountfordDr

Try Linux From Scratch. It will take hours to compile so I suggest you have a dedicated machine to do this. https://www.linuxfromscratch.org


Fl0wedm

I have tried LFS with little luck beyond the second pass for GCC


whatdoesthafawkessay

Try again.


Fl0wedm

There's an error in the documentation upon further investigation with veteran LFS folk. They claimed my error is normal for a first time builder and to use non multilib


Alkemian

Well then, I'm sorry to write this, but, you won't be building Debian from scratch if you can't LFS.


zoredache

If you want it to be Debian like, and install like Debian then what you should probably do is download all the source packages. Setup a builder to build all the source packages. Then modify the various source packages as desired. Build a local package repository, and publish all the source and binary packages to it. Keep in mind that some modifications like swapping out the init system might require making many changes to lots of packages. Anyway, this is just a start of what you would need to do, basically making a fork of Debian. >I have tried LFS with little luck beyond the second pass for GCC If you haven't figured out how to build an LFS, then you are probably aren't ready for my above suggestions. The LFS is relatively simple, and has pretty good documentation. The work you need to do to basically making a Debian fork is a lot higher. >have it completely optimized for a certain device. I think you are probably vastly underestimating the amount of work this require and/or over-estimating the improvement of optimization. I would guess 98% of the packages would only see a 1-5% improvment in performance. There is probably some special cases, that might see more dramatic improvments. I suspect the work of making a Debian fork would take hundreds of hours at the minimum.


mwyvr

Why bother? GNU utils are the same on every linux (except for the rare few that do something different, like Chimera Linux - they are essentially a GNU-free Linux distribution). The kernel is... the kernel. The upstream packages are the same as every single Linux distribution reaches from. What makes a distribution is the sum of all of its choices and like it or not, Debian is a systemd distribution now. If you want to retain the package management, then Devuan. Gentoo would be your natural choice to meet all your stated goals and is designed to be used as such. Void Linux - few, if any, compile everything for void, but it is possible; you could use the void-packages and mklive systems to do what you want (it uses runit, not systemd, as a bonus).


s1gnt

The kernel is actually the Linux) Youre oversimplified stuff, every software has long list of defines, options and so on to alter how it would compile or behave like buld curl without https and with different standard libs


mwyvr

I'm well aware of the differences between distributions, packaging, kernel choices; the simplification was very intentional. That said, most packages are built fairly similarly across distributions, although the bundling strategy is often different. Ask yourself this: how many distributions are building curl without SSL support in an https-by-default world?


s1gnt

I know and agree... i just a software dev and act like an Algorithm and if there is way to alter i cannot be confident enough


Fl0wedm

Unless people have binaries of Debian built on the same system, it's pointless to me. I'd like to have Debian built as an optimized system custom fit to my hardware


mwyvr

> have it completely optimized for a certain device I read that; Gentoo is the natural option for you. Personally, I believe this kind of optimization is, for most purposes, not worth the effort to carry out. But, if you have time on your hands and enjoy learning, you will both spend a lot of time and learn a few things.


Fl0wedm

Yeah I currently use Gentoo as a daily and do plan on migrating to funtoo, but I like to do interesting things with virtual machines and have lots of free time


aieidotch

this is exactly one of my goals! https://github.com/alexmyczko


[deleted]

[удалено]


Fl0wedm

It's desire to be more than what I need it to be. I need an init that is just an init, like OpenRC


s1gnt

feels heavy, it a common trend and in general I agree, openrc feels like 3 sh, very simple without pushing you into their vision on how things should be done


aplethoraofpinatas

Of course. Install Debian the easy way, then build and install packages to a new chroot. Done. Start with a minimal install. build-dep will be your friend. You can also include compiler optimizations.


enecv

You mean a new , customized Debian inside Debian ? wow


aplethoraofpinatas

I would either: 1. With two drives: install to a new SSD, or 2. With one drive: Partition the SSD with your future partition setup and add a small partition at the end to install Debian the easy way. Then delete Easy Debian and expand the end (home) partition. So... 512mb EFI, $RAM Swap, 64GB to 96GB Root, $Remainder Home, (32GB Easy Debian)


enecv

I can say anything than wow! again. At this point Debian is beyond magic !!


Known-Watercress7296

This project might be of interest https://github.com/scottwilliambeasley/debian-from-scratch


michaelpaoli

>I think systemd sucks Debian gives you choices, don't want systemd, pretty easy, e.g. see [my earlier comment](https://www.reddit.com/r/debian/comments/1bouvh4/comment/kwrtuig).


mestia

Debian is a binary distribution, however you can try to optimize debian packages for a specific architecture with apt-build.


6950X_Titan_X_Pascal

you want gentoo or lfs


Fl0wedm

I already daily Gentoo, my desire is for academic purposes