Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not install documentation files in buildroot #1462

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mock-core-configs/etc/mock/templates/almalinux-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el8
user_agent={{ user_agent }}

tsflags=nodocs

[baseos]
name=AlmaLinux $releasever - BaseOS
Expand Down
2 changes: 1 addition & 1 deletion mock-core-configs/etc/mock/templates/almalinux-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el9
user_agent={{ user_agent }}

tsflags=nodocs

[baseos]
name=AlmaLinux $releasever - BaseOS
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/anolis-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:an8
user_agent={{ user_agent }}
tsflags=nodocs

[BaseOS]
name=AnolisOS-$releasever - BaseOS
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/centos-stream-10.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ protected_packages=
skip_if_unavailable=False
module_platform_id=platform:el10
user_agent={{ user_agent }}
tsflags=nodocs

{% if koji_primary_repo != None and koji_primary_repo != "centos-stream" %}
[local-centos-stream]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/centos-stream-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el8
user_agent={{ user_agent }}
tsflags=nodocs

{% if koji_primary_repo != None and koji_primary_repo != "centos-stream" %}
[local-centos-stream]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/centos-stream-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el9
user_agent={{ user_agent }}
tsflags=nodocs

{% if koji_primary_repo != None and koji_primary_repo != "centos-stream" %}
[local-centos-stream]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/circlelinux-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el8
user_agent={{ user_agent }}
tsflags=nodocs


[baseos]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/circlelinux-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el9
user_agent={{ user_agent }}
tsflags=nodocs


[baseos]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/custom-1.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ mdpolicy=group:primary
best=1
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

"""
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/eurolinux-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ mdpolicy=group:primary
best=0
protected_packages=
module_platform_id=platform:el8
tsflags=nodocs


[baseos-all]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/eurolinux-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ mdpolicy=group:primary
best=0
protected_packages=
module_platform_id=platform:el9
tsflags=nodocs


[baseos-all]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/fedora-branched.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ best=1
module_platform_id=platform:f{{ releasever }}
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/fedora-eln.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ install_weak_deps=0
metadata_expire=0
best=1
user_agent={{ user_agent }}
tsflags=nodocs

# TODO
module_platform_id=platform:eln
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/fedora-rawhide.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ best=1
module_platform_id=platform:f{{ releasever }}
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

{%- macro rawhide_gpg_keys() -%}
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/mageia-branched.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata_expire=0
best=1
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/mageia-cauldron.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ metadata_expire=0
best=1
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/navy-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ best=1
protected_packages=
module_platform_id=platform:el8
user_agent={{ user_agent }}
tsflags=nodocs

[nl-base]
name=Navy Linux Enterprise OS Repository - el$releasever
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/openeuler-20.03.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:oe2003
user_agent={{ user_agent }}
tsflags=nodocs

[OS]
name=OS
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/openeuler-22.03.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:oe2203
user_agent={{ user_agent }}
tsflags=nodocs

# all openEuler LTS release will continue developing and releasing SPx version
# such as 22.03-LTS -> 22.03-LTS-SP1 -> 22.03-LTS-SP2 ...
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/openeuler-24.03.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:oe2403
user_agent={{ user_agent }}
tsflags=nodocs

# all openEuler LTS release will continue developing and releasing SPx version
# such as 24.03-LTS -> 24.03-LTS-SP1 -> 24.03-LTS-SP2 ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata_expire=0
best=1
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata_expire=0
best=1
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ metadata_expire=0
best=1
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ excludepkgs=*.ppc,*.ppc64,*.ppc64le,*.x86_64,*.i586,*.i686

protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ excludepkgs=*.ppc,*.ppc64,*.ppc64le,*.x86_64,*.i586,*.i686

protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ excludepkgs=*.ppc,*.ppc64le

protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/oraclelinux-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el8
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/oraclelinux-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el9
user_agent={{ user_agent }}
tsflags=nodocs

# repos

Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/rhel-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ best=1
module_platform_id=platform:el8
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos
[rhel-baseos]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/rhel-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ best=1
module_platform_id=platform:el{{ releasever }}
protected_packages=
user_agent={{ user_agent }}
tsflags=nodocs

# repos
[baseos]
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/rocky-8.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el8
user_agent={{ user_agent }}
tsflags=nodocs

# Primary
[baseos]
Expand Down
2 changes: 1 addition & 1 deletion mock-core-configs/etc/mock/templates/rocky-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install_weak_deps=0
protected_packages=
module_platform_id=platform:el9
user_agent={{ user_agent }}

tsflags=nodocs

[baseos]
name=Rocky Linux $releasever - BaseOS
Expand Down
4 changes: 4 additions & 0 deletions releng/release-notes-next/nodocs.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Config files that uses DNF now contains `tsflags=nodocs` that tells RPM to not
install documentation files.
This results to smaller buildroot. For fedora-rawhide, with only minimal set of
packages, this is reduction from 260MB to 246MB.
Loading