Skip to content

Commit 17c0e30

Browse files
committed
bcd bug fix
1 parent ffa2dc1 commit 17c0e30

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Versioning information
22
#
3-
VERSION := v3.0.2
3+
VERSION := v3.0.3
44
WIMBOOT_VERSION := v2.8.0
55
SBAT_GENERATION := 1
66

bcd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ bcd_patch_data (void)
278278
/* Patch Objects->{Ramdisk} */
279279
if (nt_cmdline->boottype == NTBOOT_RAM)
280280
{
281+
bcd_delete_key (&hive, objects, GUID_RAMDISK, BCDOPT_SDIDEV);
282+
bcd_delete_key (&hive, objects, GUID_RAMDISK, BCDOPT_SDIPATH);
281283
bcd_patch_bool (&hive, objects, GUID_RAMDISK,
282284
BCDOPT_EXPORTCD, nt_cmdline->exportcd);
283285
bcd_patch_u64 (&hive, objects, GUID_RAMDISK,

0 commit comments

Comments
 (0)