Commit graph

298 commits

Author SHA1 Message Date
Anders Ingemann
f6e4903a8e Update the kernel image after package installation 2015-04-16 22:21:43 +02:00
Anders Ingemann
ac7e32d35e Preserve stacktraces when reraising exceptions 2015-04-16 22:21:43 +02:00
Anders Ingemann
b67b174eb5 Extend build server logging when downloading an image 2015-04-16 22:21:43 +02:00
Anders Ingemann
149db4c989 Add new task: DeterminKernelVersion, this can potentially fix a lot of small problems 2015-04-16 22:21:43 +02:00
Anders Ingemann
e1946fcb68 Simpler check for whether to create image or use image in prebootstrapped plugin 2015-04-16 22:21:42 +02:00
Anders Ingemann
eaf8f8ea0f Remove leftover pprint 2015-04-16 22:21:42 +02:00
Anders Ingemann
5383811ecc Allow serialization of PartitionGap class 2015-04-16 22:21:42 +02:00
Anders Ingemann
16eaade09a Fix sectors/bytes type problem with single partition 2015-04-16 22:21:42 +02:00
Anders Ingemann
f43e2480a5 Allow serialization of Sectors class 2015-04-16 22:21:42 +02:00
Anders Ingemann
b537f2d987 Remove __abs__ from bytes and sectors, one should convert to int instead 2015-04-16 22:21:42 +02:00
Anders Ingemann
7f84e405f0 Cast to int before comparing in ec2 validate_manifest() 2015-04-16 22:21:42 +02:00
Anders Ingemann
7310129f4e Disable getty processes on jessie through logind config 2015-04-16 22:21:42 +02:00
Anders Ingemann
a476248ed6 Partition volumes by sectors instead of bytes
This allows for finer grained control over the partition sizes and gaps
2015-04-16 22:21:13 +02:00
Anders Ingemann
3ff1c57980 Don't require qemu for raw volumes, use truncate instead 2015-04-16 22:21:13 +02:00
Anders Ingemann
9a6975ce7d Add new Sectors unit, enhance Bytes unit, add unit tests for both 2015-04-16 22:21:12 +02:00
Anders Ingemann
456a68ea25 Remove unneccessary import 2015-04-16 22:21:12 +02:00
Anders Ingemann
7b77b484f2 Fix #179 2015-04-16 22:21:12 +02:00
Anders Ingemann
5823c9119b Split grub and extlinux installs into separate modules 2015-04-16 22:21:12 +02:00
Anders Ingemann
b6976eb6e9 Lowercase L for InstallExlinux taskname 2015-04-16 22:18:58 +02:00
Anders Ingemann
2aebc870a4 Fix extlinux config for squeeze 2015-04-16 22:18:57 +02:00
Anders Ingemann
81060b2439 5ffbdc4 made no sense, apt_proxy was already a build setting 2015-04-16 22:18:57 +02:00
Anders Ingemann
70c282e804 Add log statements and remove unused SSHRPCManager 2015-04-16 22:18:57 +02:00
Anders Ingemann
58d66fea68 Make extlinux output boot messages to the serial console (fixes #136) 2015-04-16 22:18:57 +02:00
Anders Ingemann
200c5086e5 Extend sed_i to raise Exceptions when the expected amount of replacements is not met 2015-04-16 22:15:21 +02:00
Anders Ingemann
8090d3c5bc Log to file on the remote 2015-04-16 22:15:20 +02:00
Anders Ingemann
e8d6e7f602 factor AbstractPartition.Mount out into separate module and make it serializable 2015-04-16 22:15:20 +02:00
Anders Ingemann
e9137ac172 Make serialization a lot more easy to handle 2015-04-16 22:15:20 +02:00
Anders Ingemann
a8e5c2d6e4 Fix problem with read rights on remote build machine 2015-04-16 22:15:20 +02:00
Anders Ingemann
09fee291a8 Fix bugs in remote build server 2015-04-16 22:15:20 +02:00
Anders Ingemann
ab18516f79 Support SIGINT over the network 2015-04-16 22:15:20 +02:00
Anders Ingemann
2b6fefd789 Fix serialization of exceptions 2015-04-16 22:15:20 +02:00
Anders Ingemann
056d279b65 Read import in base.__init__ 2015-04-16 22:15:19 +02:00
Anders Ingemann
bc8967529d Move remote log stuff back into remote module 2015-04-16 22:15:19 +02:00
Anders Ingemann
ece717a79f Fix bugs when picking the build server 2015-04-16 22:15:19 +02:00
Anders Ingemann
cee05e3fd0 Refactor... 2015-04-16 22:15:19 +02:00
Anders Ingemann
3d38ce04ef Move build_servers module into bootstrapvz 2015-04-16 22:15:19 +02:00
Anders Ingemann
909e5cee46 Put remote module into pkg root 2015-04-16 22:15:19 +02:00
Anders Ingemann
209651ef38 Dry run working in tests 2015-04-16 22:15:19 +02:00
Anders Ingemann
a7a3161d66 Require Pyro4 >= 4.30 2015-04-16 22:15:19 +02:00
Anders Ingemann
c5bc45218e Fix documentation 2015-04-16 22:15:19 +02:00
Anders Ingemann
65b9e10ce3 VirtualBox integration 2015-04-16 22:15:19 +02:00
Anders Ingemann
31c453070f Add log source to log messages 2015-04-16 22:15:18 +02:00
Anders Ingemann
0f4c08e51d Refactor, logging, comments 2015-04-16 22:15:18 +02:00
Anders Ingemann
08976ffe07 Remove unused import 2015-04-16 22:15:18 +02:00
Anders Ingemann
1ddc0fbc32 Add comment about random ports 2015-04-16 22:15:18 +02:00
Anders Ingemann
f8d79f06e3 More graceful CallbackServer shutdown 2015-04-16 22:15:18 +02:00
Anders Ingemann
d88d73c7f1 Allow listening on different ports on remote and local 2015-04-16 22:15:18 +02:00
Anders Ingemann
fd07954764 Remove manual deserialization 2015-04-16 22:15:18 +02:00
Anders Ingemann
ed222d579f Little refactor 2015-04-16 22:15:17 +02:00
Anders Ingemann
3542406b91 Fix (de-)serialization 2015-04-16 22:15:17 +02:00