git: 756500fa4b1e - main - kern.post.mk: Replace "mkdir -p" with "install -d"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Mar 2026 00:06:19 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=756500fa4b1ed0807e16c9063f27031544cd7706
commit 756500fa4b1ed0807e16c9063f27031544cd7706
Author: Marian Cingel <cingel.marian@gmail.com>
AuthorDate: 2026-01-13 17:48:04 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-03-08 00:06:15 +0000
kern.post.mk: Replace "mkdir -p" with "install -d"
to create the 'dir' entry in METALOG
Signed-off-by: Marian Cingel <cingel.marian@gmail.com>
Reviewed by: imp, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/1967
---
sys/conf/kern.post.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index 343abc5853f7..7216393dbdf1 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -457,7 +457,7 @@ kernel-install: .PHONY
${INSTALL} -p -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.debug ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/
${INSTALL} -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} \
$S/tools/kernel-gdb.py ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/${KERNEL_KO}-gdb.py
- mkdir -p ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/gdb
+ ${INSTALL} -d -o ${KMODOWN} -g ${KMODGRP} ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/gdb
.for file in ${GDB_FILES}
${INSTALL} -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} \
$S/tools/gdb/${file} ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/gdb/${file}