Commit a8b72739 authored by Tomi Leppänen's avatar Tomi Leppänen

Enable which and add symlinks-which subpackage.

[packaging] Enable which. Contrbutes to JB#44455
[packaging] Add busybox-symlinks-which subpackage. Contributes to JB#44455
Signed-off-by: Tomi Leppänen's avatarTomi Leppänen <tomi.leppanen@jolla.com>
parent ffe58dbd
......@@ -375,7 +375,7 @@ CONFIG_DEFAULT_SETFONT_DIR=""
# CONFIG_START_STOP_DAEMON is not set
# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set
# CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set
# CONFIG_WHICH is not set
CONFIG_WHICH=y
#
# klibc-utils
......
......@@ -157,6 +157,20 @@ useful for recovering from certain types of system failures,
particularly those involving broken shared libraries. This
is the symlink implementing tar replacement.
%package symlinks-which
Requires: %{name} = %{version}-%{release}
Group: System/Shells
Summary: Busybox replacements for which
Provides: which = %{version}
Conflicts: util-linux <= 2.33+git1
%description symlinks-which
Busybox is a single binary which includes versions of a large number
of system commands, including a shell. This package can be very
useful for recovering from certain types of system failures,
particularly those involving broken shared libraries. This
is the symlink implementing which replacement.
%prep
%setup -q -n %{name}-%{version}/upstream
%patch0 -p1
......@@ -265,3 +279,7 @@ install -m 644 -t %{buildroot}/%{_docdir}/%{name}-%{version} \
%defattr(-,root,root,-)
%{_bindir}/tar
/bin/tar
%files symlinks-which
%defattr(-,root,root,-)
%{_bindir}/which
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment