Commit Graph

11 Commits

Author SHA1 Message Date
Olaf Meeuwissen 11e0bd83d4 Build based on symbolic suite name
This allows for tagging on that as well.  The alias is gotten from the
/etc/devuan_version file.  Only stable is tagged as "latest" so people
get something that ought to work by default.
2017-08-26 21:18:09 +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 852c04930d Pass suite as a command-line argument for builds and derived images
This sets the stage for building multiple suites.  Note that migration
from Debian is not expected to work for multiple Devuan suites.
2017-08-19 18:02:33 +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 492d0851bb Add a default CMD to the base image 2017-08-19 15:08:04 +09:00
Olaf Meeuwissen c3b30f9c13 Refactored CI setup and image naming 2017-08-19 14:27:34 +09:00
Olaf Meeuwissen d92fe56e7b Remove unneeded files from the image
Keeping out the `/dev/` tree is done when tarring things up so that
the `bootstrap.sh` script will have access to devices at run-time.
This approach also protects against removing devices that have been
mounted into the chroot, if any (e.g. devpts).
2017-08-19 14:27:34 +09:00
Olaf Meeuwissen 280e7f4f56 Remove shell option not supported by CI build environment 2017-08-17 13:08:51 +09:00
Olaf Meeuwissen efe79ec5dd Drop non-portable shell option 2017-08-17 13:02:51 +09:00
Olaf Meeuwissen 58d348885b Migrate build steps to shell scripts
This should make it a bit easier to test in a development setup.  It
may also simplify the scripting a little.
2017-08-17 12:30:11 +09:00