Commit Graph

  • d2c0fa4248 Make bootvar_create return boot var name. Arzhan Kinzhalin 2017-08-20 08:13:35 +00:00
  • 43baee8f91 Reuse set_default_kernel from systemd-class. Arzhan Kinzhalin 2017-08-20 07:49:22 +00:00
  • 809aeb2ce8 Remove debug output. Arzhan Kinzhalin 2017-08-20 07:36:39 +00:00
  • b8b996968d Move implementation. Rename and prefix functions. Arzhan Kinzhalin 2017-08-20 07:10:12 +00:00
  • 79b8c78b91 Clean up. Refactor. Arzhan Kinzhalin 2017-08-20 06:38:40 +00:00
  • 30e9f06760 Avoid creating duplicate Boot* vars. Arzhan Kinzhalin 2017-08-18 06:53:38 +00:00
  • eacdfc4293 Make internal function static. Arzhan Kinzhalin 2017-08-18 05:12:04 +00:00
  • d0bbf4df13 Separate host and ESP paths and use them properly. Arzhan Kinzhalin 2017-08-18 04:33:59 +00:00
  • 9df212a9c3 Clean up. Arzhan Kinzhalin 2017-08-18 03:58:18 +00:00
  • 1269f54de2 Add/correct copyright notice. Arzhan Kinzhalin 2017-08-16 07:17:07 +00:00
  • 065662f702 Rename files, clean up. Arzhan Kinzhalin 2017-08-16 07:13:15 +00:00
  • 84860370d7 Add draft implementation of boot var support. Arzhan Kinzhalin 2017-08-16 07:09:18 +00:00
  • b3bc61b254 Get rid of the maybe uninitialized warning. Arzhan Kinzhalin 2017-08-14 18:39:35 +00:00
  • e9fd24b763 WIP: efi boot var implementation. Arzhan Kinzhalin 2017-08-08 23:18:51 +00:00
  • 4f52d149af Add working impl of kernel install. Arzhan Kinzhalin 2017-08-07 18:55:41 +00:00
  • 734c911d44 Use get_kernel_dst() instead of hard-coded value. Arzhan Kinzhalin 2017-08-07 17:14:52 +00:00
  • edebfc34bd Clean up. Arzhan Kinzhalin 2017-08-07 17:05:29 +00:00
  • 32904c4bc0 Ask bootloader where to copy the kernels. Arzhan Kinzhalin 2017-08-05 02:51:21 +00:00
  • 61ba7e9d8d Add partial implementation. Arzhan Kinzhalin 2017-08-04 22:58:22 +00:00
  • 4837aef7f9 Add stub shim-systemd support. Arzhan Kinzhalin 2017-08-04 14:40:17 +00:00
  • 9bdd68d4c5 cmdline: Support vendor provided stateless fragments Ikey Doherty 2017-09-13 16:20:09 +01:00
  • a4048569a7 Fix the end of string condition. Arzhan Kinzhalin 2017-07-26 08:05:00 +00:00
  • f6630a2389 Get rid of ar(chiver) warning. Arzhan Kinzhalin 2017-07-26 08:00:02 +00:00
  • d8b17d7af4 Bump version to 1.5.4 for release v1.5.4 Ikey Doherty 2017-06-16 16:00:34 +01:00
  • c8268601c8 tests: Run clang-format to deduplicate header includes Ikey Doherty 2017-06-16 15:08:48 +01:00
  • 6c0a383788 cli: Return the correct value when set_timeout works Ikey Doherty 2017-06-16 15:08:33 +01:00
  • c44abcba98 Fix the ordering of UEFI vs legacy probing Ikey Doherty 2017-06-16 15:04:18 +01:00
  • d4d32bbb6e tests: Add a new set of tests around kernels without modules Ikey Doherty 2017-05-30 16:31:41 +01:00
  • 349301473f kernel: Allow lack of modules to be non-fatal Ikey Doherty 2017-05-12 09:22:16 +01:00
  • cac98846ba Bump v1.5.3 v1.5.3 Ikey Doherty 2017-05-02 18:55:03 +01:00
  • 567adab339 Ensure to include sysmacros.h for major/minor usage Ikey Doherty 2017-05-02 18:26:40 +01:00
  • 1fdb5aa6aa bootman: Ensure that we use the full namespace for EFI assets Ikey Doherty 2017-05-02 18:09:30 +01:00
  • f39aec33a2 Bump v1.5.2 v1.5.2 Ikey Doherty 2017-04-07 17:37:12 +01:00
  • 6e9b2b6c52 bootman: Remove legacy kernel blobs from bootdir Ikey Doherty 2017-03-31 23:46:55 +01:00
  • 95cced4319 bootloaders/syslinux: Avoid duplicated entries in output Ikey Doherty 2017-03-31 23:07:49 +01:00
  • d58d515b7b tests: Add a migration test for GRUB2 Ikey Doherty 2017-03-31 19:16:34 +01:00
  • 85e6594f0f bootloaders/grub2: Use a submenu structure for non default kernels Ikey Doherty 2017-03-31 18:42:01 +01:00
  • 7399e96d69 bootman: Allow native UEFI to "win" on GPT system containing legacy boot Ikey Doherty 2017-03-30 15:40:39 +01:00
  • 834dbe7fb6 tests: Add a new test case to ensure we use UEFI for legacy native Ikey Doherty 2017-03-30 17:55:15 +01:00
  • 698dfc5724 Bump v1.5.1 for release v1.5.1 Ikey Doherty 2017-03-29 17:10:30 +01:00
  • b50c4606cb probe: Add support to determine if a device uses a GPT table or not Ikey Doherty 2017-03-29 15:30:34 +01:00
  • d055bd46bf bootman: Always reinit using a valid boot directory Ikey Doherty 2017-03-29 02:22:55 +01:00
  • 338106a69f bootman: Collapse double slashed boot directory where possible Ikey Doherty 2017-03-29 01:30:09 +01:00
  • 0fa93d9fe0 bootman: Fix our cbm_inspect_routine to unbreak UEFI selection Ikey Doherty 2017-03-29 00:51:21 +01:00
  • 58fa6a21b9 tests: Add a new test for the bootloader selection logic Ikey Doherty 2017-03-28 23:17:23 +01:00
  • f555ae2fa8 Update use case description in README William Douglas 2017-03-28 07:58:37 -07:00
  • 7910f7b2a2 Bump v1.5.0 for release v1.5.0 Ikey Doherty 2017-03-26 19:51:51 +01:00
  • 5324a38b87 cli: Fix invalid license text in CLI output Ikey Doherty 2017-03-26 15:05:11 +01:00
  • 352195258c README: Add relevant v2 information Ikey Doherty 2017-03-26 14:46:36 +01:00
  • f5a285e3b6 bootman: Automatically purge associated header tree Ikey Doherty 2017-03-26 14:21:57 +01:00
  • 5ab4184a72 bootman: Ensure any System.map* files are purged Ikey Doherty 2017-03-26 14:13:46 +01:00
  • aa6251a495 bootloaders: Add initial GRUB2 implementation Ikey Doherty 2017-03-14 14:03:52 +00:00
  • 6526a0446a bootman: Automatically determine if the target system is GPT or not Ikey Doherty 2017-03-07 16:07:39 +00:00
  • c024ea3930 lib: Remove stray semicolon Ikey Doherty 2017-03-07 15:30:28 +00:00
  • 3656238caf Implement full UEFI namespacing on the EFI System Partition Ikey Doherty 2017-03-03 16:06:15 +00:00
  • a53fe0b026 harness: Fix error in calculation of installed file counts Ikey Doherty 2017-03-03 14:51:05 +00:00
  • e9f1fc6e91 Reduce vast duplication with basename in the codebase Ikey Doherty 2017-03-03 14:02:45 +00:00
  • 2cc63e2dd3 bootman: Logically group commonality within the kernel struct Ikey Doherty 2017-03-03 13:38:01 +00:00
  • ff1d4a5141 bootman: Ensure we always reinit bootloader for the given paths Ikey Doherty 2017-03-03 12:51:29 +00:00
  • bc3b3867ce tests: Force test suite failure by using different-cased paths Ikey Doherty 2017-03-03 12:48:40 +00:00
  • 88edefa928 lib: Fix signedness issues Ikey Doherty 2017-02-23 13:07:38 +00:00
  • 2948f46997 bootman: Fix sign issues in modify_bootloader Ikey Doherty 2017-02-23 13:01:36 +00:00
  • 25622038e8 Silence clang warnings about field zeroing Ikey Doherty 2017-02-23 12:52:23 +00:00
  • 5eb72c9dfa bootman: Don't check array for being NULL, check that it has content Ikey Doherty 2017-02-23 12:43:44 +00:00
  • e3f4b03d94 lib: Remove unused autofree definition discovered by clang 3.9 Ikey Doherty 2017-02-23 12:38:51 +00:00
  • 1baf0d2b5e Remove unused variables discovered by clang 3.9 Ikey Doherty 2017-02-23 12:35:35 +00:00
  • 3b3ff8a488 bootman: Select the bootloader based on the system topology Ikey Doherty 2017-02-23 11:37:25 +00:00
  • fa155bc53e bootloaders: Introduce a very trivial capabilities system Ikey Doherty 2017-02-23 11:08:54 +00:00
  • 224541dc7f Replace all critical uses of asprintf with string_printf Ikey Doherty 2017-02-11 08:14:09 +00:00
  • d5b9cec707 lib: Add a new string_alloc function Ikey Doherty 2017-02-11 07:48:50 +00:00
  • 30d71f312b lib: Don't inline rstrip function Ikey Doherty 2017-02-11 07:44:27 +00:00
  • aebb107900 Fix distcheck for merging Ikey Doherty 2017-02-10 17:50:25 +00:00
  • 1aca54e254 bootman: Remove functions that are no longer needed Ikey Doherty 2017-02-10 17:38:11 +00:00
  • f68ad0f257 tests: Simplify code now that mixed EFI paths are gone Ikey Doherty 2017-02-10 17:31:34 +00:00
  • 34a9e9fa3c bootloaders/system-class: Remove support for mixed EFI Ikey Doherty 2017-02-10 17:27:17 +00:00
  • 4d0769afad tests: Ensure initial bootloader installation is controlled by harness Ikey Doherty 2017-02-10 17:19:39 +00:00
  • 6234801b84 tests: Restore test for UEFI bootloader removal Ikey Doherty 2017-02-10 17:13:53 +00:00
  • 8136734e4a tests: Restore the auto-update tests Ikey Doherty 2017-02-10 17:05:59 +00:00
  • 451c73223a bootloaders/syslinux: Fix segfault when finding default initrd Ikey Doherty 2017-02-10 13:59:31 +00:00
  • 8f0212ad72 tests: Simulate updating from unknown kernel to CBM for first time Ikey Doherty 2017-02-10 13:58:30 +00:00
  • d46c68131c tests: Restore simple "native" installation test Ikey Doherty 2017-02-09 17:39:51 +00:00
  • f5503eff27 tests: Begin work on new skeletal UEFI test suite Ikey Doherty 2017-02-09 17:13:15 +00:00
  • ee2fdadc78 tests: Use a more obvious cmdline component in kernel pushing Ikey Doherty 2017-02-09 17:06:32 +00:00
  • 920aee7125 tests: Add basic image test for syslinux Ikey Doherty 2017-02-10 13:07:42 +00:00
  • a204ecaff1 tests: Add bootstrapping of faux legacy environment Ikey Doherty 2017-02-09 15:41:38 +00:00
  • e15c5a817d tests: Add a new (currently failing) test for legacy boot Ikey Doherty 2017-02-09 13:29:06 +00:00
  • 528479f650 tests: Remove hard-coding of UEFI system Ikey Doherty 2017-02-09 13:27:36 +00:00
  • bfc1e1e13b tests: Remove all overlapping test functionality Ikey Doherty 2017-02-09 13:10:03 +00:00
  • 3993d63293 Remove check-update as it really doesn't help coverage Ikey Doherty 2017-02-09 13:03:57 +00:00
  • cf2ba19394 lib: Move dev_t validation into default function wrapper Ikey Doherty 2017-02-08 13:10:22 +00:00
  • 2cba299c4d harness: Stop faking the root sysinfo Ikey Doherty 2017-02-07 16:20:31 +00:00
  • 2aea51fdb4 tests: Force UEFI system configuration Ikey Doherty 2017-02-07 16:14:58 +00:00
  • 2a3cfbf4ba lib: Add mock encapsulation for all /sys and /dev paths Ikey Doherty 2017-02-07 15:38:37 +00:00
  • 26b1c00a8e lib: Add stub around devnode_to_devpath Ikey Doherty 2017-02-01 02:18:42 +00:00
  • de37b1d3ff bootman: Completely remove concept of "can_mount" Ikey Doherty 2017-02-01 02:07:17 +00:00
  • 9b9d7ae2a3 bootman/update: Only use the system vtable ops Ikey Doherty 2017-01-26 20:53:42 +00:00
  • 767ab840fa bootloaders/syslinux: Use cbm_system_system Ikey Doherty 2017-01-26 20:51:11 +00:00
  • c2f7a6c7a1 tests: Port to the new mount APIs within the system stub Ikey Doherty 2017-01-26 21:51:26 +00:00
  • 51b3776d3c lib: Wrap the mount helper functions in the system vtable Ikey Doherty 2017-01-26 21:49:10 +00:00
  • fd649a1acf tests: Add a new system harness Ikey Doherty 2017-01-26 21:02:39 +00:00