2019 Updated Nemesis Base Modules

Arch based Porteus community project
jssouza
DEV Team
DEV Team
Posts: 1008
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

2019 Updated Nemesis Base Modules

Post#106 by jssouza » 08 Aug 2019, 05:47

jssouza wrote:
08 Aug 2019, 04:50
create a symlink to /usr/lib/modules in /lib/modules, that is /lib/modules -> /usr/lib/modules/ in 000-kernel.
Ok, tried it. I created 2 symlinks in 000-kernel: lib/firmware to /usr/lib/firmware and lib/modules to /usr/lib/modules. Now I am able to boot with the Porteus v5.0 rc1 kernel on nemesis.
Points:
- Booting with this modified kernel on porteus itself, needs a small change in 001-core. In 001-core, there is an empty directory /lib/firmware that destroys the /lib/firmware symlink created in 000-kernel. Hence, modules are loaded, but firmwares are not found. So need to remove this empty useless firmware directly from 001-core in porteus.
- In nemesis, /sbin is also symlinked to /usr/sbin, resulting in removal of the static /sbin/cryptsetup binary in 000-kernel. In nemesis cryptseup is a dynamically linked binary. So probably keep as-is because cryptsetup could be a package dependency in nemesis and hence installed.
- Every time I open xfce terminal in nemesis I get this: "grep: /etc/porteus.d/login: No such file or directory". This is probably some other issue?

Also, able to boot to nemesis using the porteus initrd as well. Just need to put the porteus 5 cfg file in the nemesis directory. Saw some errors in openrc at the end of bootup, could be due to the missing old method of reading config files from boot medium.

raja
Shogun
Shogun
Posts: 213
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v5.0-rc1-zstd-64
Location: Chennai,India

2019 Updated Nemesis Base Modules

Post#107 by raja » 08 Aug 2019, 08:37

I follow a straight forward layman's approach.

Extract Porteus 000-kernel.xzm, create 'usr' directory, mone 'lib' directory and build module agian. I update, once in 3/6 months.Easy isn't it?

Code: Select all

[guest@porteus ~]$ uname -a
Linux porteus 5.2.4-porteus #1 SMP PREEMPT Sun Jul 28 18:14:20 UTC 2019 x86_64 GNU/Linux
Linux Kernel-4.4.120-32 bit; Linux kernel-5.2-64 bit.

jssouza
DEV Team
DEV Team
Posts: 1008
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

2019 Updated Nemesis Base Modules

Post#108 by jssouza » 08 Aug 2019, 08:50

raja, then it would still be nemesis specific. Would not work back in porteus. My objective was to check if only one 000-kernel and initrd can be created that works on both porteus as well as nemesis.

User avatar
M. Eerie
Samurai
Samurai
Posts: 171
Joined: 31 Aug 2017, 21:18
Distribution: APorteus BUDGIE x64

2019 Updated Nemesis Base Modules

Post#109 by M. Eerie » 08 Aug 2019, 14:39

jssouza wrote:
08 Aug 2019, 05:47
I get this: "grep: /etc/porteus.d/login: No such file or directory"
I did have this issue too, but solved using initrd.xz from the firs post.

Seems you can't mix (import) initrd and kernel from Porteus.

See here (2 pages above). I think we are searching the same goal :D


Cheers!

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2150
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

2019 Updated Nemesis Base Modules

Post#110 by ncmprhnsbl » 31 Aug 2019, 22:52

update 2019-08-31
core:

Code: Select all

archlinux-keyring
archlinux-mirrorlist
bash
dbus
dbus-openrc
dialog
elogind
eudev
gettext
iana-etc
keyutils
ldns
libelogind
libeudev
libevdev
libgudev
libinput
libldap
libnghttp2
libnm
nano
networkmanager
nspr
openrc
openssh
opensysusers
opensysusers-openrc
opentmpfiles
opentmpfiles-openrc
perl-error
shadow
wpa_supplicant
zstd

added archivemount and http2fs(binary in /usr/local/bin) for mount module
gui:

Code: Select all

cairo
graphite
harfbuzz
libcups
libx86emu
llvm-libs
mesa
pango
xf86-input-libinput
xf86-video-intel
xorg-font-util
xorg-xrandr

added to /usr/local/bin : create-module extract-module mount-module unmount-module mount-iso mloop uloop
xtra:

Code: Select all

alsa-lib
dav1d (added: new ffmpeg dep)
ffmpeg
flac
glslang
libevent
libplacebo (added: dav1d dep)
libvdpau
recode
x265
xdg-utils
xfce4:

Code: Select all

btrfs-progs
cryptsetup
exo
libbytesize
libxfce4ui
libxfce4util
libxpresent
mousepad
ndctl
ristretto
thunar
thunar-volman
tumbler
udisks2
wayland-protocols
xfce4-appfinder
xfce4-notifyd
xfce4-panel
xfce4-power-manager
xfce4-screenshooter
xfce4-session
xfce4-settings
xfce4-terminal
xfconf
xfdesktop
xfwm4

notes: xfce4(4.14) is now gtk3.. this may break some settings(mainly panel clock)
            Build Module and Extract Module now have gtkdialog messages.. also added Mount Module, Unmount Module, Mount Iso
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
M. Eerie
Samurai
Samurai
Posts: 171
Joined: 31 Aug 2017, 21:18
Distribution: APorteus BUDGIE x64

2019 Updated Nemesis Base Modules

Post#111 by M. Eerie » 02 Sep 2019, 09:40

ncmprhnsbl wrote:
31 Aug 2019, 22:52
added to /usr/local/bin : create-module extract-module mount-module unmount-module mount-iso mloop uloop
Hi, ncmprhnsbl. Would you please update /003-xfce4-20190831.xzm/root/.config/Thunar/uca.xml in the next release?
This is the current content:

Code: Select all

<?xml encoding="UTF-8" version="1.0"?>
<actions>
<action>
	<icon>utilities-terminal</icon>
	<name>Open Terminal Here</name>
	<unique-id>1514538869382919-1</unique-id>
	<command>xfce4-terminal</command>
	<description>Example for a custom action</description>
	<patterns>*</patterns>
	<startup-notify/>
	<directories/>
</action>
<action>
	<icon>cdr</icon>
	<name>Build Module</name>
	<unique-id>1514539406627916-2</unique-id>
	<command>/usr/local/bin/dir2xzm %n %n.xzm</command>
	<description></description>
	<patterns>*</patterns>
	<directories/>
</action>
<action>
	<icon>cdr</icon>
	<name>Extract Module</name>
	<unique-id>1550733937308781-1</unique-id>
	<command>mkdir `echo %n | cut -d . -f 1` &amp;&amp; xzm2dir $PWD/%n $PWD/`echo %n | cut -d . -f 1`</command>
	<description></description>
	<patterns>*.xzm</patterns>
	<other-files/>
</action>
</actions>

Thanks!

Post Reply