2020 Updated Nemesis Base Modules

Arch based Porteus community project
User avatar
M. Eerie
Shogun
Shogun
Posts: 259
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce x64

2020 Updated Nemesis Base Modules

Post#181 by M. Eerie » 03 Dec 2020, 12:11

M. Eerie wrote:
03 Dec 2020, 09:09
Need to try that.
YES!!! That worked and I got a full upgraded system! :Yahoo!: ..., although I had to change su/sudo permissions by hand :roll:

Still, I think I need to fix the same issues with pkexec , psu and the like. I.e. I have no mounted drives on my desktop as with previous version.

Any clues on what other programs should be considered beny/ncmprhnsbl, ?

Cheers!
Cheers!

User avatar
M. Eerie
Shogun
Shogun
Posts: 259
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce x64

2020 Updated Nemesis Base Modules

Post#182 by M. Eerie » 04 Dec 2020, 11:39

Ok, now I know the origin of all this mess with permissions in /tmp:

Since /tmp is mounted with nosuid in /etc/fstab, unpacking CORE module in /tmp will truncate the SUID permissions.

Need to sort this out. :thinking:

Cheers!
Cheers!

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

2020 Updated Nemesis Base Modules

Post#183 by ncmprhnsbl » 06 Dec 2020, 01:21

M. Eerie wrote:
04 Dec 2020, 11:39
Since /tmp is mounted with nosuid in /etc/fstab, unpacking CORE module in /tmp will truncate the SUID permissions.
might be enough to just use a sub directory in /tmp.. ie /tmp/some_name/$modulo
porteus and slackware /tmp/<sub-dir> quite a lot eg. browser update scripts, and slackbuilds ..
funny really.. i've unpacked/repacked modules in /tmp for years with no apparent ill effect.. and of course, there's plenty of stuff which doesn't have SUID files..

i guess i never encountered this issue when i was doing incremental updates because i was using a dedicated posix partition..
i'm getting a similar issue with my build script and how it uses a mounted "ramdisk" for building the modules, but this only affects the top level folder permssions, appending a t to them .. so just added:

Code: Select all

chmod -t $buildroot
chmod 755 $buildroot
before squashfs'ing it..
this doesn't occur with slackware, so it seems there's some difference with arch as to how some part of this process(tmpfs permissions) is handled...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
M. Eerie
Shogun
Shogun
Posts: 259
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce x64

2020 Updated Nemesis Base Modules

Post#184 by M. Eerie » 06 Dec 2020, 14:30

In fact, the results are almost the same.

I've tried changing the method, since base modules already exists uncompressed and with the right permissions in /mnt/live/memory/images/*.xzm

So, instead of unsquashing, a simple

Code: Select all

cp -a /mnt/live/memory/images/$outMOD*.xzm/ /tmp/$outMOD
should be enough.

The question is, whenever pacman uptate takes place, the permissions are changed. Anyhow, will try to do it in a subfolder inside /tmp as advised.


So far, this is what I've found:

'20-sysusers.hook is a post transaction script that fires up after packages installation. As you can see, in the pacman.log, it is failing with my attempts, while yours are being created (see below my log part where the results of your october release is shown)

Code: Select all

...
[2020-12-05T17:47:32+0100] [ALPM] upgraded unrar (1:5.9.4-1 -> 1:6.0.2-1)
[2020-12-05T17:47:32+0100] [ALPM] upgraded usbutils (012-2 -> 013-1)
[2020-12-05T17:47:32+0100] [ALPM] transaction completed
[b][2020-12-05T17:47:32+0100] [ALPM] running '20-sysusers.hook'...[/b]
[2020-12-05T17:47:32+0100] [ALPM-SCRIPTLET] Creating group dhcpcd with gid 999.
[2020-12-05T17:47:32+0100] [ALPM-SCRIPTLET] Creating user dhcpcd (dhcpcd privilege separation) with uid 999 and gid 999.
[2020-12-05T17:47:32+0100] [ALPM-SCRIPTLET] Creating group openvpn with gid 998.
[2020-12-05T17:47:32+0100] [ALPM-SCRIPTLET] Creating user openvpn (OpenVPN) with uid 998 and gid 998.
[b][2020-12-05T17:47:32+0100] [ALPM-SCRIPTLET] Failed to write files: Function not implemented[/b]
[2020-12-05T17:47:32+0100] [ALPM] running '30-openrc-upgrade.hook'...
[2020-12-05T17:47:32+0100] [ALPM-SCRIPTLET]   Skipped: Current root is not booted.
...

Code: Select all

....
[2020-10-11T14:51:30+1000] [ALPM] installed zstd (1.4.5-1)
[2020-10-11T14:51:30+1000] [ALPM] transaction completed
[2020-10-11T14:51:30+1000] [ALPM] running '20-sysusers.hook'...
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group sys with gid 3.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group mem with gid 8.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group ftp with gid 11.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group mail with gid 12.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group log with gid 19.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group smmsp with gid 25.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group proc with gid 26.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group games with gid 50.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group lock with gid 54.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group network with gid 90.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group floppy with gid 94.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group scanner with gid 96.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group power with gid 98.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group adm with gid 999.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group wheel with gid 998.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group kmem with gid 997.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group tty with gid 5.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group utmp with gid 996.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group audio with gid 995.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group disk with gid 994.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group input with gid 993.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group kvm with gid 992.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group lp with gid 991.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group optical with gid 990.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group render with gid 989.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group storage with gid 988.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group uucp with gid 987.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group video with gid 986.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group users with gid 985.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group ntp with gid 87.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group rfkill with gid 984.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group bin with gid 1.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user bin (n/a) with uid 1 and gid 1.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group daemon with gid 2.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user daemon (n/a) with uid 2 and gid 2.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user mail (n/a) with uid 8 and gid 12.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user ftp (n/a) with uid 14 and gid 11.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group http with gid 33.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user http (n/a) with uid 33 and gid 33.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group nobody with gid 65534.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user nobody (Nobody) with uid 65534 and gid 65534.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group dbus with gid 81.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user dbus (System Message Bus) with uid 81 and gid 81.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group dhcpcd with gid 983.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user dhcpcd (dhcpcd privilege separation) with uid 983 and gid 983.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user ntp (Network Time Protocol) with uid 87 and gid 87.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group polkitd with gid 102.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user polkitd (PolicyKit daemon) with uid 102 and gid 102.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating group uuidd with gid 68.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Creating user uuidd (n/a) with uid 68 and gid 68.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] Failed to write files: Function not implemented
[2020-10-11T14:51:30+1000] [ALPM] running '30-sysctl.hook'...
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET]   Skipped: Current root is not booted.
[2020-10-11T14:51:30+1000] [ALPM] running '30-tmpfiles.hook'...
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/dhcpcd.conf:1: Failed to resolve user 'dhcpcd': No such process
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/dhcpcd.conf:2: Failed to resolve user 'dhcpcd': No such process
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/static-nodes-permissions.conf:12: Failed to resolve group 'audio'.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/static-nodes-permissions.conf:13: Failed to resolve group 'audio'.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/static-nodes-permissions.conf:14: Failed to resolve group 'disk'.
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/static-nodes-permissions.conf:17: Failed to resolve group 'kvm'.
[2020-10-11T14:51:30+1000] [ALPM] running '30-udev-hwdb.hook'...
[2020-10-11T14:51:30+1000] [ALPM] running '30-udev-reload.hook'...
[2020-10-11T14:51:30+1000] [ALPM-SCRIPTLET]   Skipped: Device manager is not running.
So, there's something I have to change, to enable for the users/group creation take place, but I don't know.

Thanks for the heads up. :)

Cheers
Cheers!

User avatar
M. Eerie
Shogun
Shogun
Posts: 259
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce x64

2020 Updated Nemesis Base Modules

Post#185 by M. Eerie » 07 Dec 2020, 12:32

:Yahoo!: :celebrate3:

FINALLY!

Silly me... The real culprit was this (near the end of script)-->

Code: Select all

chown -R 0.0 $outMOD
ncmprhnsbl, Seems xxhash is a new dependency of rsync. Would you please include it in new release?

This is the final (...) script that worked for me:

Code: Select all

#!/bin/bash
# -----------------------------------------------
# ./UPnemesis-base
# Updates NEMESIS base modules ( $PORTDIR/base )
# https://forum.porteus.org/viewtopic.php?p=80232#p80232
# -----------------------------------------------

[[ $EUID -ne 0 ]] && su -c "$SC $*"
### HERE="$(cd "${0%/*}" && pwd)" ### Unneeded
confirm() { echo; tput bold; tput setaf 6; read -n1 -rsp "$1"; tput sgr0; echo -e "\n"; [[ $REPLY =~ ^[Yy]$ ]]; }
warn() { echo; tput bold; tput setaf 1; echo "$1"; tput sgr0; echo; }
[ ! "$(grep -o 'base_only' /proc/cmdline)" ] && warn "Please start Nemesis with **Always Fresh** boot parameters" && exit

the_end() {
	cd /tmp || exit
	[[ -z $(\ls -A LOCALES) ]] || dir2xzm LOCALES LOCALES.xzm
	rm -r LOCALES "$outMOD" >/dev/null 2>&1
	echo " All Done!"; echo "Your files are here: $PWD"; thunar . & disown
	unset patches outMOD
	eval "exit $?"
}
trap the_end SIGHUP SIGINT SIGTERM #SIGQUIT

### stat -c '%A %a %n' $(find ./usr/bin -mindepth 1 -maxdepth 1 '(' -type f -not -perm 0755 ')') -o '(' -type d -not -perm 0755 ')' ### -o '(' -type f -not -perm 0644 ')')
fixPERMS() {
	chmod -f 711 "$1"/var/db/sudo/ >/dev/null 2>&1
	chmod -f 700 "$1"/var/db/sudo/lectured/ "$1"/var/lib/NetworkManager/ "$1"/etc/NetworkManager/system-connections/ >/dev/null 2>&1
	chmod -f 750 "$1"/root "$1"/etc/sudoers.d/ "$1"/etc/openvpn/{client,server}/ "$1"/{usr/share,etc}/polkit-1/rules.d/ >/dev/null 2>&1
	chmod -f 755 "$1"/etc "$1"/etc/local.d "$1"/usr "$1"/usr/local "$1"/usr/local/bin >/dev/null 2>&1
	chmod -f 555 "$1"/{proc,sys}/ "$1"/srv/ftp >/dev/null 2>&1
	chmod -f 775 "$1"/var/games >/dev/null 2>&1
	chmod -f 1777 "$1"/var/{spool/mail,tmp} >/dev/null 2>&1
	find "$1"/usr/share/icons -type d -exec chmod 755 {} + >/dev/null 2>&1
	find "$1"/usr/share/icons -type f -exec chmod 644 {} + >/dev/null 2>&1
}

### Bypass adwaita-icon-theme
remADWAITA() {
	[ -d "$1"/usr/share/themes/Adwaita ] || return
	rm "$1"/usr/share/mime/packages/freedesktop.org.xml "$1"/usr/lib/gtk-2.0/2.10.0/engines/libadwaita.so >/dev/null 2>&1
	rm -r "$1"/usr/share/themes/{Adwaita,Adwaita-dark,HighContrast} >/dev/null 2>&1
}

prepareSYS() {
	fixPERMS ""
	### WORKAROUND to --> "Please ensure you have a connection and try again. Exit code: 1" /// caused by /etc/local.d/firewall.start 
	setup-pman || { pacman-db-upgrade; haveged; pacman-key --init; pacman-key --populate archlinux artix; pkill haveged; update-ca-trust; }
	[ "$(pacman -Qu | wc -l)" = 0 ] || pacman -Syyu --overwrite '*'
	touch /tmp/updMARK || exit ### avoid iterations
	echo "  Main system: updated  "; echo;
}

### Pre/Post transaction hooks
patchCORE() {

	# *** WARNING: USE THEM AT YOUR OWN RISK ***
	# THESE ARE SOME TASKS ('HOOKS') EXECUTED AFTER PACMAN FINISHES UPDATING PACKAGES
	# YOU CAN FIND THESE LOCATED AT: /usr/share/libalpm/hooks/
	# THEY NEED TO BE EXECUTED IN REAL ENVIRONMENT, SO YOU NEED TO chroot PRIOR TO USE THEM
	# MOST OF THEM WILL FAIL UNLESS YOU RECREATE A INSTALLED SYSTEM WITH THE NEEDED MOUNTPOINTS
	# *** WARNING: USE THEM AT YOUR OWN RISK ***

	pacman-db-upgrade -r /tmp/"$outMOD"
	sysusers --root=/tmp/"$outMOD" ### emulates '20-sysusers.hook' execution in our target root
	tmpfiles --root=/tmp/"$outMOD" --create
	# chroot $outMOD
	# usr/share/libalpm/scripts/openrc-hook sysctl
	# usr/share/libalpm/scripts/openrc-hook reexec
	# usr/bin/gio-querymodules usr/lib/gio/modules
	# usr/bin/gtk-query-immodules-3.0 --update-cache
	# glib-compile-schemas usr/share/glib-2.0/schemas
	# usr/bin/gdk-pixbuf-query-loaders --update-cache
	# usr/share/libalpm/scripts/gtk-update-icon-cache
	# usr/bin/update-ca-trust
	# usr/bin/tmpfiles --create
	# usr/share/libalpm/scripts/dconf-update
	# usr/share/libalpm/scripts/openrc-hook reload dbus
	return
}

updateBASE() {
	cd /tmp || exit
	[ -f /tmp/updMARK ] || prepareSYS
	[ -d LOCALES ] || mkdir -p LOCALES
	PS3=$'\n'$'\e[00;36mPlease, select base module to update or exit (1-5): \e[0m'
	select outMOD in xfce xtra gui core end
	do
		patches=""
		case $outMOD in
			xfce) patches="";;
			xtra) patches="";;
			 gui) patches="";;
			core) patches="xxhash";; ### xxhash is rsync new dependency
			end*) the_end;;
		esac
	outMOD="$(basename `\ls -1 $PORTDIR/base/*$outMOD*` | cut -d- -f-2)"  ### \ls prevents unwanted user aliases
	break
	done

	### cp -a /mnt/live/memory/images/$outMOD*.xzm/ $outMOD ### unsquash seems to be faster
	unsquashfs -f -d "$outMOD" "$PORTDIR"/base/"$outMOD"*
	cp -au --parents /var/lib/pacman/{sync/,local/ALPM_DB_VERSION} "$outMOD"
	pacman -Qqnr "$outMOD" | pacman -Sddur "$outMOD" --overwrite '*' --noconfirm --needed - ### --ignore '*'
	### APPLY patches
	[ -z "$patches" ] || eval "pacman -Sddr $outMOD $patches"
	confirm "Press any key when ready "

cd /tmp/"$outMOD" || exit
### ADDED Try to figure out user locale from cheatcodes and $LANG env variable (TESTING)
	KMAP=$(grep -Eo " kmap=[^ ]+" /proc/cmdline | cut -d= -f2)
	[[ -z $LANG ]] && LANG="$KMAP" || LANG="${LANG%.*}"
	[[ -z $LANG ]] && warn "Couldn't get your locale configuration"
	find usr/share/locale \( -name "en" -o -name "en_US" -o -name "$KMAP" -o -name "$LANG" -o -iname 'locale.alias' \) -exec cp -au --parents {} /tmp/LOCALES \;
	unset KMAP
	rm -r usr/share/{doc,gir-1.0,gtk-doc,info,licenses,locale,man} usr/include/* usr/lib/systemd/* tmp/* >/dev/null 2>&1
	rm -r var/lib/pacman/{sync/,local/ALPM_DB_VERSION} >/dev/null 2>&1

### strip out ~ 270 MB from core stuff
	[[ "$outMOD" = "001-core" ]] && { 
	patchCORE
	rm -r usr/lib/{libasan,libgfortran,libgo,libtsan}* usr/lib/*.a usr/bin/js78* lib/pkgconfig usr/share/i18n/charmaps/*.gz
	}

cd /tmp || exit
	fixPERMS "$outMOD"
	### chown -R 0.0 $outMOD; ### GOTCHA
	[ -d "$outMOD"/home ] && chown -R 1000.1000 "$outMOD"/home >/dev/null 2>&1
	mv "$outMOD"/var/log/pacman.log "$outMOD"-pacman.log >/dev/null 2>&1
	dir2xzm "$outMOD" "$outMOD-$(date '+%Y%m%d').xzm"
	rm -r "$outMOD"
}

# Main loop
while confirm "Shall we update [y/*]? "; do updateBASE; done

warn " Aborted. Exit code: $?"
Please try and let me know if it works for you.

Thanks.

Cheers!

Edit: Code refined.
Edit: 19/12 --> Added locale support. Hopefully fixed exit routine.
Edit: 20/12 --> Fixed setup-pman re-executions bug. No further modifications planned.
Edit: 02/01 -->
  • Aded code to remove stuff from core module. (Size should be similar to the one provided by ncmprhnsbl).
  • Fixed typo in fixPERMS routine
  • Changed order in menu items so that the running sequence is something like: y 1 y 2 y 3 y 4 y 5
Last edited by M. Eerie on 05 Jan 2021, 17:05, edited 44 times in total.
Cheers!

User avatar
M. Eerie
Shogun
Shogun
Posts: 259
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce x64

2020 Updated Nemesis Base Modules

Post#186 by M. Eerie » 09 Dec 2020, 08:23

...

Cheers!
Cheers!

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

2020 Updated Nemesis Base Modules

Post#187 by ncmprhnsbl » 26 Dec 2020, 13:48

2020-12-26 base modules updated
packages upgraded:
core:

Code: Select all

archlinux-keyring
artix-keyring
audit
bash
bzip2
ca-certificates-mozilla
curl
dhcpcd
dhcpcd-openrc
dialog
dnssec-anchors
esysusers
etmpfiles
expat
gcc-libs
glib2
glibc
gnupg
gnutls
gpgme
grep
iana-etc
icu
iproute2
iptables
less
libarchive
libassuan
libcap
libcap-ng
libffi
libgcrypt
libgpg-error
libldap
libnftnl
libp11-kit
libpcap
libseccomp
libsecret
libtirpc
libunistring
libusb
lz4
nano
netifrc
nss
openrc
openssh
openssl
p11-kit
pam
pcre2
readline
sqlite
sudo
tzdata
usbutils
util-linux
util-linux-libs
xfsprogs
brotli
dmidecode
fuse-common
js78
libevdev
libinput
libmm-glib
libnm
libproxy
libteam
libwacom
libx11
libxml2
lsof
networkmanager
openvpn
pkcs11-helper
rsync
syslog-ng
syslog-ng-openrc
unrar
cdrtools
libnewt
xxhash (added)
inotify-tools
mc
eudev-openrc (removed)
gui:

Code: Select all

avahi
cairo
freetype2
gdk-pixbuf2
gtk-update-icon-cache
gtk2
harfbuzz
imlib2
libcups
libdrm
libepoxy
libjpeg-turbo
librsvg
libxkbcommon-x11
llvm-libs
mesa
pango
vte-common
vulkan-icd-loader
xf86-video-intel
xorg-server
xorg-server-common
xorg-xinit
xorg-xkbcomp
xorg-xprop
xterm
hwinfo
xtra:

Code: Select all

alsa-card-profiles
alsa-lib
alsa-topology-conf
alsa-ucm-conf
alsa-utils
aom
faad2
ffmpeg
fftw
glslang
libass
libbluray
libimobiledevice
libplacebo
libplist
libpulse
libva
libva-vdpau-driver
libxkbcommon
opencore-amr
openjpeg2
pulseaudio
recode
sdl2
talloc
xdg-user-dirs
libmfx
devel:

Code: Select all

binutils
fakeroot
gcc
cmake
git
perl-file-listing
perl-html-parser
perl-http-cookies
perl-libwww
perl-lwp-protocol-https
perl-uri
xfce4: (to 4.16)

Code: Select all

btrfs-progs
exo
fuse3
garcon
gnome-keyring
gtk3
libblockdev
libbytesize
libxfce4ui
libxfce4util
mobile-broadband-provider-info
mousepad
ndctl
perl-uri
thunar
thunar-volman
tumbler
volume_key
vte3
xfce4-appfinder
xfce4-panel
xfce4-power-manager
xfce4-screenshooter
xfce4-session
xfce4-settings
xfce4-terminal
xfconf
xfdesktop
xfwm4
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Blaze
DEV Team
DEV Team
Posts: 3088
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

2020 Updated Nemesis Base Modules

Post#188 by Blaze » 27 Dec 2020, 10:45

ncmprhnsbl, thanks for this update!

Download nemesis-xfce-20.12.26-k5.4.50-x86_64.iso

Code: Select all

[*] updated base to 2020-12-26
[*] updated Porteus-installer-for-Linux.com (Syslinux bootloader)
Linux 5.4.85-porteus #1 SMP Wed Dec 23 12:36:37 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Rava
Contributor
Contributor
Posts: 2843
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 x86-64 XFCe
Location: Forests of Germany

2020 Updated Nemesis Base Modules

Post#189 by Rava » 27 Dec 2020, 13:06

Hi ncmprhnsbl & Blaze, thanks for all your good work. :beer:
Blaze wrote:
27 Dec 2020, 10:45
Download nemesis-xfce-20.12.26-k5.4.50-x86_64.iso
Blaze, can you please confirm the md5sum and maybe also the sha256sum?
# md5sum nemesis-xfce-20.12.26-k5.4.50-x86_64.iso;sha256sum nemesis-xfce-20.12.26-k5.4.50-x86_64.iso
d1dd98492f62c2fcedb7a909649555e0 nemesis-xfce-20.12.26-k5.4.50-x86_64.iso
22a5cfbe506359cfa6664e17a09b98bb0ee1261b19bc72de147712bee963097f nemesis-xfce-20.12.26-k5.4.50-x86_64.iso
Can the nemesis kernel be replaced by an older Port kernel?
I would like to use my trusty 5.4.30 because of the needed NVidia 340.108 driver.
Cheers!
Yours Rava

User avatar
Blaze
DEV Team
DEV Team
Posts: 3088
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

2020 Updated Nemesis Base Modules

Post#190 by Blaze » 27 Dec 2020, 14:12

Hi Rava,
Yep is the sane md5sum

Code: Select all

# md5sum nemesis-xfce-20.12.26-k5.4.50-x86_64.iso 
d1dd98492f62c2fcedb7a909649555e0
I have issue with latest update of Nemesis - X does not started >>> https://pastebin.ubuntu.com/p/Ch4R4TqmJG/

Отправлено спустя 1 минуту 26 секунд:
Rava wrote:
27 Dec 2020, 13:06
Can the nemesis kernel be replaced by an older Port kernel?
I don't tested Slackware kernel with Arch Linux. Need your feedback about this test.

Отправлено спустя 1 час 15 минут 50 секунд:
Well, I removed changes directory and now all boots fine.
Linux 5.4.85-porteus #1 SMP Wed Dec 23 12:36:37 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

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

2020 Updated Nemesis Base Modules

Post#191 by ncmprhnsbl » 29 Dec 2020, 08:20

Rava wrote:
27 Dec 2020, 13:06
Can the nemesis kernel be replaced by an older Port kernel?
I would like to use my trusty 5.4.30 because of the needed NVidia 340.108 driver.
see here: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus 3.2 (Post by francois #51457)
basicly: the 000-kernel has to be rearranged to comform to arch directory layout style (which may be a problem for your nvidia driver)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2843
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 x86-64 XFCe
Location: Forests of Germany

2020 Updated Nemesis Base Modules

Post#192 by Rava » 29 Dec 2020, 16:46

ncmprhnsbl wrote:
29 Dec 2020, 08:20
see here: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus 3.2 (Post by francois #51457)
basicly: the 000-kernel has to be rearranged to comform to arch directory layout style (which may be a problem for your nvidia driver)
… okay. Thanks for the heads up.

But when I run nemesis with the 5.4.30 kernel after rearranging 000-kernel - then it should be possible with the help of 05-devel for my kernel to compile a NVidia 340.108 driver just for nemesis?

Or would I have to first rearrange 05-devel as well?
Cheers!
Yours Rava

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

2020 Updated Nemesis Base Modules

Post#193 by raja » 29 Dec 2020, 16:57

Blaze wrote:
27 Dec 2020, 10:45
ncmprhnsbl, thanks for this update!

Download nemesis-xfce-20.12.26-k5.4.50-x86_64.iso

Code: Select all

[*] updated base to 2020-12-26
[*] updated Porteus-installer-for-Linux.com (Syslinux bootloader)
Booted ISO in 13 seconds. Perfect. Thanks blaze,ncmp. In future please include Netsurf Browser in 'base' both in Nemisis and Porteus. Also, the sailing boat wallpaper has a sick look. Not a big deal.. still; Blue has universal appeal!

https://www.xfce-look.org/p/1357748/
Linux Kernel-4.4.243-32 bit; Linux kernel-5.9.1-64 bit.

User avatar
Rava
Contributor
Contributor
Posts: 2843
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 x86-64 XFCe
Location: Forests of Germany

2020 Updated Nemesis Base Modules

Post#194 by Rava » 29 Dec 2020, 20:14

raja wrote:
29 Dec 2020, 16:57
In future please include Netsurf Browser in 'base' both in Nemisis and Porteus.
I think no browser should be pre-selected for any of our OS, be it nemesis or Porteus, unlike e.g. lynx or links.

Reason: the preferences in browsers are much too diverse, a minimal one which lacks certain functionality might be a good choice for some, while for others it would be a pointless addition since they need a "real" browser like firefox, palemoon or chromium anyway.

Besides, having the need to update a ISO to add ones choice in browser is a good learning experience for users new to Porteus.
Or the few that use Porteus as their first step into the Linux world. (Are there any?)
Cheers!
Yours Rava

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

2020 Updated Nemesis Base Modules

Post#195 by ncmprhnsbl » 29 Dec 2020, 23:00

Rava wrote:
29 Dec 2020, 16:46
05-devel for my kernel
05-devel modules aren't kernel specific.. use the 05-devel for nemesis .. however, you would need the crippled sources specific to your kernel..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply