2021 Updated Nemesis Base Modules

Arch based Porteus community project

Moderator: M. Eerie

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE 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!
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE 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!
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
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
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE 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
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE 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 (alias upbase)
# Updates NEMESIS base modules ( $PORTDIR/base )
#
# https://forum.porteus.org/viewtopic.php?p=80232#p80232
#

[[ $EUID -eq 0 ]] || su -c "$0"; [[ $? -eq 1 ]] && exit 

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 init Nemesis with **Always Fresh** boot parameters" && exit

the_end() {
	cd /tmp/updBASE || 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 pkgAdd pkgRem 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
}

### [[ $? = 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 -Sy; }
	[[ $(pacman -Qu | wc -l) -eq 0 ]] || pacman -Syyu --overwrite '*' ### --ignore '*' >/dev/null
	mkdir /tmp/updBASE || exit ### avoid iterations
	echo "  Main system: updated  ";
}

patchCORE() {
# mount -t proc proc proc/
# mount -t sysfs sys sys/
# mount --bind /dev dev/
# mount -t devpts pts dev/pts/
# umount -R "$1"/{proc,sys,dev}
	#for mp in proc sys dev dev/pts; do mount --bind /$mp /tmp/"$outMOD"/$mp; done &
	#chroot /tmp/"$outMOD" /bin/bash

### Pre/Post transaction hooks
	# *** 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/updBASE/"$outMOD"
	sysusers --root=/tmp/updBASE/"$outMOD" ### emulates '20-sysusers.hook' execution in our target root
	tmpfiles --root=/tmp/updBASE/"$outMOD" --create
	# usr/bin/update-ca-trust
	# usr/bin/gio-querymodules usr/lib/gio/modules
	# usr/bin/gtk-query-immodules-3.0 --update-cache
	# usr/bin/gdk-pixbuf-query-loaders --update-cache
	# usr/share/libalpm/scripts/gtk-update-icon-cache
	# glib-compile-schemas usr/share/glib-2.0/schemas
	# usr/share/libalpm/scripts/openrc-hook sysctl
	# usr/share/libalpm/scripts/openrc-hook reexec
	# usr/share/libalpm/scripts/dconf-update
	# usr/share/libalpm/scripts/openrc-hook reload dbus
	# umount -R {proc,sys,dev} ### WARNING
	#for mp in proc sys dev dev/pts; do mount --bind /$mp /$mp; done &
	return
}

updateBASE() {
	[ -d /tmp/updBASE ] || prepareSYS
	cd /tmp/updBASE || exit
	[ -d LOCALES ] || mkdir -p LOCALES
	PS3=$'\n'$'\e[00;36mPlease, select base module to update or exit (1-6): \e[0m'
	select outMOD in xfce xtra gui devel core end
	do
		pkgAdd=""
		pkgRem=""
		case $outMOD in
			xfce) pkgAdd=""; pkgRem="";; ### --overwrite '*'
			xtra) pkgAdd=""; pkgRem="";; ### --overwrite '*'
			 gui) pkgAdd=""; pkgRem="";; ### --overwrite '*'
		   devel) pkgAdd=""; pkgRem="";; ### --overwrite '*'
			core) pkgAdd=""; pkgRem="";; ### --overwrite '*';; ### --ignore '*'
			end*) the_end;;
		esac
	outMOD="$(basename "$(\ls -1 "$PORTDIR"/base/*$outMOD*)" | cut -d- -f-2)" ### \ls escapes user alias ;)
	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"
	if [[ $(pacman -Qur "$outMOD" | wc -l) -eq 0 ]]; then warn "$outMOD is up to date"; rm -r "$outMOD"; return; fi
	pacman -Qqnr "$outMOD" | pacman -Sddur "$outMOD" --overwrite '*' --noconfirm --needed - ### --ignore '*'
	### Add / Remove packages --> Useful i.e. to avoid duplicate database entries
	[[ -z $pkgAdd ]] || eval "pacman -Sddr $outMOD $pkgAdd"
	[[ -z $pkgRem ]] || eval "pacman -Rddr $outMOD $pkgRem"

cd /tmp/updBASE/"$outMOD" || exit
	### ADDED Get usr locale environment from cheatcodes and $LANG env variable
	KMAP=$(grep -Eo " kmap=[^ ]+" /proc/cmdline | cut -d= -f2)
	[[ -z $LANG ]] && LANG="$KMAP" || LANG="${LANG%.*}"
	[[ -z $LANG ]] && warn "Couldn't set your locale config" ### get_locale
	###	find usr/share/locale \( -name 'e[ns]_[EU]S' -o -name 'e[ns]' -o -iname 'locale.alias' \) -exec cp -au --parents {} /tmp/LOCALES \;
	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/updBASE/LOCALES \;
	unset KMAP

	### strip out ~ 270 MB from core stuff
	[[ "$outMOD" = "001-core" ]] && {
		#patchCORE  ### OMIT BY DEFAULT
		rm -r usr/lib/{libasan,libgfortran,libgo,libgomp,libtsan}.so* usr/lib/*.a usr/bin/js78* lib/pkgconfig usr/share/i18n/charmaps/*.gz
	}
	rm -r usr/share/{doc,gir-1.0,gtk-doc,info,licenses,locale,man} usr/include/* usr/lib/systemd/* tmp/* var/lib/pacman/{sync/,local/ALPM_DB_VERSION} >/dev/null 2>&1

cd /tmp/updBASE || exit
	fixPERMS "$outMOD"
	[ -d "$outMOD"/home/guest ] && chown -R 1000.1000 "$outMOD"/home/guest >/dev/null 2>&1
	confirm "Press any key when ready " #ALLOW REVIEW/MANUAL CHANGES
	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 -->
  • Added 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
Edit: 03/11 -->
  • Corrected removing libgobject bug
  • Added option to update devel module
  • Core module is not patched by default
  • Works with the last (february) updated modules uploaded by ncmprhnsbl
Known issues:
With recent changes, both root thunar & root terminal use guest password (maybe new polkit rules involved)
Last edited by Ed_P on 25 Sep 2021, 03:28, edited 46 times in total.
Reason: M. Eerie script edit.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

2020 Updated Nemesis Base Modules

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

...

Cheers!
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
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: 3869
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 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
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: 3869
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 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
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: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
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: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-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.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
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: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
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