fix(btrfs)

closes #5707
This commit is contained in:
Jacob Heider 2024-03-26 13:51:05 -04:00 committed by Jacob Heider
parent 57eaacce12
commit 609b547e54
2 changed files with 4 additions and 28 deletions

View file

@ -1,5 +1,5 @@
distributable: distributable:
url: https://github.com/kdave/btrfs-progs/archive/v{{version}}.tar.gz url: https://github.com/kdave/btrfs-progs/archive/{{version.tag}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
@ -28,7 +28,7 @@ build:
gnu.org/automake: '*' gnu.org/automake: '*'
gnu.org/libtool: '*' gnu.org/libtool: '*'
script: script:
- patch -p1 < props/patch.diff # remove sphinx-rtd-theme extension for html docs - sed -i '/sphinx_rtd_theme/s/^/#/' Documentation/conf.py
- ./autogen.sh - ./autogen.sh
- ./configure $ARGS - ./configure $ARGS
- make --jobs {{hw.concurrency}} install V=1 udevdir={{prefix}}/lib/udev - make --jobs {{hw.concurrency}} install V=1 udevdir={{prefix}}/lib/udev
@ -53,7 +53,7 @@ provides:
- bin/mkfs.btrfs - bin/mkfs.btrfs
test: test:
- btrfs --version | grep {{version}} - btrfs --version | grep {{version.tag}}
- truncate -s 128M test.img - truncate -s 128M test.img
- mkfs.btrfs test.img | grep '128.00MiB' - mkfs.btrfs test.img | grep '128.00MiB'
- btrfs filesystem show test.img | grep 'Total devices 1 FS' - btrfs filesystem show test.img | grep 'Total devices 1 FS'

View file

@ -1,24 +0,0 @@
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 014352a..c7a629c 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -33,10 +33,6 @@ templates_path = ['_templates']
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build']
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-html_theme = 'sphinx_rtd_theme'
-
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
@@ -76,8 +72,6 @@ man_pages = [
('btrfs-man5', 'btrfs', 'topics about the BTRFS filesystem (mount options, supported file attributes and other)', '', 5),
]
-extensions = [ 'sphinx_rtd_theme' ]
-
# Cross reference with document and label
# Syntax: :docref`Title <rawdocname:label>`
# Backends: html, man, others