[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bandwidth Manager CDD



On Thu, Apr 28, 2005 at 08:18:50AM +0700, Rahmat M. Samik-Ibrahim wrote:

> ****************************************************************
> * As I have written previously, I am interested to fill/hack a *
> * CDROM with *whatever* package I like; plus a decent          *
> * installer/emergency CD.                                      *
> ****************************************************************

Actually Morphix is a nice infrastructure for that.

> 

> Currently, one the my obstacle is "How to sign the "Release.gpg" 
> file.

Here are some parts from my current makefile (copied manually, so
replace spaces with tabs). The second target is probably relevant:

$(RELEASE_FILE): $(UDEB_PACKAGES_FILE) $(DEB_PACKAGES_FILE) $(RELEASE_TEMPLATE)
ifneq ($(signed_release_file),1)
        # we make an unsigned release. Make sure no signature was left:
        rm -f $(RELEASE_SIGNED)
endif
        cat $(RELEASE_TEMPLATE) >$(INST_DIR)/dists/sarge/Release
        apt-ftparchive release $(INST_DIR)/dists/sarge \
          >>$(INST_DIR)/dists/sarge/Release

$(RELEASE_SIGNED): $(RELEASE_FILE)
        # TODO: find an option of gpg to overwrite existing output file
        rm -f $@
        gpg --sign -ba --default-key support@xorcom.com -o $@ $^ 

the release template is:

Origin: Debian
Label: Debian
Suite: testing
Codename: sarge
Date: Thu, 09 Sep 2004 19:35:36 UTC
Architectures: i386
Components: main contrib

(probably should have been edited more carefully)

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen@xorcom.com  http://www.xorcom.com



Reply to: