Rockbox General > Rockbox General Discussion
Setup Multiple Devices the same?
bluebrother:
--- Quote from: CharlieSummers on November 24, 2011, 01:48:49 PM ---Yes, I know. If you continue reading that same paragraph, you'll note I expanded, "Also, the setup is already accomplished on one of the players, so re-downloading and extracting the themes I've already installed to the 'master' device seems an unnecessary step."
--- End quote ---
It might be unnecessary but downloading a couple of kiB is for sure way faster than (a) discussing the issue for hours and (b) writing a script to do the trick for you.
There's also no need to do the unzipping manually, just create a "themes only" installation to any FAT32 drive that does not contain Rockbox (it doesn't need to be an actual player). Then copy the resulting .rockbox folder on top of each player.
If you want to write a script you can parse rbutil.ini, which contains all installed files and their version / timestamp values. Just ignore the values and grab the files that are present in the correct section. Should be pretty simple with a couple of lines Python / Perl / whatever.
CharlieSummers:
--- Quote from: bluebrother on November 24, 2011, 05:16:09 PM ---It might be unnecessary but downloading a couple of kiB is for sure way faster than (a) discussing the issue for hours and (b) writing a script to do the trick for you.
--- End quote ---
Downloading or not, I still need to write the shell script to do the copy efficiently (I know it's an anachronism, but in un*x I prefer using the console to X), and since I already have the master unit set up, it makes no sense to me to re-download or reinstall the themes that are already sitting there on the master device.
--- Quote from: bluebrother on November 24, 2011, 05:16:09 PM ---There's also no need to do the unzipping manually, just create a "themes only" installation to any FAT32 drive that does not contain Rockbox (it doesn't need to be an actual player). Then copy the resulting .rockbox folder on top of each player.
--- End quote ---
Or I could just copy the already-existing folders listed above (/backdrops/doom/fonts/icons/themes/wps) and .cfg file from the master device to any directory in the host computer's filesystem, and use a really simple shell script to copy that to the slaves. Which is the path I chose as noted in my previous posts.
But you're right, I am wasting considerable time typing about it, as frankly it takes more time to repeatedly explain the simple process I chose than the process itself takes - plug in the slave, wait for mount, type the script name (./rockconf since I'm not real imaginative) which before exiting umounts the device, and repeat as necessary, all from the console.
I initially asked if there was a simple existing way to bulk-install the same system configuration to multiple devices; it's clear from the responses there is not. This is why everyone who has responded has come up with some process outside the existing tools...I simply chose one that was a little less work than anyone else suggested.
So with my thanks to the responders, I'm finished with this.
Navigation
[0] Message Index
[*] Previous page
Go to full version