summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorC. McEnroe2020-07-31 13:04:33 -0400
committerC. McEnroe2020-07-31 13:04:33 -0400
commit27866c56570e4ba314d8cfa90aa815d1c5c09acd (patch)
treef85acb7bf72b040042e9877d1ad63f49e8bcc48e /Makefile
parent444d4bda9aab0160fb60ac2a11fefd8c627b8c7a (diff)
Fix path of cert.pem in chroot
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e4813cd..4c75e4b 100644
--- a/Makefile
+++ b/Makefile
@@ -61,11 +61,12 @@ chroot.tar: catgirl catgirl.1 scripts/chroot-prompt.sh scripts/chroot-man.sh
 	install -d -o root -g wheel \
 		root \
 		root/bin \
-		root/etc/ssl \
+		root/etc \
 		root/home \
 		root/lib \
 		root/libexec \
 		root/usr/bin \
+		root/usr/local/etc/ssl \
 		root/usr/share/man \
 		root/usr/share/misc
 	install -d -o ${CHROOT_USER} -g ${CHROOT_GROUP} \
@@ -83,7 +84,7 @@ chroot.tar: catgirl catgirl.1 scripts/chroot-prompt.sh scripts/chroot-man.sh
 		root/lib
 	chflags noschg root/libexec/* root/lib/*
 	cp -fp /etc/hosts /etc/resolv.conf root/etc
-	cp -fp /etc/ssl/cert.pem root/etc/ssl
+	cp -fp /usr/local/etc/ssl/cert.pem root/usr/local/etc/ssl
 	cp -af /usr/share/locale root/usr/share
 	cp -fp /usr/share/misc/termcap.db root/usr/share/misc
 	cp -fp /rescue/sh /usr/bin/mandoc /usr/bin/less root/bin