Why not add mtools to dependency of syslinux? root@ironman ~ $ syslinux -s /dev/sdb1 sh: mcopy: command not found I think the mcopy program is required by syslinux in 99% of cases. -- Malcolm Forbes - "Ability will never catch up with the demand for it."
On Wed, Aug 6, 2008 at 3:31 AM, Thiago Coutinho <thiagocoutinho1@gmail.com> wrote:
Why not add mtools to dependency of syslinux?
root@ironman ~ $ syslinux -s /dev/sdb1 sh: mcopy: command not found
I think it is not listed, because it is not linked against it. See: http://crux.nu/Main/PortGuidelines#ntoc2 bye richi (namenlos)
Hello, Richard. On Wed, 6 Aug 2008 17:49:16 +0200 "Richard Pöttler" <richard.poettler@gmail.com> wrote:
On Wed, Aug 6, 2008 at 3:31 AM, Thiago Coutinho <thiagocoutinho1@gmail.com> wrote:
Why not add mtools to dependency of syslinux?
root@ironman ~ $ syslinux -s /dev/sdb1 sh: mcopy: command not found
I think it is not listed, because it is not linked against it.
This is not the case: mtools port is not in core and thus should be listed as a dependency. The question is if it is essential for the syslinux functionality... You can always discuss such situation with a maintainer. -- Mikhail Kolesnik ICQ: 260259143 IRC: mike_k at freenode/#crux, rusnet/#yalta
Hi, Sorry for the delay. I'm in vacations ATM, but I'll return at the end of the next week. Mikhail Kolesnik wrote:
Hello, Richard.
On Wed, 6 Aug 2008 17:49:16 +0200 "Richard Pöttler" <richard.poettler@gmail.com> wrote:
On Wed, Aug 6, 2008 at 3:31 AM, Thiago Coutinho <thiagocoutinho1@gmail.com> wrote:
Why not add mtools to dependency of syslinux?
root@ironman ~ $ syslinux -s /dev/sdb1 sh: mcopy: command not found I think it is not listed, because it is not linked against it.
This is not the case: mtools port is not in core and thus should be listed as a dependency. The question is if it is essential for the syslinux functionality... You can always discuss such situation with a maintainer. I'm the maintainer on contrib for this port. The fact is that the syslinux binary requires mtools installed (for working with vfat filesystems), but isn't required for build the port and mostly of the others binaries and tools packaged don't depends on it. That's for what I decided to added mtools as optional.
Yeah, I don't like to have these kind of errors due to optional-non_installed dependencies, so I propose you some ways for fixing it: a) add a README file explaining the problem b) add mtools as a dependency c) rename syslinux to syslinux-bin and add a syslinux called script which executes the syslinux binary after checking if mtools is installed [attached] [1] Imho c) would be the best option. What are your opinions? Thanks for your comments, Jose V Beneyto [1] results for syslinux script example: $ syslinux Usage: syslinux [-sfr][-d directory][-o offset] device $ sudo pkgrm mtools $ syslinux You need to install mtools for using the syslinux command. #!/bin/bash if [ "$(pkginfo -i | grep '^mtools ')" ]; then exec syslinux $@ else echo "You need to install mtools for using the syslinux command." 2>&1 exit 1 fi # End of file
Hello, Jose. On Thu, 07 Aug 2008 15:11:54 +0200 Jose V Beneyto <sepen@users.sourceforge.net> wrote:
[...] a) add a README file explaining the problem b) add mtools as a dependency c) rename syslinux to syslinux-bin and add a syslinux called script which executes the syslinux binary after checking if mtools is installed [attached] [1]
Imho c) would be the best option. What are your opinions?
I like the b) variant. It is not a big deal to have that dependency. I would choose the a) if we were talking about some huge piece of software. Renaming syslinux binary can be very confusing. -- Mikhail Kolesnik ICQ: 260259143 IRC: mike_k at freenode/#crux, rusnet/#yalta
Jose V Beneyto [2008-08-07 15:11]:
[snip]
a) add a README file explaining the problem b) add mtools as a dependency c) rename syslinux to syslinux-bin and add a syslinux called script which executes the syslinux binary after checking if mtools is installed [attached] [1]
Imho c) would be the best option. What are your opinions?
I have no clue about syslinux, but I think I'd prefer b) as well. I like c) the least :o Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
participants (6)
-
Antti Nykänen
-
Jose V Beneyto
-
Mikhail Kolesnik
-
Richard Pöttler
-
Thiago Coutinho
-
Tilman Sauerbeck