Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3912843
D2622.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
614 B
Referenced Files
None
Subscribers
None
D2622.diff
View Options
diff --git a/roles/core/src/init.sls b/roles/core/src/init.sls
--- a/roles/core/src/init.sls
+++ b/roles/core/src/init.sls
@@ -10,9 +10,18 @@
{% set version = grains['kernelrelease'].split("-")[0] %}
+{% if version >= "13.0" %}
+git:
+ pkg.installed
+{% endif %}
+
freebsd_src:
cmd.run:
+ {% if version < "13.0" %}
- name: svnlite checkout https://svn.freebsd.org/base/releng/{{ version }} /usr/src
+ {% else %}
+ - name: git clone --depth=1 --single-branch -b releng/{{ version }} https://git.freebsd.org/src.git /usr/src
+ {% endif %}
- creates: /usr/src/Makefile
{% endif %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 07:10 (20 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307756
Default Alt Text
D2622.diff (614 B)
Attached To
Mode
D2622: Use git instead of svnlite to fetch FreeBSD 13+ sources
Attached
Detach File
Event Timeline
Log In to Comment