Arch based Porteus community project
Moderator: M. Eerie
-
Rava
- Contributor
- Posts: 5401
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
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
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
Rava
-
ncmprhnsbl
- DEV Team
- Posts: 3936
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
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
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
ncmprhnsbl
-
Rava
- Contributor
- Posts: 5401
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#288
by Rava » 24 Nov 2021, 04:30
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
Cheers!
Yours Rava
Rava
-
ncmprhnsbl
- DEV Team
- Posts: 3936
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
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
ncmprhnsbl
-
M. Eerie
- Moderator
- Posts: 622
- Joined: 31 Aug 2017, 21:18
- Distribution: Nemesis Xfce/MATE x64
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
M. Eerie
-
Rava
- Contributor
- Posts: 5401
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#291
by Rava » 24 Nov 2021, 17:19
^
M. Eerie you are
one funny Shogun.
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.
Cheers!
Yours Rava
Rava