aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2025-07-21 17:14:00 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2025-07-21 17:14:00 +0000
commitcae98cf683ddd1421f4b66bb6aa7099ca6da94ef (patch)
tree2a171e644a46f6634eec51ae9e7fc9d3e4a01113 /stand
parentffc5ee0f57d56459df93f4107b9835ae78a546b5 (diff)
Diffstat (limited to 'stand')
-rw-r--r--stand/common/install.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stand/common/install.c b/stand/common/install.c
index 249eca1648f3..d07c4c6fc620 100644
--- a/stand/common/install.c
+++ b/stand/common/install.c
@@ -137,7 +137,9 @@ read_metatags(int fd)
}
*p++ = '\0';
- if (strcmp(tag, "KERNEL") == 0)
+ if (strncmp(tag, "ENV_", 4) == 0)
+ setenv(&tag[4], val, 1);
+ else if (strcmp(tag, "KERNEL") == 0)
error = setpath(&inst_kernel, val);
else if (strcmp(tag, "MODULES") == 0)
error = setmultipath(&inst_modules, val);