Skip to content

Commit

Permalink
Merge branch 'jb39733' into 'master'
Browse files Browse the repository at this point in the history
Move dosfstools links to separate package.

See merge request !2
  • Loading branch information
Matti Kosola committed Jan 31, 2018
2 parents 00a336c + 907eba5 commit cb5cc0b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions rpm/busybox.spec
Expand Up @@ -12,6 +12,7 @@ URL: https://github.com/mer-packages/busybox
Obsoletes: time <= 1.7
Provides: time > 1.7

# Providing only part of iputils, but should be enough for us.
Obsoletes: iputils <= 20101006
Provides: iputils > 20101006

Expand Down Expand Up @@ -40,6 +41,18 @@ useful for recovering from certain types of system failures,
particularly those involving broken shared libraries. This package provides
a statically linked version of Busybox.

%package symlinks-dosfstools
Requires: %{name}
Group: System/Shells
Summary: Busybox replacements for dosfstools

%description symlinks-dosfstools
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 symlinks implementing part of dosfstools.

%package symlinks-gzip
Requires: %{name}
Group: System/Shells
Expand Down Expand Up @@ -111,8 +124,6 @@ install -m 755 busybox-static %{buildroot}/bin/busybox-static
/bin/busybox
/bin/ping
/bin/ping6
/sbin/mkdosfs
/sbin/mkfs.vfat
/usr/bin/time
/usr/bin/traceroute
/usr/bin/traceroute6
Expand All @@ -126,6 +137,11 @@ install -m 755 busybox-static %{buildroot}/bin/busybox-static
%defattr(-,root,root,-)
%doc LICENSE docs/busybox.net/*.html

%files symlinks-dosfstools
%defattr(-,root,root,-)
/sbin/mkdosfs
/sbin/mkfs.vfat

%files symlinks-gzip
%defattr(-,root,root,-)
/bin/gunzip
Expand Down

0 comments on commit cb5cc0b

Please sign in to comment.