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

[PackageKit] Point ZYPPTMPDIR to home partition. Fixes JB#62835 #3

Merged
merged 1 commit into from
Nov 15, 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
5 changes: 5 additions & 0 deletions rpm/PackageKit.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{ver
Source100: rpm-db-clean.service
Source101: pk-rpm-db-clean
Source102: packagekit-zypp-override.conf
Source103: packagekit.sysconfig

Requires: PackageKit-zypp = %{version}-%{release}
Requires: shared-mime-info
Expand Down Expand Up @@ -101,6 +102,9 @@ using PackageKit.
# Create cache dir
mkdir -p %{buildroot}%{_localstatedir}/cache/PackageKit

# Environment file for libzypp
install -D -m 0644 %{SOURCE103} %{buildroot}/%{_sysconfdir}/sysconfig/packagekit

# delete unneeded things
rm -r ${RPM_BUILD_ROOT}/%{_datadir}/PackageKit/helpers/test_spawn
rm ${RPM_BUILD_ROOT}/%{_libdir}/packagekit-backend/libpk_backend_test_*.so
Expand Down Expand Up @@ -159,6 +163,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%dir %{_libdir}/packagekit-backend
%config %{_sysconfdir}/PackageKit/*.conf
%config %{_sysconfdir}/dbus-1/system.d/*
%config %{_sysconfdir}/sysconfig/packagekit
%{_datadir}/polkit-1/actions/*.policy
%{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules
# applies only to some desktop distributions
Expand Down
2 changes: 2 additions & 0 deletions rpm/packagekit.sysconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PACKAGEKIT_ARGS="--keep-environment"
ZYPPTMPDIR="/home/.zypp-tmp"
Loading