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

sbuild and bind mounts


(please Cc)

in the Qt/KDE Team we use a script for test-building our groups of
packages. Those groups need to be build in tiers (levels) so that later
packages have access to the build of earlier levels.
The script we currently use is based on cowbuilder with --bindmounts
to get the package repo of hitherto built packages into the build
process, and hook scripts to active the respective apt sources line.

Recently I started using btrfs snapshots with sbuild (and eatmydata)
because it is sooo much faster than cowbuilder, so I would like to add
sbuild support to our tier-build script.

My questions are how to achieve:
- bind-mount directories into the sbuild chroot
- add lines to /etc/apt/sources.list
before the build process starts?

Thanks for any suggestion.



PREINING Norbert                              https://www.preining.info
Fujitsu Research Labs  +  IFMGA Guide + TU Wien + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

Reply to: