Commit Graph

  • cbcb6dca9d Update name of legacy boot flag for documentation purposes Ikey Doherty 2016-06-16 17:48:02 +01:00
  • ab76f0efd8 Expose function for getting the parent disk (needed for syslinux install) Ikey Doherty 2016-06-16 16:43:12 +01:00
  • f2ed6a76fb Rename function for accuracy Ikey Doherty 2016-06-16 16:39:59 +01:00
  • c6138d0337 Make GPT requirement crystal clear Ikey Doherty 2016-06-16 16:30:02 +01:00
  • 94c4cd0a03 Implement the get_legacy_boot_device function Ikey Doherty 2016-06-16 16:17:53 +01:00
  • e2a791e4ff Begin deduplication to enable syslinux Ikey Doherty 2016-06-16 14:33:40 +01:00
  • aa2caef4ce Fix typo Ikey Doherty 2016-06-15 15:30:31 +01:00
  • 03cb4872af Use consistent unused macro for grep purposes Ikey Doherty 2016-06-15 15:28:33 +01:00
  • b35db73d4f Add the skeleton for the Syslinux bootloader Ikey Doherty 2016-06-15 15:20:25 +01:00
  • 2d97cdc358 Nuke the template code, not going to use it, taking too long to perfect Ikey Doherty 2016-06-15 15:03:57 +01:00
  • a57b4be206 Add the basic child test Ikey Doherty 2016-06-15 14:52:25 +01:00
  • b16339575a Include list stringification test Ikey Doherty 2016-06-15 14:39:27 +01:00
  • dcaf76dfa3 Use asserts Ikey Doherty 2016-06-15 14:37:51 +01:00
  • ab06832db6 Add simple list testing Ikey Doherty 2016-06-15 14:37:38 +01:00
  • d2d7e36998 Add stringified boolean Ikey Doherty 2016-06-15 14:26:28 +01:00
  • eefc7985af Add further template testing Ikey Doherty 2016-06-15 14:23:51 +01:00
  • 6cfb47a6cd tests: Flesh out the template testing with simple key strategy Ikey Doherty 2016-06-15 13:04:00 +01:00
  • c1a5219e3a nica: Sync with upstream commit a8b1f1ee423f386d1ff676d4173ebd83a64656de Ikey Doherty 2016-06-15 13:01:56 +01:00
  • 8e97e93b5d Add support to render into a string Ikey Doherty 2016-06-13 17:49:14 +01:00
  • 4272f45f6c Fix NULL context issues Ikey Doherty 2016-06-13 17:36:56 +01:00
  • d25d397d3e Add simple tests Ikey Doherty 2016-06-13 17:36:52 +01:00
  • 0c1fed9e26 Add the skeleton MstTemplate test Ikey Doherty 2016-06-13 17:30:13 +01:00
  • d0220b6716 Move util under the lib namespace Ikey Doherty 2016-06-13 17:25:15 +01:00
  • c448b2e234 Use the inline macro Ikey Doherty 2016-06-13 17:23:21 +01:00
  • 4a17cbe6ff Incoporate MstTemplate from cve-check-tool branch 2 for templating Ikey Doherty 2016-06-13 16:36:11 +01:00
  • 08f44cc694 Bump for new release v0.5 William Douglas 2016-06-14 15:10:53 +00:00
  • dba922f23f update: Fix critical bug in image creation Ikey Doherty 2016-06-14 15:46:01 +01:00
  • da5dc32241 bootman: Clean up the destroy/free code Ikey Doherty 2016-06-13 14:52:31 +01:00
  • 9749c8d0f4 nica: Sync with upstream for streq changes Ikey Doherty 2016-06-13 14:44:19 +01:00
  • f488327e25 travis: Only build master Ikey Doherty 2016-06-13 12:39:07 +01:00
  • 97be73b3ba Fix typo v0.4 Ikey Doherty 2016-06-10 18:28:44 +01:00
  • b7fbdf293a Add build dependencies for travis Ikey Doherty 2016-06-10 18:25:01 +01:00
  • b8133a0dcb Bump git version to 0.4 Ikey Doherty 2016-06-10 18:20:16 +01:00
  • 2c3c82d6f0 Add travis again Ikey Doherty 2016-06-10 18:15:05 +01:00
  • b891ffe388 Ensure we fail on bad CLI options Ikey Doherty 2016-06-10 18:05:13 +01:00
  • 38cbcc5641 Fix linking order Ikey Doherty 2016-06-10 17:57:34 +01:00
  • 3fce4814e4 Switch the CLI op to now use the library implementation of update Ikey Doherty 2016-06-10 17:57:21 +01:00
  • 929e5d8df2 Add a test for retention of multiple types and states (complex) Ikey Doherty 2016-06-10 17:12:53 +01:00
  • 253ac91327 Organise units. Ikey Doherty 2016-06-10 17:03:17 +01:00
  • 113d5fb740 Increase coverage for autoupdate of bootloader Ikey Doherty 2016-06-10 17:01:53 +01:00
  • 771269929e systemd-class: Stop being so noisy Ikey Doherty 2016-06-10 16:52:40 +01:00
  • 2f9417eedd Add retention testing Ikey Doherty 2016-06-10 16:50:45 +01:00
  • 956d536532 Run the update tests last so we can still examine the tree Ikey Doherty 2016-06-10 16:42:23 +01:00
  • 5379653857 Always remove source kernels when they're no good Ikey Doherty 2016-06-10 16:41:31 +01:00
  • 57c6c3dd7c Add realistic test for installation status of kernels Ikey Doherty 2016-06-10 16:39:48 +01:00
  • 4c7a1afffd Sync clang-format Ikey Doherty 2016-06-10 16:14:56 +01:00
  • 90ef71a950 Flesh out the bootloader testing Ikey Doherty 2016-06-10 16:14:42 +01:00
  • 6fde53a1ae Fix use of bitwise operations Ikey Doherty 2016-06-10 16:09:22 +01:00
  • e9e9fe11ce Add proper checks for bootloader operation, currently failing Ikey Doherty 2016-06-10 16:03:51 +01:00
  • 830ac5b79b Add a simple utility to determine if the bootloader matches Ikey Doherty 2016-06-10 15:55:37 +01:00
  • 6b4bb26025 Fix last_good validation Ikey Doherty 2016-06-10 15:41:03 +01:00
  • 30b0e81a38 nica: Fix busted macro Ikey Doherty 2016-06-10 15:37:37 +01:00
  • 2ce350df69 Fix the kboot stuff Ikey Doherty 2016-06-10 15:02:17 +01:00
  • d34335f476 Fix the kernel version Ikey Doherty 2016-06-10 14:59:39 +01:00
  • 9fa8977645 Plug that leak Ikey Doherty 2016-06-10 14:45:18 +01:00
  • 8cbb61598f Stop requiring EFI bootloader for test suite Ikey Doherty 2016-06-10 14:40:32 +01:00
  • 683afd9867 Drop test-init entirely Ikey Doherty 2016-06-10 14:38:36 +01:00
  • 6295b5bb6c Further cleaning Ikey Doherty 2016-06-10 14:38:25 +01:00
  • 5cf28aa012 Cleanup Ikey Doherty 2016-06-10 14:36:59 +01:00
  • a3e75348fa systemd-class: Fix setting of default kernel Ikey Doherty 2016-06-10 14:36:31 +01:00
  • d2fedbd7b8 Switch to using test harness for more control Ikey Doherty 2016-06-10 14:28:43 +01:00
  • ce13bbfac6 check-core: Be more dynamic Ikey Doherty 2016-06-10 14:09:59 +01:00
  • 8f2f0b531a Install fake bootloader data, don't use system files Ikey Doherty 2016-06-10 14:00:43 +01:00
  • ab91a017e6 Add the set_kernel_booted helper Ikey Doherty 2016-06-10 13:39:32 +01:00
  • dd381074b7 Extend harness to allow adding more kernels/setting default Ikey Doherty 2016-06-10 13:30:18 +01:00
  • fddea902d0 Split out the playground management code Ikey Doherty 2016-06-10 13:18:57 +01:00
  • 578056b884 Begin splitting out complexity into a new harness set Ikey Doherty 2016-06-10 13:14:55 +01:00
  • 6dbcfee1cd Provide the missing running kernel Ikey Doherty 2016-06-09 17:34:06 +01:00
  • 1b4e3c43b4 Add a native test Ikey Doherty 2016-06-09 17:33:18 +01:00
  • 633b766ea1 systemd-class: Plug leak Ikey Doherty 2016-06-09 17:30:48 +01:00
  • 330e617a45 Get everything in place to make bootloader installs work Ikey Doherty 2016-06-09 17:27:48 +01:00
  • 47524d7d01 Check for missing source files in installation (issue #8) Ikey Doherty 2016-06-09 17:16:29 +01:00
  • 048841d81a Fail if missing bootloader Ikey Doherty 2016-06-09 16:49:22 +01:00
  • 74b064f11c First test Ikey Doherty 2016-06-09 16:20:03 +01:00
  • 1932319456 Ignore the playground tree Ikey Doherty 2016-06-09 16:02:52 +01:00
  • dda2699a63 Fix the location of the default file Ikey Doherty 2016-06-09 16:02:34 +01:00
  • c2cb275791 files: Gracefully handle symlinks (sync with nica) Ikey Doherty 2016-06-09 16:01:26 +01:00
  • 40d5db8a1f Implement default setting Ikey Doherty 2016-06-09 15:53:59 +01:00
  • 419a791937 Implement the initialiser for the test harness Ikey Doherty 2016-06-09 15:48:24 +01:00
  • 89e2b5d360 utsname is optional for image mode, make it so.. Ikey Doherty 2016-06-09 15:24:07 +01:00
  • 9b1e20dee6 Set the image test to image mode Ikey Doherty 2016-06-09 15:23:02 +01:00
  • 04527a70ee Set the utsname Ikey Doherty 2016-06-09 15:22:02 +01:00
  • 3eca1285ce Begin implementing the playground concept Ikey Doherty 2016-06-09 15:12:41 +01:00
  • 5e881a2c52 Ensure image mode is actually configurable Ikey Doherty 2016-06-09 14:57:53 +01:00
  • 1ac2afab71 Use assert, we can't allow those kind of bugs Ikey Doherty 2016-06-09 14:54:36 +01:00
  • e17fe10d0a Disallow mounting by default Ikey Doherty 2016-06-09 14:44:35 +01:00
  • f6206f13b0 Add skeleton test for updates Ikey Doherty 2016-06-09 14:41:00 +01:00
  • d64bcf1b0e Implement boot_manager_update_native Ikey Doherty 2016-06-09 14:36:31 +01:00
  • 2ef3a7eaf7 Add the mount/umount handler Ikey Doherty 2016-06-09 13:58:25 +01:00
  • 0bb570d37b Ensure we return false when failing to set default kernel Ikey Doherty 2016-06-09 13:36:44 +01:00
  • 0080af7d71 Implement the boot_manager_update_image method Ikey Doherty 2016-06-09 13:30:41 +01:00
  • 9e9b6db962 Begin tweaking the API design Ikey Doherty 2016-06-09 12:56:51 +01:00
  • 8fcecd0877 Begin the skeleton for the new boot_manager_update call Ikey Doherty 2016-06-09 12:50:55 +01:00
  • ae4388546a Add new can_mount member for upcoming update code merge Ikey Doherty 2016-06-09 12:45:51 +01:00
  • 5af8faf11a Remove unused define Ikey Doherty 2016-06-09 12:24:17 +01:00
  • 35469badbf Clean up includes Ikey Doherty 2016-06-09 12:22:15 +01:00
  • 2fe43fb615 Split timeout functionality into separate source file Ikey Doherty 2016-06-09 12:19:57 +01:00
  • 655ce28e76 Remove duplication, fix inlining Ikey Doherty 2016-06-09 12:17:24 +01:00
  • 8f3fadf1cb Split out the kernel utilities into a separate source file Ikey Doherty 2016-06-09 12:12:40 +01:00
  • e028bdcfcb Begin splitting up the bootman implementation for better organisation Ikey Doherty 2016-06-09 12:03:56 +01:00