LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No mkisofs in -current - instead there is xorriso - mirror-slackware-current.sh will work? (https://www.linuxquestions.org/questions/slackware-14/no-mkisofs-in-current-instead-there-is-xorriso-mirror-slackware-current-sh-will-work-4175689164/)

igadoter 01-24-2021 08:49 AM

No mkisofs in -current - instead there is xorriso - mirror-slackware-current.sh will work?
 
I am just reading content of mirror-slackware-current.sh. There is used mkisofs - yet there is no mkisofs in -current. To create hybrid iso file with mkisofs one needs additionally ioshybrid. While xorriso is doing it by itself. Does my script version is outdated or what? File isolinux/README.TXT in Slackware tree top directory contains correct command for xorriso to make hybrid iso image. So if script is to be of use in future it needs to be rewritten to work with xorriso. I don't have actually -current installed (I will), but package search engine shows there is no mkisofs in -current. Warning for those to use this script (as me) to create local mirror.

brianL 01-24-2021 09:01 AM

Yes, there is:
Code:

brian@slackpad1:~$ whereis mkisofs
mkisofs: /usr/bin/mkisofs /usr/man/man8/mkisofs.8.gz

That's in completely updated current.

igadoter 01-24-2021 09:07 AM

It does not have much sense. Have you looked for xorriso? There must be also. If PV uses it by himself. I just heard they are in conflict. I mean supposedly one cannot have them both installed. Maybe /usr/bin/mkisofs is script? xorriso emulates mkisofs.

brianL 01-24-2021 09:25 AM

Yes, xorriso is there, too.
Code:

brian@slackpad1:~$ whereis xorriso
xorriso: /usr/bin/xorriso /usr/man/man1/xorriso.1.gz /usr/info/xorriso.info.gz


Alien Bob 01-24-2021 09:26 AM

Quote:

Originally Posted by igadoter (Post 6211345)
It does not have much sense. Have you looked for xorriso? There must be also. If PV uses it by himself. I just heard they are in conflict. I mean supposedly one cannot have them both installed. Maybe /usr/bin/mkisofs is script? xorriso emulates mkisofs.

I have you on ignore but I can see the answers to the posts you do. And this one is again born of ignorance.
The two, mkisofs and xorriso, are not conflicting. They can be installed alongside. Xorriso does not 'emulate' mkisofs, it does roughly the same thing but then differently, it is an independent implementation using libburnia. You can use one or the other, no one cares.
It is risky to make statements or assumptions about a distro you do not have installed yourself.

brianL 01-24-2021 09:28 AM

Code:

brian@slackpad1:~$ file /usr/bin/xorriso
/usr/bin/xorriso: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped
brian@slackpad1:~$ file /usr/bin/mkisofs
/usr/bin/mkisofs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped


igadoter 01-24-2021 10:02 AM

Quote:

Originally Posted by Alien Bob (Post 6211352)
The two, mkisofs and xorriso, are not conflicting.

It is not my opinion but Devuan (Debian?) developers. I can't install both on my Devuan system. If I could there will be no this thread. Emulate was not precise. I had this in mind
Code:

% xorriso -as mkisofs
but no matter if PV is suggesting to use xorriso maybe it is not bad idea to rewrite the script to work also with xorriso?

brianL 01-24-2021 10:04 AM

That's not Slackware's problem then, is it?

igadoter 01-24-2021 10:12 AM

It is problem in the situation one try to create Slackware installation CD working on different distribution than Slackware. Which may of course happen as it happened to me. I tried to install Slackware -current yesterday. But installer broke on password for root - it was not possible to create password. So I wiped out my Slackware 14.2 installation. Now I try to create hybrid iso from my local repository - which I keep thank to AlienBob script. I got stuck on lack of mkisofs in Devuan.

Didier Spaier 01-24-2021 10:16 AM

igadoter: please mark this pointless thread as [SOLVED] so that less people waste their time reading it.

PS Having read your last message after having posted the above I suggest that you just stay with Devuan. This will make your life easier.

brianL 01-24-2021 10:19 AM

From here:
https://wiki.debian.org/genisoimage
Quote:

Debian ships a fork of mkisofs, called genisoimage
Maybe Devuan does, too. That's all, as far as I'm concerned.

igadoter 01-24-2021 10:30 AM

I think subject of thread is clear. I just do it for myself. To avoid -u option. But script is not licensed so my own version can't be published. I mean I don't want any quarrel with the author.

Didier Spaier 01-24-2021 10:42 AM

Subject is full wrong as mkisofs is indeed shipped in -current thus also misleading, and no one wants your edited script. Please stop wasting our time.

igadoter 01-24-2021 11:09 AM

I want/need now my own script. As it seems there is no chance author would be interested in creating updated version. I mentioned above why I need such solution. Just read my posts. Before judging me. It is not difficult to change script content - just insted of mkisofs command put what is in isolinux/README.TXT file - where as I mentioned is used xorriso. I treat this like suggestion to rather use xorriso instead of mkisofs. And today there is no need to separate hybrid iso from usual iso. Just all the time create hybrid. It is only additional future which does not break boot from DVD. All part of script if ISOHYBRID is unessential. But script by itself is just very old.

Didier Spaier 01-24-2021 11:25 AM

[content removed as useless]


All times are GMT -5. The time now is 12:21 AM.