On 06/12/14 01:20 PM, Iain R. Learmonth wrote: > It should just be: > > * git clone > * make dist > * git-buildpackage > * cp *.deb > > Which I think could be handled by auto/config just fine.
It's a start. Let me suggest the output of this should be a list of packages, not a pile of debs that are all installed. Also, if you had a 'hamradio-desktop' metapackage pointing at everything needed to make a complete desktop with hamradio blend packages, you could merely do: lb config echo hamradio-desktop config/packages-lists/hamradio-desktop.list.chroot lb build The metapackage would be able to take advantage of the dependencies system to make something that could be flexible for building variants (e.g. for different architectures, or different preferred desktops) in a way a pile of debs is not. So for the stuff to go into auto/config to build from git, I was thinking more along the lines of doing *just* enough to pull the top-level metapackage and its deps from the local file repo and nothing more, making the three steps I mentioned above work just as well with the end result as if the hamradio* packages had already entered the archive. So in auto/config, something like: * git clone * make dist * git-buildpackage * apt-ftparchive * echo deb file:... > config/archives/hamradio.list.chroot A slight wrinkle is the repo needs to be something within the chroot, and the chroot dir itself isn't created until later, so I'll have to think how that can be done cleanly (hook + bind mount? http: would've been easier, but I didn't want to complicate things by assuming a web server is present on the build host). > Yep, people have been playing with the ISO I built and have been telling me > that the ham radio software works, but have also pointed out bits that > don't, like things looking for /dev/dsp when it doesn't exist. > > The ISO I built has now been downloaded over 300 times. > Nice! Ben -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]
