summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Sbuild.hs
AgeCommit message (Collapse)Author
2017-08-01fix typesSean Whitton
2017-08-01add Sbuild.userConfig, at Joey's suggestionSean Whitton
2017-08-01drop --fail-on-broken-symlinks from sample .sbuildrcSean Whitton
Too many false positives.
2017-08-01drop $run_* from sample .sbuildrcSean Whitton
This is a config file snippet, not a full config, and the user probably wants to set $run_* variables themselves.
2017-07-15add installing lintian to sample sbuild configSean Whitton
If the user has installed the sample .sbuildrc in /root, sbuild-createchroot will error out unless lintian is installed.
2017-07-15fix ordering of arguments to piuparts in sample .sbuildrcSean Whitton
2017-07-15assume cleanup property did nothingSean Whitton
2017-07-15ensure that cleaning up doesn't fail if nothing to clean upSean Whitton
2017-07-15factor out a 'return'Sean Whitton
2017-07-15commentSean Whitton
2017-07-15tweak sbuild haddockSean Whitton
Don't suggest enabling an apt cacher by running propellor inside the schroot, since we now have Apt.proxy.
2017-07-15sbuild properties set up an apt cache or use existing apt proxySean Whitton
2017-07-15drop Apt.piupartsConf, Apt.piupartsConfFor, Apt.shareAptCacheSean Whitton
Migrating to use apt-cacher-ng instead of bind mounting the apt cache. This will permit multiple builds to run simultaneously.
2017-05-15Removed dependency on MissingH, instead depends on split and hashable.Joey Hess
MissingH is a heavy dependency, which pulls in parsec and a bunch of stuff. So eliminating it makes propellor easier to install and less likely to fail to build. changesFileContent now uses hashable's hash. This may not be stable across upgrades, I'm not sure -- but it's surely ok here, as the hash is not stored. socketFile also uses hash. I *think* this is ok, even if it's not stable. If it's not stable, an upgrade might make propellor hash a hostname to a different number, but with 9 digets of number in use, the chances of a collision are small. In any case, I've opned a bug report asking for the stability to be documented, and I think it's intended to be stable, only the documentation is bad. NB: I have not checked that the arch linux and freebsd packages for the new deps, that Propellor.Bootstrap lists, are the right names or even exist. Since propellor depends on hashable, it could be changed to use unordered-containers, rather than containers, which would be faster and perhaps less deps too. This commit was sponsored by Alexander Thompson on Patreon.
2017-03-19shorten names of mirror propertiesSean Whitton
2017-03-19sbuild: use Apt.withHostMirrorSean Whitton
2017-02-26use ConfigurableValue where applicableJoey Hess
* Removed fromPort (use val instead). (API change) * Removed several Show instances that were only used for generating configuration, replacing with ConfigurableValue instances. (API change) It's somewhat annoying that IsInfo requires a Show instance. That's needed to be able to display Info in ghci, but some non-derived Show instances had to be kept to support that.
2017-02-13deb.debian.orgJoey Hess
* Apt: Removed the mirrors.kernel.org line from stdSourcesList etc. The mirror CDN has a new implementation that should avoid the problems with httpredir that made an extra mirror sometimes be needed. * Switch Debian CDN address to deb.debian.org. httpredir.debian.org points to the same IPs as deb.debian.org now, so this shouldn't change anything except to use the now preferred name.
2016-09-05Sbuild.built: ccache usage now toggleableSean Whitton
2016-09-05piupartsConf{,For} doesn't require Sbuild.builtSean Whitton
Instead, do nothing if the corresponding schroot config does not yet exist. This change is needed because I intend to introduce an additional parameter to Sbuild.built{,For} in a subsequent commit, and it would overcomplicate things to make that an item of Info.
2016-09-05add UNRELEASED-arch-piuparts alias for dgitSean Whitton
2016-09-05factor out code to check host archSean Whitton
2016-09-05add UNRELEASED-arch-sbuild alias for dgitSean Whitton
2016-09-05update Sbuild.piupartsConf docstringSean Whitton
2016-09-05schroot config additions now ensured on each spinSean Whitton
Previously, they were only ensured when first building the schroot.
2016-09-05fix sbuild haddock formattingSean Whitton
2016-08-25update Sbuild docs again re. building for stretchSean Whitton
Building for stretch requires newer sbuild.
2016-08-25update example usage of System typeSean Whitton
2016-08-25fix documentation of recent sbuild changesSean Whitton
2016-08-25don't require Sbuild.keypairGeneratedSean Whitton
This is only needed for building a chroot for squeeze or older, but the code in Sbuild.built fails to configure a squeeze chroot: eatmydata is not available, and there are probably other assumptions that break.
2016-08-25explain how to customise the sbuild chrootSean Whitton
2016-08-25TODOSean Whitton
2016-08-24update sample config for sbuild 0.71.0Sean Whitton
2016-07-27speed up & document killing running rngdSean Whitton
2016-07-24silence kill when rngd not already runningSean Whitton
2016-07-24process management in keypairInsecurelyGeneratedSean Whitton
This makes Sbuild.keypairInsecurelyGenerated more robust, by handling several conditions that could cause it to fail.
2016-06-21Revert "docs on property ordering"Sean Whitton
This reverts commit cde491e5767caca7bf10bca16d625e713ba24a9b.
2016-06-19docs on property orderingSean Whitton
2016-06-19Sbuild.built conditionally reboots to new kernelSean Whitton
2016-06-19shorten haddock hyperlinksSean Whitton
2016-06-19further simplify #792100 workaroundSean Whitton
2016-06-19improve Sbuild.hs haddockSean Whitton
- Suggest install autopkgtest to get adt-run(1) - Easier to understand ordering of functions - Fix hyperlinks to functions - Using @ around paths containing slashes gets interpreted wrongly
2016-06-19simplify #792100 workaroundSean Whitton
2016-06-19when on Jessie, work around #792100Sean Whitton
2016-06-19ensure that sbuild aliases line not duplicatedSean Whitton
2016-06-13add DebianKernel datatypeFélix Sipma
(cherry picked from commit 3590a1241580ddcdd153e2619a3c02ce18a8db8c but without the changes to src/Propellor/Precompiled.hs)
2016-06-13convert Sbuild to new Architecture typeFélix Sipma
(cherry picked from commit e44ea6c16d84a8f369ae4ca27ff862f8f9844819)
2016-06-12tidy Sbuild.keypairInsecurelyGeneratedSean Whitton
2016-06-12Sbuild.keypairInsecurelyGeneratedSean Whitton
2016-05-23copy sample piuparts conf docSean Whitton