git: 6e8c572eb490 - 2021Q2 - - Fix new jail and ports creation.

Bryan Drewery bdrewery at FreeBSD.org
Thu Apr 15 20:30:14 UTC 2021


The branch 2021Q2 has been updated by bdrewery:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e8c572eb4900aabdc916b6a7d4bd9c1d59cf518

commit 6e8c572eb4900aabdc916b6a7d4bd9c1d59cf518
Author:     Bryan Drewery <bdrewery at FreeBSD.org>
AuthorDate: 2021-04-15 15:37:20 +0000
Commit:     Bryan Drewery <bdrewery at FreeBSD.org>
CommitDate: 2021-04-15 20:30:13 +0000

    - Fix new jail and ports creation.
    
    Brings in freebsd/poudriere at 1c9357d08e35f2bb248533ce043b2e61920ebf9e
    
    (cherry picked from commit b42828e7fd3e3d9505be516f919a586f18521f0d)
---
 ports-mgmt/poudriere-devel/Makefile                |  2 +-
 .../patch-1c9357d08e35f2bb248533ce043b2e61920ebf9e | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/ports-mgmt/poudriere-devel/Makefile b/ports-mgmt/poudriere-devel/Makefile
index 30956dde8861..020e7de435ae 100644
--- a/ports-mgmt/poudriere-devel/Makefile
+++ b/ports-mgmt/poudriere-devel/Makefile
@@ -1,7 +1,7 @@
 
 PORTNAME=	poudriere
 DISTVERSION=	3.3.99.20210303
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	LOCAL/bdrewery/${PORTNAME}/ \
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
diff --git a/ports-mgmt/poudriere-devel/files/patch-1c9357d08e35f2bb248533ce043b2e61920ebf9e b/ports-mgmt/poudriere-devel/files/patch-1c9357d08e35f2bb248533ce043b2e61920ebf9e
new file mode 100644
index 000000000000..487e88c71f87
--- /dev/null
+++ b/ports-mgmt/poudriere-devel/files/patch-1c9357d08e35f2bb248533ce043b2e61920ebf9e
@@ -0,0 +1,29 @@
+commit 1c9357d08e35f2bb248533ce043b2e61920ebf9e
+Author: Bryan Drewery <bryan at shatow.net>
+Date:   Tue Mar 23 16:06:36 2021 -0700
+
+    Partially revert #844 for createfs; still use -p.
+    
+    This restores the -p and atime/mountpoint/compression setting
+    for /jails and /ports.
+    
+    It changes compression=lz4 to compression=on as well.
+    
+    Fixes #844
+
+diff --git src/share/poudriere/include/fs.sh src/share/poudriere/include/fs.sh
+index fed4a5b08..cad0aa69d 100644
+--- src/share/poudriere/include/fs.sh
++++ src/share/poudriere/include/fs.sh
+@@ -34,7 +34,10 @@ createfs() {
+ 
+ 	if [ -n "${fs}" -a "${fs}" != "none" ]; then
+ 		msg_n "Creating ${name} fs at ${mnt}..."
+-		if ! zfs create ${fs}; then
++		if ! zfs create -p \
++			-o compression=on \
++			-o atime=off \
++			-o mountpoint=${mnt} ${fs}; then
+ 			echo " fail"
+ 			err 1 "Failed to create FS ${fs}"
+ 		fi


More information about the dev-commits-ports-all mailing list