chuckr
Still Fresh
I have a prejudice in the installation of packages which are outside of an OS'es core, that I like the core to center around "/", but I like extra stuff, like games, word processing, etc to fit into a /usr/local hierarchy. I picked this prejudice up from my BSD experience (they all seem to have that same prejudice, although they allow you to choose). I don't want to argue this, it's a personal bias, but I want to learn more about the opkg configuration file usage/location/format, so I can get it to work around a /usr/local base. It looks like I could definitely get this by adding a command line flag to every one of my opkg commands, but I would very much rather see if I could learn enough about the placing and format of opkg config files so that /usr/local would work, and just me forgetting to add in a flag wouldn't screw things up.
I'm aware that another way to do this would be to write a script wrapper around opkg, but I want to try, first, and see if I can get it to work via opkg's config. If opkg was better documented, I wouldn't bother this list, but I can't (using Google) find such documentation, so I need to see if such expertise exists here. Basically, I want to know where I would place such a config file so that it would work with /usr/local in my path, but opkg is currently installed in the "/" path, and I wouldn't change that (to me, opkg is part of the base). I also need to know how to write the config file in general, what a comment line looks like, and anythin g else that occurs to anyone, if something might be fatally wrong with my chosen method getting to /usr/local.
Remember, I have no intention at all of moving any of the base system, at all, it's only the optional stuff I want moved. That gives me a lot of flexibility that you can't have without a /usr/local. If anyone's tried this and knows of any problems I'll face that I might not see, I'd appreciate a heads-up. Being that I've been no part of the Op team for development, I'm not suggesting that anyone else consider doing this, it might be a fatal trick.
I'm aware that another way to do this would be to write a script wrapper around opkg, but I want to try, first, and see if I can get it to work via opkg's config. If opkg was better documented, I wouldn't bother this list, but I can't (using Google) find such documentation, so I need to see if such expertise exists here. Basically, I want to know where I would place such a config file so that it would work with /usr/local in my path, but opkg is currently installed in the "/" path, and I wouldn't change that (to me, opkg is part of the base). I also need to know how to write the config file in general, what a comment line looks like, and anythin g else that occurs to anyone, if something might be fatally wrong with my chosen method getting to /usr/local.
Remember, I have no intention at all of moving any of the base system, at all, it's only the optional stuff I want moved. That gives me a lot of flexibility that you can't have without a /usr/local. If anyone's tried this and knows of any problems I'll face that I might not see, I'd appreciate a heads-up. Being that I've been no part of the Op team for development, I'm not suggesting that anyone else consider doing this, it might be a fatal trick.