diff options
| -rw-r--r-- | release/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile index 44e971c4c313..5a801564ad42 100644 --- a/release/Makefile +++ b/release/Makefile @@ -343,6 +343,10 @@ rerelease release: if [ -f /etc/resolv.conf ]; then \ cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \ fi +.if defined(EXTLOCALDIR) + rm -rf ${CHROOTDIR}/usr/local + cd ${CHROOTDIR}/usr && cp -R ${EXTLOCALDIR} local +.endif rm -rf ${CHROOTDIR}/usr/src .if defined(EXTSRCDIR) cd ${CHROOTDIR}/usr && \ |
