The officially official Devuan Forum!

You are not logged in.

#1 2020-07-11 15:46:27

ndavilam
Member
Registered: 2020-07-11
Posts: 3  

Build EL Distro based on Devuan, Help!

Hello friends.
I would like you to help me with a guide on how to make a EL Distribution base on Devuan (Testing) like RHEL, but I want to add kernel 5.6.

I am starting a business and I know it reads a little crazy, but I would like to try it and have my offices use this distribution.

What do I need, what tools do I need to start this long journey.

Offline

#2 2020-07-12 11:11:25

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: Build EL Distro based on Devuan, Help!

Why do you need kernel 5.6 ?

distro kit is probably a good starting point to learn how to make EL Distribution.

https://devuan.org/os/distro-kit

Offline

#3 2020-07-14 01:07:44

ndavilam
Member
Registered: 2020-07-11
Posts: 3  

Re: Build EL Distro based on Devuan, Help!

I cannot access these tools.
Do you know of any document how they did the process of removing systemd and replacing it with sysvinit

Offline

#4 2020-07-14 10:17:40

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,645  

Re: Build EL Distro based on Devuan, Help!

Here's the SDK page on the new git:
https://git.devuan.org/devuan-sdk

Here's a discussion about using live-sdk. I haven't looked at it in a long time, and there may have been some changes that were not documented. If you clone the live-sdk repo and use one of the existing blends, it should work. This is how the official devuan live isos are made.
https://dev1galaxy.org/viewtopic.php?id=551

The easiest way to make an installable live-iso is to install a system the way you want it. You can do it on hardware or in a VM. Add refractainstaller and refractasnapshot. Run refractasnapshot, and it will make the iso.
https://refracta.org/docs/readme.refractasnapshot.txt

Using the testing suite in a business is probably not a good idea. There may be times when the system is temporarily broken while you wait for new packages to arrive in the repo. If you need a kernel newer than 4.19 you can get 5.x from beowulf-backports.

Offline

#5 2020-07-14 14:59:17

golinux
Administrator
Registered: 2016-11-25
Posts: 2,076  

Re: Build EL Distro based on Devuan, Help!

Also note that it is a very-bad-idea to use the suite names in sources.list because Devuan and Debian are not always in sync.  It is safer to use codenames to avoid unintended consequences.  Please see https://devuan.org/os/releases.

Offline

#6 2020-07-15 01:47:35

ndavilam
Member
Registered: 2020-07-11
Posts: 3  

Re: Build EL Distro based on Devuan, Help!

Thank you all.
I am starting a small business and my idea is to have a stable and secure distribution (EL) with SysVinit.

I currently use Debian (It is my second favorite linux distro, but I don't like SystemD / I also hate Snap / Flatpak), I am a developer but I have no experience in building a linux distribution, for this reason I am looking for help with you.

But being honest the first option is Slackware.

The final idea is to have a fork of Debi (vu) an (sysvinit) as Servers and Slackware for the other users

Last edited by ndavilam (2020-07-15 02:13:39)

Offline

#7 2020-10-20 23:25:05

aitor
Member
From: basque country
Registered: 2016-12-03
Posts: 42  
Website

Re: Build EL Distro based on Devuan, Help!

I recently pushed the code of the live-sdk used for the builds of gnuinos to git:

https://gitea.devuan.dev/aitor_czr/live-sdk/

I added some dialogs in order to do the Simple Distro Kit more user-friendly, but i'm still working on the README.md file.

As a quick start:

1) Clone the git repository:

$ git clone https://git.devuan.org/aitor_czr/live-sdk.git

2) Install the build dependencies:

# apt-get install zsh cgpt xz-utils gzip schroot debootstrap curl rsync squashfs-tools sudo debmirror \
reprepro wget xorriso isolinux rpl dialog sed cpio syslinux grub-efi-amd64-bin grub-efi-ia32-bin

3) Go to the parent directory and run (as root):

$ cd live-sdk
$ sudo su
# zsh -f
# source sdk
# load

Now, some dialogs will ask you for your needs. In order to avoid issues related with the already existent blends and possible missing packages, choose the following options for your first attempt:

  • Operating system: Gnuinos

  • Blend: gnuinos-ob/gnuinos-ob.blend  (or whatever you want)

  • Release: stable

  • Sections: main

  • Architecture: i386

  • Flavor: 686

4) At this point you can build the system by running:

# build_iso_dist

But i recommend you to use the mainmenu dialog instead:

# mainmenu

and run each step one by one in the same order they appear (have a look at the image attached in the README.md file):

https://gitea.devuan.dev/aitor_czr/live … inmenu.png

Quote: if you are under x86_64, then you can choose either i386 or amd64 architectures

Hope this helps smile

Last edited by aitor (2020-10-20 23:50:25)


If you work systematically, things will come by itself (Lev D. Landau)

Offline

Board footer