Hi On Sun, May 01, 2005 at 07:15:04AM +0300, Tzafrir Cohen wrote: > On Thu, Apr 28, 2005 at 09:55:23AM +0300, Tzafrir Cohen wrote: > > > > I did have bad experince with debian-cd and with debpartial. Add that to > > the fact that simple-cdd is not yet in Sarge and it depends on a package > > that will not be in Sarge (debpartial-mirror) and you'll understand why > > I never tried it so far. > > > > I'm playing with it now. The first stage is , naturally, to package it. > > Both packages are currently avilable from http://tzafrir.org.il/rapid/ . > > I'll see how it goes. > > After some more playing: > > 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: --- /usr/share/simple-cdd/build-simple-cdd 2005-05-04 00:10:22.000000000 +0300 +++ build-simple-cdd 2005-05-07 00:21:03.000000000 +0300 @@ -178,6 +178,11 @@ echo simple-cdd: bootable make bootable +# TODO: this is something that should have been handled by debian-cd, right? +if [ "$LOCAL" = 1 ] && [ -n "$LOCALDEBS" ]; then + cp -a "$LOCALDEBS/" "$MIRROR/" +fi + echo simple-cdd: packages make packages @@ -186,7 +191,7 @@ # make a backup of the extras directory, just in case if [ -n "$extras_base_dir" ] && [ -d "$extras_base_dir" ]; then echo "backing up $extras_base_dir: old.extras.tgz" - tar cpf $simple_cdd_dir/old.extras.tgz $extras_base_dir/ + tar czpf $simple_cdd_dir/old.extras.tgz $extras_base_dir/ echo "purging $extras_base_dir" rm -rf $extras_base_dir fi @@ -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 + for f in simple-cdd-profiles simple-cdd-packages simple-cdd-preseed ; do all_extras="$all_extras $simple_cdd_dir/$f" done The second part is the tar fix I mentioned. 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. 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????? -- Tzafrir Cohen icq#16849755 +972-50-7952406 [EMAIL PROTECTED] http://www.xorcom.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

