summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-31 13:04:33 -0400
committerJune McEnroe <june@causal.agency>2020-07-31 13:04:33 -0400
commit27866c56570e4ba314d8cfa90aa815d1c5c09acd (patch)
treef85acb7bf72b040042e9877d1ad63f49e8bcc48e
parentFix chroot-man path (diff)
downloadcatgirl-27866c56570e4ba314d8cfa90aa815d1c5c09acd.tar.gz
catgirl-27866c56570e4ba314d8cfa90aa815d1c5c09acd.zip
Fix path of cert.pem in chroot
-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