You are not logged in.
Pages: 1
i need a small clarification
as per the archiso documentation:-
as superuser running
`mkarchiso -v -w /path/to/work_dir -o /path/to/out_dir /path/to/profile/`
makes the iso ...
but when i run the same command as:-
`mkarchiso -v -w ./work -o ./out ./releng/`
it dosen't work but throws me an error
`[mkarchiso] ERROR: Invalid command name './releng/'
`
Whar can be done to resolve it
Offline
Works for me™.
Are you perhaps using an old archiso version? Make sure your system is fully up to date.
Offline
Works for me™.
Are you perhaps using an old archiso version? Make sure your system is fully up to date.
still i get the same issue? my system is up to date
Offline
The "Invalid command name" message was removed in https://gitlab.archlinux.org/archlinux/ … 1abfdca2fd which was released in archiso 47 on 2020-08-25.
Post the output:
$ pacman -Q archiso
$ type mkarchiso
Offline
The "Invalid command name" message was removed in https://gitlab.archlinux.org/archlinux/ … 1abfdca2fd which was released in archiso 47 on 2020-08-25.
Post the output:
$ pacman -Q archiso $ type mkarchiso
archiso-git 52.r3.g1a97109-1
mkarchiso is /usr/bin/mkarchiso
Offline
`mkarchiso -v -w /path/to/work_dir -o /path/to/out_dir /path/to/profile/`
makes the iso ...
but when i run the same command as:-
Basically this should always work using the new archiso and a new profile!
`mkarchiso -v -w ./work -o ./out ./releng/`
This would only work depending on where you are in the 'dir tree'!
Offline
`mkarchiso -v -w /path/to/work_dir -o /path/to/out_dir /path/to/profile/`
makes the iso ...
but when i run the same command as:-Basically this should always work using the new archiso and a new profile!
`mkarchiso -v -w ./work -o ./out ./releng/`
This would only work depending on where you are in the 'dir tree'!
might be better if u explain further?
Offline
With the first command you are giving full paths.
If you used the newest archiso - which you do - and a new profile - which you probably also do otherwise the build would most likely have failed!
Build will succeed here.
The second command is not that forgiven, it depends in which dir you are to successful run the command.
So if you would perform 'ls' you need to see the 'releng' dir as output.
If not build will fail, that's it :-)
Offline
If the profile directory is wrong, it would fail with "ERROR: Profile '/the/invalid/path' does not exist!". Nothing should produce "ERROR: Invalid command name", there is no such message in mkarchiso anymore.
Run:
$ pacman -Qkk archiso
# type mkarchiso
(run the second command in a root shell)
Last edited by nl6720 (2021-04-10 12:37:44)
Offline
True, but if his first build succeeded, the analyzes could only be OP was in the wrong dir.
Output of the commands he gave shows 'archiso-git 52.r3.g1a97109-1' he could update to 'archiso-git 51.r9.ge43017c-1'
I looked again I saw pasted the wrong version, sorry, he is using the latest git version.
Last edited by qinohe (2021-04-10 12:45:54)
Offline
If the profile directory is wrong, it would fail with "ERROR: Profile '/the/invalid/path' does not exist!". Nothing should produce "ERROR: Invalid command name", there is no such message in mkarchiso anymore.
Run:
$ pacman -Qkk archiso # type mkarchiso
(run the second command in a root shell)
As root:-
mkarchiso is /usr/bin/mkarchiso
archiso-git: 158 total files, 0 altered files
Offline
True, but if his first build succeeded, the analyzes could only be OP was in the wrong dir.
Output of the commands he gave shows 'archiso-git 52.r3.g1a97109-1' he could update to 'archiso-git 51.r9.ge43017c-1'
I looked again I saw pasted the wrong version, sorry, he is using the latest git version.
i am using the latest git version i guess
Offline
someone please help me. thanks in advance
Offline
someone please help me. thanks in advance
Please don't bump with a useless plea for help (see) https://gitlab.archlinux.org/archlinux/ … no#bumping
If someone has an answer for you they will try and help you!
I do agree with nl6720 you shouldn't see that message you posted, but the one he posted, that should be clear.
Have you tried to remove archiso, also the cached version?
Rebuild and reinstall it!
edit: first try nl6720's post below mine, good call
Last edited by qinohe (2021-04-10 13:18:58)
Offline
The only thing that comes to mind is trying to find where it fails using set -x.
Edit /usr/bin/mkarchiso as root and change the fifth line from
set -e -u
to
set -e -u -x
Then run your mkarchiso command again and post the ouput (use code tags please).
Offline
The only thing that comes to mind is trying to find where it fails using set -x.
Edit /usr/bin/mkarchiso as root and change the fifth line from
set -e -u
to
set -e -u -x
Then run your mkarchiso command again and post the ouput (use code tags please).
ya this is the output for that
./steps.sh: Error on line 243: mkarchiso -v -w ./work -o ./out ./releng/
Offline
mychatbot wrote:someone please help me. thanks in advance
Please don't bump with a useless plea for help (see) https://gitlab.archlinux.org/archlinux/ … no#bumping
If someone has an answer for you they will try and help you!I do agree with nl6720 you shouldn't see that message you posted, but the one he posted, that should be clear.
Have you tried to remove archiso, also the cached version?
Rebuild and reinstall it!edit: first try nl6720's post below mine, good call
thanks for letting me know, i won't do that again, sorry for that one though
Offline
I have no idea what's this "steps.sh" that you're using.
Please edit /usr/bin/mkarchiso as I instructed above and post the full output of the mkarchiso command.
Offline
ok good news, i reinstalled arch linux, and did the same thing and it worked,
Offline
That's not good news, that's work without learning anything besides installing arch.
There were no reasons to reinstall arch, issues are almost always solvable without reinstalling.
Of course I'm happy for you it's working now but you would have learned a lot more if you would have identified the problem.
Offline
now that it is working i am celebrating, i don't care about anything else right now lol, maybe later i will diagonise the issue . ps:- i hate archinstall, why simplyify it ? let ppl learn by doing it the hard way
Offline
That's not good news, that's work without learning anything besides installing arch.
There were no reasons to reinstall arch, issues are almost always solvable without reinstalling.Of course I'm happy for you it's working now but you would have learned a lot more if you would have identified the problem.
i have another bad news, i built my iso with kde plasma and want to remove arch branding but if i place a custom os-release and lsb-release files
lsb-release exists in filesystem
i get this issue so please help me someone and for no reason am able to make a new post and idk y
Offline
I ... and want to remove arch branding
These are questions you shouldn't ask here, branding is there for a reason!
It's about the same as buying a car and telling the factory to put your own logo & name on it!
Read this before posting: https://wiki.archlinux.org/index.php/Code_of_conduct
This thread is done.
Offline
Pages: 1