Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2024 11:26:24 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c10511375252 - main - loader: actually change the staging slop
Message-ID:  <202409211126.48LBQOwm040328@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=c10511375252e53d6c9fe47f97e254f1380a89c5

commit c10511375252e53d6c9fe47f97e254f1380a89c5
Author:     Ahmad Khalifa <ahmadkhalifa570@gmail.com>
AuthorDate: 2024-08-12 09:57:38 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-09-21 11:25:15 +0000

    loader: actually change the staging slop
    
    Reviewed by: imp, kib
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1381
---
 stand/efi/loader/copy.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stand/efi/loader/copy.c b/stand/efi/loader/copy.c
index d34acea4e876..e5c950d75f37 100644
--- a/stand/efi/loader/copy.c
+++ b/stand/efi/loader/copy.c
@@ -268,7 +268,9 @@ command_staging_slop(int argc, char *argv[])
 			res = CMD_ERROR;
 		}
 		if (res == CMD_OK && staging_slop != new) {
+			staging_slop = new;
 			printf("changed slop, unloading kernel\n");
+
 			unload();
 			efi_copy_free();
 			efi_copy_init();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409211126.48LBQOwm040328>