Fix path of cert.pem in chroot

weechat-hashes
C. McEnroe 2020-07-31 13:04:33 -04:00
parent 444d4bda9a
commit 27866c5657
1 changed files with 3 additions and 2 deletions

View File

@ -61,11 +61,12 @@ chroot.tar: catgirl catgirl.1 scripts/chroot-prompt.sh scripts/chroot-man.sh
install -d -o root -g wheel \ install -d -o root -g wheel \
root \ root \
root/bin \ root/bin \
root/etc/ssl \ root/etc \
root/home \ root/home \
root/lib \ root/lib \
root/libexec \ root/libexec \
root/usr/bin \ root/usr/bin \
root/usr/local/etc/ssl \
root/usr/share/man \ root/usr/share/man \
root/usr/share/misc root/usr/share/misc
install -d -o ${CHROOT_USER} -g ${CHROOT_GROUP} \ 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 root/lib
chflags noschg root/libexec/* root/lib/* chflags noschg root/libexec/* root/lib/*
cp -fp /etc/hosts /etc/resolv.conf root/etc 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 -af /usr/share/locale root/usr/share
cp -fp /usr/share/misc/termcap.db root/usr/share/misc cp -fp /usr/share/misc/termcap.db root/usr/share/misc
cp -fp /rescue/sh /usr/bin/mandoc /usr/bin/less root/bin cp -fp /rescue/sh /usr/bin/mandoc /usr/bin/less root/bin