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

RHEL-10: Sync templates from master branch #5993

Merged
merged 1 commit into from
Nov 12, 2024
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/kickstart-tests.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ jobs:
run: |
cat <<EOF > settings.ini
[kickstart_test]
retry_on_failure=True
kstest_local_repo=${{ github.workspace }}/kickstart-tests
[library]
directPath=${{ github.workspace }}/kickstart-tests/testlib
Expand Down
3 changes: 3 additions & 0 deletions .packit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ upstream_tag_template: anaconda-{version}
copy_upstream_release_description: true
downstream_package_name: anaconda

files_to_sync:
- rpmlint.toml

srpm_build_deps:
- automake
- autoconf
Expand Down
3 changes: 3 additions & 0 deletions .packit.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ upstream_tag_template: anaconda-{version}
copy_upstream_release_description: true
downstream_package_name: anaconda

files_to_sync:
- rpmlint.toml

srpm_build_deps:
- automake
- autoconf
Expand Down
6 changes: 2 additions & 4 deletions dockerfile/anaconda-iso-creator/lorax-build
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ createrepo_c $REPO_DIR
MAJOR_VERSION=${VERSION_ID%%.*}
MINOR_VERSION=${VERSION_ID#*.}

# FIXME: Remove COPR repository which is temporary workaround until python3-pam package is available
lorax -p RHEL -v "$MAJOR_VERSION" -r "$MINOR_VERSION" \
--volid "RHEL-$MAJOR_VERSION-$MINOR_VERSION-BaseOS-x86_64" \
--nomacboot \
-s http://download.devel.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-10/compose/BaseOS/x86_64/os/ \
-s http://download.devel.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-10/compose/AppStream/x86_64/os/ \
-s https://download.copr.fedorainfracloud.org/results/m4rtink/python-pam-rebuild/centos-stream-10-x86_64/ \
-s http://download.devel.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/BaseOS/x86_64/os/ \
-s http://download.devel.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/AppStream/x86_64/os/ \
-s file://$REPO_DIR/ \
"$@" \
output || cp *.log "$OUT_DIR"
Expand Down
6 changes: 2 additions & 4 deletions dockerfile/anaconda-iso-creator/lorax-build.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ lorax -p Fedora -v "$VERSION_ID" -r "$VERSION_ID" \
MAJOR_VERSION=${VERSION_ID%%.*}
MINOR_VERSION=${VERSION_ID#*.}

# FIXME: Remove COPR repository which is temporary workaround until python3-pam package is available
lorax -p RHEL -v "$MAJOR_VERSION" -r "$MINOR_VERSION" \
--volid "RHEL-$MAJOR_VERSION-$MINOR_VERSION-BaseOS-x86_64" \
--nomacboot \
-s http://download.devel.redhat.com/rhel-{$ distro_release $}/nightly/RHEL-{$ distro_release $}-Public-Beta/latest-RHEL-{$ distro_release $}/compose/BaseOS/x86_64/os/ \
-s http://download.devel.redhat.com/rhel-{$ distro_release $}/nightly/RHEL-{$ distro_release $}-Public-Beta/latest-RHEL-{$ distro_release $}/compose/AppStream/x86_64/os/ \
-s https://download.copr.fedorainfracloud.org/results/m4rtink/python-pam-rebuild/centos-stream-10-x86_64/ \
-s http://download.devel.redhat.com/rhel-{$ distro_release $}/nightly/RHEL-{$ distro_release $}/latest-RHEL-{$ distro_release $}/compose/BaseOS/x86_64/os/ \
-s http://download.devel.redhat.com/rhel-{$ distro_release $}/nightly/RHEL-{$ distro_release $}/latest-RHEL-{$ distro_release $}/compose/AppStream/x86_64/os/ \
{% endif %}
-s file://$REPO_DIR/ \
"$@" \
Expand Down
34 changes: 34 additions & 0 deletions rpmlint.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# The purpose of this file is to overwrite some default config
# of rpmlint, which may not fit our project needs / specification
Filters = [
# Discard no-binary error for anaconda packages which cant be a noarch type
'anaconda.x86_64: E: no-binary',
'anaconda-install-env-deps.x86_64: E: no-binary',
'anaconda-install-img-deps.x86_64: E: no-binary',
# Discard explicite library dependencies
'explicit-lib-dependency flatpak-libs',
'explicit-lib-dependency libblockdev-lvm-dbus',
'explicit-lib-dependency librsvg2',
# Discard warning about binary debug symbols. Those are our helper
# binaries and it is not important for them to be stripped
'unstripped-binary-or-object /usr/libexec/anaconda/dd_extract',
'unstripped-binary-or-object /usr/libexec/anaconda/dd_list',
'unstripped-binary-or-object /usr/lib64/libAnacondaWidgets*',
'unstripped-binary-or-object /usr/lib64/glade/modules/libAnacondaWidgets*',
# Discard symbolic link warnings.
'dangling-symlink /usr/share/anaconda/window-manager/glib-2.0/schemas/org.gnome.*',
'dangling-relative-symlink /usr/lib/.build-id/*',
# Discard missing manual pages error
'no-manual-page-for-binary liveinst',
'no-manual-page-for-binary anaconda-cleanup',
'no-manual-page-for-binary anaconda-disable-nm-ibft-plugin',
'no-manual-page-for-binary anaconda-nm-disable-autocons',
'no-manual-page-for-binary instperf',
'no-manual-page-for-binary instperf',
'no-manual-page-for-binary anaconda',
'no-manual-page-for-binary handle-sshpw',
# Discard missing README / documentation for package
'no-documentation',
# Discard spelling errors for project commonly used words
'spelling-error .* en_US (metapackage|kickstarts|iso|eg|lorax) ',
]
Loading