2021 Updated Nemesis Base Modules

Arch based Porteus community project

Moderator: M. Eerie

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

2021 Updated Nemesis Base Modules

Post#286 by Rava » 24 Nov 2021, 03:12

ncmprhnsbl wrote:
24 Nov 2021, 02:43
have you got the config directory(and it's contents) in you drive root?(ie. next to boot and porteus dirs)
No, I downloaded the modules.
I presume I need something like a skeleton ISO for the config directory(and it's contents) ?
ncmprhnsbl wrote:
24 Nov 2021, 02:43
besides the zstd stuff there's not much significant difference with slackware porteus' dir2xzm .. (it's in /usr/local/bin, if you want to look at it)
the final line of slackware porteus' dir2xzm:

Code: Select all

if [ $? != 0 ]; then echo "Error building compressed image"; exit 1; fi
the final line of nemesis' dir2xzm:

Code: Select all

[ $? -ne 0 ] && { gettext "Error building module"; echo; exit 1; }
Hmmm :confused: There is no error message at all.
Please try my test approach with the one folder and one empty file yourself and test if your dir2xzm ran as such

Code: Select all

dir2xzm dir2xzmtest/ dir2xzmtest.xzm
returns with a zero or with a 1.
And see if your dir2xzm reports an error when returning a 1 - in my system it did return a 1 but it reported no error.
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:

2021 Updated Nemesis Base Modules

Post#287 by ncmprhnsbl » 24 Nov 2021, 04:12

Rava wrote:
24 Nov 2021, 03:12
No, I downloaded the modules.
I presume I need something like a skeleton ISO for the config directory(and it's contents) ?
well, this might be your problem ... do have the correct initrd.xz?
it was for this reason i posted the ISOs: NEW: isos, modules 2021 (Post by ncmprhnsbl #83434)
there is a skeleton here: 2021 Updated Nemesis Base Modules (Post by ncmprhnsbl #61949) but it contains outdated files.
i will update these ISOs next update, which will be soon hopefully, just waiting for an issue with artix archive repo to be fixed
Rava wrote:
24 Nov 2021, 03:12
Hmmm :confused: There is no error message at all.
Please try my test approach with the one folder and one empty file yourself and test if your dir2xzm ran as such
sure, yes, and a simple fix: change /usr/local/bin/dirxzm :

Code: Select all

[ $? -ne 0 ] && { gettext "Error building module"; echo; exit 1; }
to

Code: Select all

if [ $? -ne 0 ]; then { gettext "Error building module"; echo; exit 1; }; fi
don't ask me why.
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

2021 Updated Nemesis Base Modules

Post#288 by Rava » 24 Nov 2021, 04:30

ncmprhnsbl wrote:
24 Nov 2021, 04:12
it was for this reason i posted the ISOs: NEW: isos, modules 2021 (Post by ncmprhnsbl #83434)
there is a skeleton here: 2021 Updated Nemesis Base Modules (Post by ncmprhnsbl #61949) but it contains outdated files.
i will update these ISOs next update, which will be soon hopefully, just waiting for an issue with artix archive repo to be fixed
Outdated? But the initrd and the config directory (and it's contents) are okay to use, right?
ncmprhnsbl wrote:
24 Nov 2021, 04:12
sure, yes, and a simple fix: change /usr/local/bin/dirxzm :

Code: Select all

[ $? -ne 0 ] && { gettext "Error building module"; echo; exit 1; }
to

Code: Select all

if [ $? -ne 0 ]; then { gettext "Error building module"; echo; exit 1; }; fi
don't ask me why.
Thanks for the fix, and I won't ask.

(URL is an image)
https://external-content.duckduckgo.com ... f=1&nofb=1
:D
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:

2021 Updated Nemesis Base Modules

Post#289 by ncmprhnsbl » 24 Nov 2021, 04:55

Rava wrote:
24 Nov 2021, 04:30
Outdated? But the initrd and the config directory (and it's contents) are okay to use, right?
here, just for you : skel.tar.gz 3.2 mb
md5sum: 292b3ccd9b8a43b187706cf271245ff2
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

2021 Updated Nemesis Base Modules

Post#290 by M. Eerie » 24 Nov 2021, 07:52

I can't see gettext anywhere...

my mistake :)

Wait, we're talking about gettext.sh, not gettext package...

my mistake again :)
> 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
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

2021 Updated Nemesis Base Modules

Post#291 by Rava » 24 Nov 2021, 17:19

^
M. Eerie you are one funny Shogun. :celebrate3: I would have deleted such a post. xD
ncmprhnsbl wrote:
24 Nov 2021, 04:55
here, just for you : skel.tar.gz 3.2 mb
md5sum: 292b3ccd9b8a43b187706cf271245ff2
Thanks. I am sure no one else would dare download it.

B)
Cheers!
Yours Rava

Post Reply