mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Fix new jail and ports creation.
Brings in freebsd/poudriere@1c9357d08e
This commit is contained in:
parent
90c799e7ef
commit
b42828e7fd
@ -1,6 +1,6 @@
|
||||
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}/ \
|
||||
|
@ -0,0 +1,29 @@
|
||||
commit 1c9357d08e35f2bb248533ce043b2e61920ebf9e
|
||||
Author: Bryan Drewery <bryan@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
|
Loading…
Reference in New Issue
Block a user