> > I started adapting simple-cdd to support LOCAL and LOCALDEBS in CONF.sh. > I managed to build a CD, but it seems I'm doing some things wrong: ok.. > +# TODO: this is something that should have been handled by debian-cd, right? > +if [ "$LOCAL" = 1 ] && [ -n "$LOCALDEBS" ]; then > + cp -a "$LOCALDEBS/" "$MIRROR/" > +fi > + is this a feature of debian-cd that's broken, or a new feature to add to simple-cdd ? > @@ -194,6 +199,12 @@ > extras_dir="$extras_base_dir/simple-cdd" > mkdir -p "$extras_dir" > > +if [ -n "$EXTRA_EXTRAS" ] && [ -d "$simple_cdd_dir/$EXTRA_EXTRAS" ]; then > + echo "Copying extra disk contents from $simple_cdd_dir/$EXTRA_EXTRAS" > + # I want to allow copying files from .disk as well: > + (shopt -s dotglob; cp -a "$simple_cdd_dir/$EXTRA_EXTRAS"/* "$extras_base_dir"/) > +fi > + what is this doing that isn't already handled by the "all_extras" variable? > The second part is the tar fix I mentioned. i fixed that in subversion... after you mentioned it. > The third part the the extra local directory: I want to add an extra > txt file to the root of the CD and some files to the tools/ > subdirectory. hmmm... don't know the best way to do this.. > The first part, though, is my current work around not being able to get > the local debs into the CD. It seems some of you use simple-cdd to > produce a CD with some locally-created packages. So I ask once again: > HOW????? the simplest, though clumsiest way to do so, is simply to add some files in the "extras" dir, which will get installed into /usr/local/simple-cdd, and then add a post-install script to profiles/default.preseed in the base-config/late_command to install your packages. this is obviously not the ideal way to do it, and i'll try to include a simpler mechanism in a future release... the original goal of simple-cdd was to create a debian-installer CD with debconf pre-seeding and standard debian packages from the main archives, with a few profiles. the next goal will probably be figuring out simple ways to include additional packages. :) at the moment i don't have the time, network or computers to test it with. :( live well, vagrant
Attachment:
signature.asc
Description: Digital signature