Page 20 of 20

2021 Updated Nemesis Base Modules

Posted: 24 Nov 2021, 03:12
by Rava
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.

2021 Updated Nemesis Base Modules

Posted: 24 Nov 2021, 04:12
by ncmprhnsbl
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.

2021 Updated Nemesis Base Modules

Posted: 24 Nov 2021, 04:30
by Rava
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

2021 Updated Nemesis Base Modules

Posted: 24 Nov 2021, 04:55
by ncmprhnsbl
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

2021 Updated Nemesis Base Modules

Posted: 24 Nov 2021, 07:52
by M. Eerie
I can't see gettext anywhere...

my mistake :)

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

my mistake again :)

2021 Updated Nemesis Base Modules

Posted: 24 Nov 2021, 17:19
by Rava
^
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)