"./fakechroot geeqie_1.0-10_i386/geeqie_1.0-10_i386.u geeqie-standard"
should be:
"./fakechroot chroot geeqie_1.0-10_i386/geeqie_1.0-10_i386.u geeqie-standard"
As I said, geeqie_1.0-10_i386/geeqie_1.0-10_i386.u, being in the first spot, is being interpreted as the command to run.
My distro: I eat my own dog food, running KISS-5.0, all built and packaged from scratch. If you really wanna know how things work, you need to start with something like slackware or arch -normally installed to a hrad-disk without any initrd or any schnick-schnack. Once you understand the boot process fully, then study their installer which uses a pretty big initrd. Once you understand the difference in boot procedure, then you are qualified to start assembling your own from other peoples components -to make it do what you want. When 'what you want' is no longer with others' pieces, then you learn to build your own packages. It doesn't really matter what the package format is -the most important things will be the same, or nearly, from one pkg format to the next.
I've been rolling my own for several years now, and really like it because it takes the upgrade pressure off. The bad thing about arch or gentoo, in particular, is that you never get finished upgrading your system, so you never have any time to learn about other things -like what makes it tick and how to change that.
As for that getopts error, try playing around with the code in fakechroot which checks that -comment out the line 'getopts --version' and the normal options (the first set) and see if pups' getopt will work with the second set of options:
Code: Select all
#getopttest=`getopt --version`
#case $getopttest in
#getopt*)
# GNU getopt
#opts=`getopt -q -l lib: -l use-system-libs -l config-dir: -l environment -l version -l help -- +l:sc:e:vh "$@"`
# ;;
#*)
# POSIX getopt ?
opts=`getopt l:sc:e:vh "$@"`
# ;;
#esac
If you're gonna use fakechroot on pupish systems, then you'll need to fix it before distributing it, so that it works. Of course, simply changing the shebang works fine also, as we've seen.
Yes, expect different errors depending on which OS & variant is being used. In the case of puppy, this means 534 main versions with 12756 variants -each with its' own errors. LOL