Use correct cert (#35)

* Use correct cert

* Fix boot partition handling

* Cleanup rauc handling

* Make a reboot

* handling
This commit is contained in:
Pascal Vizeli
2018-06-24 23:41:04 +02:00
committed by GitHub
parent 42dc915436
commit 3e8499ecbf
20 changed files with 89 additions and 55 deletions

View File

@@ -17,7 +17,7 @@ index d5efc0c..c57c2f7 100644
g_ptr_array_add(args, g_strdup_printf(BOOTSTATE_PREFIX ".%s.remaining_attempts", bootname));
+
+ g_ptr_array_add(args, g_strdup("-i"));
+ g_ptr_array_add(args, g_strdup("/mnt/boot/EFI/barebox/state.dtb"));
+ g_ptr_array_add(args, g_strdup("/etc/barebox-state.dtb"));
g_ptr_array_add(args, NULL);
sub = g_subprocess_newv((const gchar * const *)args->pdata,
@@ -27,7 +27,7 @@ index d5efc0c..c57c2f7 100644
}
+
+ g_ptr_array_add(args, g_strdup("-i"));
+ g_ptr_array_add(args, g_strdup("/mnt/boot/EFI/barebox/state.dtb"));
+ g_ptr_array_add(args, g_strdup("/etc/barebox-state.dtb"));
g_ptr_array_add(args, NULL);
sub = g_subprocess_newv((const gchar * const *)args->pdata,

View File

@@ -26,10 +26,5 @@ prepare_disk_image
# Create disk images
create_disk_image 6
convert_disk_image_vdmk
# Generate OTA update file
rm -rf ${BOOT_DATA}/EFI/barebox
rm -f ${BOOT_DATA}/cmdline.txt
create_ota_update bzImage
convert_disk_image_vmdk
create_ota_update

View File

@@ -44,8 +44,4 @@ prepare_disk_image
create_disk_image 2
fix_disk_image_mbr
convert_disk_image_gz
# Generate OTA update file
rm -f ${BOOT_DATA}/*.txt
create_ota_update ${KERNEL_NAME}
create_ota_update