|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
build-simple-cdd with --conf myconf.conf and --profiles myprofile doesn't seem to workcommand line
build-simple-cdd --profiles-udeb-dist sid --conf myconf.conf --profiles myprofile. I know that either --conf ... or --profiles myprofile, when selected alone will work but not together. Is this allowed? if not how to id do the --profiles part in myconf.conf. Also, does the all_extras='"" switch work as described in the advanced sample for the configuration? I've also tried putting 'myprofile' in profiles="myprofile". Any help would be greatly appreciated. The specific things in my profile I created that I need included in the .conf file if simple-cdd can't handle --conf and --profiles is .preseed, .packages, .postinst myconf is being read because simple-cdd pulls from ftp.egr.msu.edu as directed only in the myconf.conf myconf.conf # simple-cdd.conf minimal configuration file # Note: this is only an example, it is recommended to only add configuration # values as you need them. # Profiles to include on the CD profiles="" #profiles="x-basic ltsp" # set default locale locale="en_US" # Mirror tools # mirror_tools="wget reprepro" # Mirror variables server="ftp.egr.msu.edu" debian_mirror="http://$server/debian/" wget_debian_mirror="ftp://$server/debian/" rsync_debian_mirror="$server::debian" # Mirror for security updates # Expects security updates to be in dists/DEBIAN_DIST/updates security_mirror="http://security.debian.org/" # Extra mirror # May only work when using reprepro as mirror tool #debian_mirror_extra="http://example.com/debian/" # Components to include #mirror_components="main contrib non-free" # Extra files to include onto the CD # These will get copied to /simple-cdd dir on the CD all_extras="" # Generate a simple package repository on the CD with the debs cited # Please insert full paths. local_packages="" -- To UNSUBSCRIBE, email to debian-custom-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: build-simple-cdd with --conf myconf.conf and --profiles myprofile doesn't seem to workFound a solution! Place the myprofile.packages, myprofile.preseed
etc... in /usr/share/simple-cdd/profiles directory. put myprofile.conf in my-simple-cdd where you run the command from. Add files you want copied over to the image in all_extras="". Add your profile name to profiles="". Run like build-simple-cdd --profiles-udeb-dist sid --conf myprofile.conf. Only tried this with one file in the all_extras="/complete/path/to/yourfile". But it included it in the dvd image as /simple-cdd/myfile. Also under the same directory is the myprofile.preseed, myprofile.postinst..... On Tue, Feb 10, 2009 at 2:43 PM, Danny Brown <danbrwn@...> wrote: > command line > build-simple-cdd --profiles-udeb-dist sid --conf myconf.conf > --profiles myprofile. I know that either --conf ... or --profiles > myprofile, when selected alone will work but not together. Is this > allowed? if not how to id do the --profiles part in myconf.conf. Also, > does the all_extras='"" switch work as described in the advanced > sample for the configuration? I've also tried putting 'myprofile' in > profiles="myprofile". Any help would be greatly appreciated. The > specific things in my profile I created that I need included in the > .conf file if simple-cdd can't handle --conf and --profiles is > .preseed, .packages, .postinst > > myconf is being read because simple-cdd pulls from ftp.egr.msu.edu as > directed only in the myconf.conf > > myconf.conf > > # simple-cdd.conf minimal configuration file > > # Note: this is only an example, it is recommended to only add configuration > # values as you need them. > > # Profiles to include on the CD > profiles="" > #profiles="x-basic ltsp" > > # set default locale > locale="en_US" > > # Mirror tools > # mirror_tools="wget reprepro" > > # Mirror variables > server="ftp.egr.msu.edu" > debian_mirror="http://$server/debian/" > wget_debian_mirror="ftp://$server/debian/" > rsync_debian_mirror="$server::debian" > > # Mirror for security updates > # Expects security updates to be in dists/DEBIAN_DIST/updates > security_mirror="http://security.debian.org/" > > # Extra mirror > # May only work when using reprepro as mirror tool > #debian_mirror_extra="http://example.com/debian/" > > # Components to include > #mirror_components="main contrib non-free" > > # Extra files to include onto the CD > # These will get copied to /simple-cdd dir on the CD > all_extras="" > > # Generate a simple package repository on the CD with the debs cited > # Please insert full paths. > local_packages="" > -- To UNSUBSCRIBE, email to debian-custom-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: build-simple-cdd with --conf myconf.conf and --profiles myprofile doesn't seem to workOn Tue, Feb 10, 2009 at 02:43:18PM -0600, Danny Brown wrote:
> command line > build-simple-cdd --profiles-udeb-dist sid --conf myconf.conf > --profiles myprofile. I know that either --conf ... or --profiles > myprofile, when selected alone will work but not together. it is because the contents of your myconf.conf override values specified on the commandline: > # Profiles to include on the CD > profiles="" > #profiles="x-basic ltsp" this resents the profiles value to empty. so it will then ignore the profile you selected on the commandline for some, if not all operations. i'd recommend just specifying it in the working directory: mkdir -p my-simple-cdd/profiles cd my-simple-cdd # you could use an editor rather than multiple calls to echo, of course: echo locale=en_US >> profiles/myprofile.conf echo server=ftp.egr.msu.edu >> profiles/myprofile.conf echo debian_mirror=http://$server/debian/ >> profiles/myprofile.conf echo wget_debian_mirror=ftp://$server/debian/ >> profiles/myprofile.conf # you can leave this out if you're building a lenny system: # echo profiles_udeb_dist=sid >> profiles/myprofile.conf # echo all_extras=/full/path/to/some/file >> profiles/myprofile.conf # drop all your other profiles/myprofile.* in profiles/ build-simple-cdd --profiles myprofile this keeps your commandline shorter, keeps non-packaged stuff in your working directory rather than in /usr/share/simple-cdd, and keeps the configuration all in one place. good luck! live well, vagrant -- To UNSUBSCRIBE, email to debian-custom-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |