trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: October 2020

[trinity-users] Re: Exegnulinux Remaster question

From: "Dr. Nikolaus Klepp" <ml-migration-agent@...>
Date: Wed, 7 Oct 2020 21:41:48 +0200
Hi David!

Anno domini 2020 Wed, 7 Oct 01:52:30 +0100
 David Hare via tde-users scripsit:
> 
> Nik,
> 
> Exegnu is designed to be pure devuan with TDE and a few other additions, 
> mostly as custom deb packages.. exegnu-userdefaults-trinity (description 
> incorrectly says jessie, its now for beowulf>) is the one which does 
> what it suggests (including skel configs)
> 
> root@vaio:/# dpkg -l|grep exegnu
> ii  exegnu-installer                     3.0.3 
>      all          Installer for Exe GNU/Linux (Devuan with Trinity 
> Desktop Environment)
> ii  exegnu-keyring                       1 
>      all          exegnulinux archive keyring
> ii  exegnu-oxygen-icons                  3.0.0 
>      all          Oxygen Icon Theme for Trinity Desktop
> ii  exegnu-trinity-themes                3.0.3 
>      all          Exe GNU/Linux Ksplash and Wallpaper for Trinity Desktop
> ii  exegnu-userdefaults-trinity          3.0.3+1 
>      all          Exe GNU/Linux User Defaults for Debian/Devuan Jessie 
> with Trinity Desktop.
> ii  live-boot                            1:20190614+exegnu1 
>      all          Live System Boot Components
> ii  live-boot-initramfs-tools            1:20190614+exegnu1 
>      all          Live System Boot Components (initramfs-tools backend)
> ii  pmount                               0.9.99-alpha-1+exegnu1 
>      amd64        mount removable devices as normal user
> ii  straw-viewer                         0.0.3-2~exegnu1 
>      all          Search, stream and download YouTube content.
> 
> 
> live-config-trinity is the other one, this sets the live-config 
> functions for TDE (for a live system), which is unsupported in the 
> mainstream.
> 
> The rest are packages not available elsewhere or rebuilds with extra 
> functionality and none are essential.
> 
> BTW Exegnu is built from a clean bootstrap and isn't actually 
> Refracta-based. Although I have been involved also with Refracta and of 
> course include some of the excellent Refracta tools in exegnu.
> 
> Cheers,
> D

Thank you for the explanation. I managed to customize exegnu. Right now I'm stuck at the exegnu-installer :)

This is what I've done:
- changed /lib/live/config/0050-locales and /lib/live/config/1066-trinity-lang to default to de_DE (insted of en_US). 
- PREEMPT-RT kernel
- LinuxCNC + html docs + smictrl + KiCad ...
- TDE configured to my needs
- removed the content of /etc/exegnu/skel (all the relevant settings are in ~user)
- made /etc/skel to match my users config including .trinity (this might be an error, but I think it's not)
- made /usr/local/sbin/adduser.local to take care of the specialities from /etc/skel
- made a folder ~/tool/ with F-Engrave + G-code_ripper + dmap2gcode + pcb2gcodeGUI + dxf2gcode + PyCAM
- made custom menu for the tools

Then I built a ISO with refractasnapshot. The resulting ISO works as expected - ~/tools is present, menu is there etc. 
But when I run the installer, the additionons are gone. Basicly it looks like the user directory is wiped clean and restored from /etc/skel and /etc/exegnu/skel - wich I think is what is actually going on.

So now I'm working my way through exegnu-installer to see how I could make my "new" user identical to the user of the ISO. When this is done I have a fine image for my lectures  - and anybody who wants exegnu remastered with linuxcnc is wellcome to test :)

BTW, there is a bug in 1067-exegnu-userdefaults, line 48:
SYSTEMLANG=$(cat /etc/default/locale|grep -m 1 'LANG='| sed 's/LANG=\"//'| sed 's/[A-Z].*//')
As /etc/default/locale does not have a <"> the spanish version is never used.

What I am now struggling with (besides the installer) is an easy way to make my modifications to the various refracta/live/exegnu-packages kind of persistent - i.e. make it survive a package reinstallation.

Nik







-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
____________________________________________________
tde-users mailing list -- users@...
To unsubscribe send an email to users-leave@...
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@...