Skip to content

Commit

Permalink
arch: remove the command, deprecated since 2.13, use coreutils version
Browse files Browse the repository at this point in the history
Signed-off-by: Karel Zak <[email protected]>
  • Loading branch information
karelzak committed Mar 14, 2013
1 parent 426f0ce commit 27abd80
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 148 deletions.
8 changes: 0 additions & 8 deletions Documentation/deprecated.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ Why: useless for kernel >= 2.6.9

---------------------------

What: arch(1) command
Why: deprecated in favor of uname(1) or arch(1) from coreutils

The arch(1) has been added (during 2.13 development cycle) to coreutils
where it will be maintained as an alias for uname(1) command.

----------------------------

What: last(1)
Why: nobody uses this implementation

Expand Down
10 changes: 0 additions & 10 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,6 @@ AC_ARG_ENABLE([most-builds],
[], enable_most_builds=no
)
if test "x$enable_most_builds" = xyes; then
enable_arch=check
enable_chfn_chsh=yes
enable_chkdupexe=yes
enable_elvtune=check
Expand Down Expand Up @@ -904,15 +903,6 @@ UL_REQUIRES_HAVE([setpriv], [cap_ng], [libcap-ng])
AM_CONDITIONAL(BUILD_SETPRIV, test "x$build_setpriv" = xyes)


AC_ARG_ENABLE([arch],
AS_HELP_STRING([--enable-arch], [do build arch]),
[], enable_arch=no
)
UL_BUILD_INIT([arch])
UL_REQUIRES_LINUX([arch])
AM_CONDITIONAL(BUILD_ARCH, test "x$build_arch" = xyes)


AC_ARG_ENABLE([eject],
AS_HELP_STRING([--disable-eject], [do not build eject]),
[], enable_eject=check
Expand Down
6 changes: 0 additions & 6 deletions sys-utils/Makemodule.am
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,6 @@ nsenter_SOURCES = sys-utils/nsenter.c
nsenter_LDADD = $(LDADD) libcommon.la
endif

if BUILD_ARCH
bin_PROGRAMS += arch
dist_man_MANS += sys-utils/arch.1
arch_SOURCES = sys-utils/arch.c
endif

if BUILD_HWCLOCK
sbin_PROGRAMS += hwclock
dist_man_MANS += sys-utils/hwclock.8
Expand Down
40 changes: 0 additions & 40 deletions sys-utils/arch.1

This file was deleted.

84 changes: 0 additions & 84 deletions sys-utils/arch.c

This file was deleted.

0 comments on commit 27abd80

Please sign in to comment.