Commit Graph

21 Commits

Author SHA1 Message Date
Olaf Meeuwissen 05bb6f8e95 Fix test for debootstrap suite script 2018-05-23 05:28:45 +09:00
Olaf Meeuwissen db022a29bb Add build support for `beowulf` 2018-05-22 22:13:43 +09:00
Olaf Meeuwissen 397fddc4e5 Put every suite in its own rootfs. Re #3
This makes it easier to build suites in parallel from a local checkout
and/or keep the rootfs's of local builds around for investigation.
2017-10-23 20:44:25 +09:00
Olaf Meeuwissen f4d9f5430a Use release code names thoughout and exclusively. Fixes #8 2017-10-22 17:15:02 +09:00
Olaf Meeuwissen e0e4d09ed4 Get in the habit of cleaning up after `apt-get` invocations 2017-10-22 16:05:44 +09:00
Olaf Meeuwissen 48da58f6bd Fix typo 2017-10-14 20:12:24 +09:00
Olaf Meeuwissen d7a45d22af Replace suite name with alias in sources.list
This keeps the image at the same major release even in case of later
stable releases.
2017-08-28 20:28:49 +09:00
Olaf Meeuwissen 651ed7d1d5 Work around a documented bug in Devuan jessie's debootstrap
See http://bugs.devuan.org//cgi/bugreport.cgi?bug=115
2017-08-26 22:29:11 +09:00
Olaf Meeuwissen 813cb4e823 Put root file system value in a variable
It is passed to bootstrap.sh to allow for defining it in a *single*
location.
2017-08-26 20:58:10 +09:00
Olaf Meeuwissen 6a1214b6fc Parameterize build on Devuan suite name 2017-08-19 17:53:59 +09:00
Olaf Meeuwissen e3741f20dd Use a more capable tar implementation
The GitLab CI build environment provides a BusyBox version.
2017-08-19 15:26:25 +09:00
Olaf Meeuwissen a644fe7a94 Silence error during purge of unneeded packages 2017-08-19 14:27:34 +09:00
Olaf Meeuwissen 489dd2ab2d Provide a bit of feedback running customization scripts 2017-08-18 22:55:46 +09:00
Olaf Meeuwissen 6dabc61089 Remove automatically installed packages whenever possible
This marks all packages installed by `debootstrap` as automatic and
sets up policy for pruning purposes before purging unneeded ones.
The devuan-keyring is explicitly kept.
2017-08-18 22:55:16 +09:00
Olaf Meeuwissen 5814d5ec82 Fix ownership issues of custom scripts 2017-08-17 17:13:35 +09:00
Olaf Meeuwissen 322f6c275e Decouple rootfs value from docker command-line invocation 2017-08-17 11:58:20 +09:00
Olaf Meeuwissen f6a4a08b69 Make bootstrap script more strict
It now exits on the first error and requires variables to be set.
2017-08-17 11:52:29 +09:00
Olaf Meeuwissen 910f6976dc Tweak debootstrap options
This forces signature checking of Release files and prevents symlinks
for `/{bin,sbin,lib}` to `/usr`.
2017-08-17 11:49:13 +09:00
Olaf Meeuwissen 0fa8b8505b Keep "flab" out of the image
This integrates a custom script into the APT configuration.  That same
script is also run during the bootstrap.  A second custom script takes
care of the integration and removes itself when done.

Complements 13f84159.
2017-08-17 11:36:04 +09:00
Olaf Meeuwissen 13f84159bd Trim some very trivial "flab" 2017-08-11 00:24:11 +09:00
Olaf Meeuwissen 052b61e1ed Add a script to debootstrap Devuan 2017-08-09 21:25:20 +09:00