Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <tomi.leppanen@jolla.com>
  • Loading branch information
Tomin1 committed Aug 2, 2019
1 parent ffe58db commit a8b7273
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/busybox-sailfish.config
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions rpm/busybox.spec
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit a8b7273

Please sign in to comment.