[Helidelinux-devel] Re: Helide linux
Status: Abandoned
Brought to you by:
rveen
From: Hui Z. <zh...@wa...> - 2004-03-08 19:48:02
|
On Mon, Mar 08, 2004 at 01:30:46PM -0500, Bennett Todd wrote: > bpmbuild filename > > then bpmbuild would use wget to download the sources, then it'd > unpack them, build them, and prepare the binary package. The binary > package would have all the files that were populated by that "make > install", plus these three: How do you determine the files created by make install, install-log or with an empty prefix directory? > > /var/lib/bpm/nmap-3.50/spec > /var/lib/bpm/nmap-3.50/src/nmap-3.50.tar.bz2 > /var/lib/bpm/nmap-3.50/sha1 > > The spec file is a copy of the file you fed to bpmbuild, and the > src/nmap-3.50.tar.bz2 is a copy of what wget pulled down. The sha1 > is the output of find ... -type f|xargs openssl sha1, a manifest > with crypto checksums. Why you put both the spec and src files and the binary files into the bpm packages? IMHO, if one want to install binary, they don't need spec and src, and vice versa. Why don't you distribute two sets of packages, one only with specs or maybe sources as well for installation from sources or just preparing the binary packages. The other are binary only and install with bzip2 and cpio? Am I right if I am lazy enough I can just obtain the binary part and install a system? > Yup. My current installer is > > bzip2 -d <pkg.cpio.bz2|(cd / && cpio -idm) > > > what's the major difference from rpm? > > There's little in common. Rpm just includes the binary package and a spec for more versatile installation and configuration and dependency tracking. The current bpm is simpler because it uses no-custom installation and no-configuration and no-dependency (I haven't read your actual implementation yet, these are my understanding from your description, correct me mercilessly if I am wrong and accept my appology). Have you considered using rpm with extremely simple installation spec for the binary only distribution? > > bpm's spec files are vastly simpler. > > bpm binary packages are true cpio.bz2s --- no special tools required > to install them. > > The bpm database in /var/lib/bpm/ is simple text files, not the What does it look like? How did you populate the data base if you only install with bzp2|cpio? > opaque binary databases built with the non-free, proprietary > Berkeley DB, that rpm puts into /var/lib/rpm/. > That is a rightful reason. -Hui |