Package: live-build Thanks for the fish (reposting this bug report because the first one seems to be lost in ether -- sorry for potential dupplicates)
Falling in a recent bug of live-manual that advise the users to pass usb-hdd as a build type is particularly unfriendly because the code on its side is not defensive enough. In scripts/build/lb_binary_syslinux, you have a case statement which objective is to set the _SUFFIX variable depending on the kind of image that we are building. But if the image kind is not recognized by the case, then the only error message that the user get is: "mkdir: missing operand" There is two needed fixes here IMHO: - the configuration must be checked at the beginning of the process (to ensure that typo such as hhd instead of hdd are detected and reported in a timely manned) - the call to mkdir must be protected: mkdir without argument will always fail on the user, so you don't want to do that. I'm not sure whether the code should fail if puzzled or if the mkdir should simply be avoided, but I'm sure you'll know. Anyway, thanks for this very nice piece of software, and keep up the good work. Bye, Mt. -- La joie d'apprendre est aussi indispensable aux études que la respiration aux coureurs. -- Maria Montessori -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120112111030.ga2...@alphonse.loria.fr