2012-04-28 19:54:54 +00:00
|
|
|
#
|
2015-02-01 13:11:17 +00:00
|
|
|
# Copyright (C) 2007-2015 OpenWrt.org
|
2012-04-28 19:54:54 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=util-linux
|
2016-04-17 15:16:12 +00:00
|
|
|
PKG_VERSION:=2.28
|
|
|
|
PKG_RELEASE:=1
|
2012-04-28 19:54:54 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2016-04-17 15:16:12 +00:00
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.28
|
|
|
|
PKG_MD5SUM:=e534e6ccc49107e5d31c329af798ef7d
|
2012-04-28 19:54:54 +00:00
|
|
|
|
2014-11-03 09:56:44 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
2016-05-27 19:25:14 +00:00
|
|
|
PKG_LICENSE_FILES:= COPYING \
|
|
|
|
getopt/COPYING \
|
|
|
|
libblkid/COPYING \
|
|
|
|
libmount/COPYING \
|
|
|
|
Documentation/licenses/COPYING.GPLv2 \
|
|
|
|
Documentation/licenses/COPYING.LGPLv2.1 \
|
|
|
|
libuuid/COPYING \
|
|
|
|
Documentation/licenses/COPYING.BSD-3
|
2012-10-19 15:34:28 +00:00
|
|
|
|
2016-05-27 19:25:14 +00:00
|
|
|
PKG_BUILD_PARALLEL:=0
|
2015-02-01 13:11:17 +00:00
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS:= \
|
|
|
|
CONFIG_PACKAGE_cal \
|
|
|
|
CONFIG_PACKAGE_cfdisk \
|
|
|
|
CONFIG_PACKAGE_setterm
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2016-05-25 13:30:02 +00:00
|
|
|
PKG_INSTALL:=1
|
2012-04-28 19:54:54 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/util-linux/Default
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
URL:=http://www.kernel.org/pub/linux/utils/util-linux/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libblkid
|
|
|
|
$(call Package/util-linux/Default)
|
2012-06-10 20:27:24 +00:00
|
|
|
DEPENDS:=+libuuid
|
2012-04-28 19:54:54 +00:00
|
|
|
TITLE:=block device id library
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libblkid/description
|
|
|
|
The libblkid library is used to identify block devices (disks) as to their
|
|
|
|
content (e.g. filesystem type, partitions) as well as extracting additional
|
|
|
|
information such as filesystem labels/volume names, partitions, unique
|
|
|
|
identifiers/serial numbers...
|
|
|
|
endef
|
|
|
|
|
2016-04-17 15:16:12 +00:00
|
|
|
define Package/libfdisk
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
DEPENDS:=+libuuid +libblkid
|
|
|
|
TITLE:=partition manipulating library
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libfdisk/description
|
|
|
|
The libfdisk library is used for manipulating with partition tables.
|
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/libmount
|
|
|
|
$(call Package/util-linux/Default)
|
2012-06-11 00:56:41 +00:00
|
|
|
DEPENDS:=+libblkid
|
2012-04-28 19:54:54 +00:00
|
|
|
TITLE:=mount library
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
endef
|
|
|
|
|
2012-05-30 20:16:29 +00:00
|
|
|
define Package/libmount/description
|
2012-04-28 19:54:54 +00:00
|
|
|
The libmount library is used to parse /etc/fstab, /etc/mtab and
|
|
|
|
/proc/self/mountinfo files, manage the mtab file, evaluate mount options...
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libuuid
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=DCE compatible Universally Unique Identifier library
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libuuid/description
|
|
|
|
The UUID library is used to generate unique identifiers for objects
|
|
|
|
that may be accessible beyond the local system. This library
|
|
|
|
generates UUIDs compatible with those created by the Open Software
|
|
|
|
Foundation (OSF) Distributed Computing Environment (DCE) utility.
|
|
|
|
endef
|
|
|
|
|
2014-12-01 12:40:06 +00:00
|
|
|
define Package/libsmartcols
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=table or tree library
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libsmartcols/description
|
|
|
|
The smartcols library is used to print tables and trees in a pretty way.
|
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/agetty
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=alternative Linux getty
|
|
|
|
SUBMENU=Terminal
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/agetty/description
|
|
|
|
agetty opens a tty port, prompts for a login name and invokes the
|
|
|
|
/bin/login command
|
|
|
|
endef
|
|
|
|
|
2016-02-12 08:30:56 +00:00
|
|
|
define Package/blkdiscard
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=discard sectors on a device
|
|
|
|
SUBMENU=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/blkdiscard/description
|
|
|
|
The blkdiscard is used to discard device sectors. This is useful for
|
|
|
|
solid-state drivers (SSDs) and thinly-provisioned storage. Unlike fstrim,
|
|
|
|
this command is used directly on the block device.
|
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/blkid
|
|
|
|
$(call Package/util-linux/Default)
|
2016-05-25 13:30:02 +00:00
|
|
|
TITLE:=locate and print block device attributes
|
2014-12-01 16:50:43 +00:00
|
|
|
DEPENDS:= +libblkid +libuuid
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/blkid/description
|
|
|
|
The blkid program is the command-line interface to working with the libblkid
|
|
|
|
library.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/cal
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=display a calendar
|
|
|
|
DEPENDS:= +libncurses
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/cal/description
|
|
|
|
cal displays a simple calendar
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/cfdisk
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=display or manipulate disk partition table
|
2016-04-17 15:16:12 +00:00
|
|
|
DEPENDS:= +libblkid +libncurses +libsmartcols +libfdisk +libmount
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU:=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/cfdisk/description
|
|
|
|
cfdisk is a curses-based program for partitioning any hard disk drive
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/dmesg
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=print or control the kernel ring buffer
|
2014-10-26 16:57:27 +00:00
|
|
|
DEPENDS:= +librt
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/dmesg/description
|
|
|
|
dmesg is used to examine or control the kernel ring buffer
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fdisk
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=manipulate disk partition table
|
2016-04-17 15:16:12 +00:00
|
|
|
DEPENDS:= +libblkid +libsmartcols +libfdisk
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fdisk/description
|
|
|
|
a menu-driven program for creation and manipulation of partition tables
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/findfs
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=find a filesystem by label or UUID
|
2012-06-10 20:27:24 +00:00
|
|
|
DEPENDS:= +libblkid
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/findfs/description
|
|
|
|
findfs will search the disks in the system looking for a filesystem which has
|
|
|
|
a label matching label or a UUID equal to uuid
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/flock
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=manage locks from shell scripts
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/flock/description
|
|
|
|
manages flock locks from within shell scripts or the command line
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/getopt
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=parse command options (enhanced)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/getopt/description
|
|
|
|
getopt is used to break up (parse) options in command lines for easy parsing
|
|
|
|
by shell procedures, and to check for legal options
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hwclock
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=query or set the hardware clock
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hwclock/description
|
|
|
|
hwclock is a tool for accessing the Hardware Clock
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/logger
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=a shell command interface to the syslog system log module
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/logger/description
|
2012-06-05 20:54:33 +00:00
|
|
|
logger makes entries in the system log, it provides a shell command interface
|
|
|
|
to the syslog system log module
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/look
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=display lines beginning with a given string
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/look/description
|
|
|
|
look utility displays any lines in file which contain string
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/losetup
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=set up and control loop devices
|
2015-01-05 10:11:28 +00:00
|
|
|
DEPENDS:= +libsmartcols
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/losetup/description
|
|
|
|
losetup is used to associate loop devices with regular files or block devices,
|
|
|
|
to detach loop devices and to query the status of a loop device
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/lsblk
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=list block devices
|
2014-12-01 12:40:06 +00:00
|
|
|
DEPENDS:= +libblkid +libmount +libsmartcols
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/lsblk/description
|
|
|
|
lsblk lists information about all or the specified block devices
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mcookie
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=generate magic cookies for xauth
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mcookie/description
|
|
|
|
mcookie generates a 128-bit random hexadecimal number for use with the X
|
|
|
|
authority system
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mount-utils
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=related (u)mount utilities
|
2014-12-01 16:18:15 +00:00
|
|
|
DEPENDS+= +libmount +libsmartcols
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mount-utils/description
|
|
|
|
contains: mount, umount, findmnt
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/namei
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=follow a pathname until a terminal point is found
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/namei/description
|
|
|
|
namei uses its arguments as pathnames to any type of Unix file (symlinks,
|
|
|
|
files, directories, and so forth)
|
|
|
|
endef
|
|
|
|
|
2015-09-11 16:35:02 +00:00
|
|
|
define Package/prlimit
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=get and set process resource limits
|
|
|
|
DEPENDS:= +libsmartcols
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/prlimit/description
|
|
|
|
Given a process id and one or more resources, prlimit tries to retrieve
|
|
|
|
and/or modify the limits.
|
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/rename
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=rename files
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/rename/description
|
|
|
|
rename will rename the specified files by replacing the first occurrence of
|
|
|
|
expression in their name by replacement
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/partx-utils
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=inform kernel about the presence and numbering of on-disk partitions
|
2014-12-01 16:50:43 +00:00
|
|
|
DEPENDS:= +libblkid +libsmartcols
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/partx-utils/description
|
|
|
|
contains partx, addpart, delpart
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/script-utils
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=make and replay typescript of terminal session
|
|
|
|
SUBMENU=Terminal
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/script-utils/description
|
|
|
|
contains: script, scriptreplay
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/setterm
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=set terminal attributes
|
2012-06-11 00:56:41 +00:00
|
|
|
DEPENDS:= +libncurses
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU:=Terminal
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/setterm/description
|
|
|
|
setterm writes to standard output a character string that will invoke the
|
|
|
|
specified terminal capabilities
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sfdisk
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=partition table manipulator for Linux
|
|
|
|
SUBMENU=disc
|
2016-05-25 13:30:02 +00:00
|
|
|
DEPENDS:= +libblkid +libfdisk +libsmartcols
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sfdisk/description
|
|
|
|
list the size of a partition, list the partitions on a device, check the
|
|
|
|
partitions on a device and repartition a device
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/swap-utils
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=swap space management utilities
|
2012-06-10 20:27:24 +00:00
|
|
|
DEPENDS+= +libblkid
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU:=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/swap-utils/description
|
2013-11-07 12:46:04 +00:00
|
|
|
contains: mkswap, swaplabel
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/uuidd
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=UUID generation daemon
|
|
|
|
DEPENDS:= +libuuid
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/uuidd/description
|
|
|
|
The uuidd daemon is used by the UUID library to generate universally unique
|
|
|
|
identifiers (UUIDs), especially time-based UUIDs, in a secure and
|
|
|
|
guaranteed-unique fashion, even in the face of large numbers of threads
|
|
|
|
running on different CPUs trying to grab UUIDs.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/uuidgen
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=create a new UUID value
|
|
|
|
DEPENDS:= +libuuid
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/uuidgen/description
|
|
|
|
The uuidgen program creates (and prints) a new universally unique identifier
|
|
|
|
(UUID) using the libuuid library. The new UUID can reasonably be considered
|
|
|
|
unique among all UUIDs created on the local system, and among UUIDs created on
|
|
|
|
other systems in the past and in the future.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wall
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=send a message to everybody's terminal
|
|
|
|
SUBMENU=Terminal
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wall/description
|
2012-06-05 20:54:33 +00:00
|
|
|
wall sends a message to everybody logged in with their mesg permission
|
2012-04-28 19:54:54 +00:00
|
|
|
set to yes
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/whereis
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=locate the binary, source, and manual page files for a command
|
|
|
|
endef
|
|
|
|
|
2012-05-30 20:16:29 +00:00
|
|
|
define Package/whereis/description
|
2012-04-28 19:54:54 +00:00
|
|
|
whereis locates source/binary and manuals sections for specified files
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wipefs
|
|
|
|
$(call Package/util-linux/Default)
|
|
|
|
TITLE:=wipe a signature from a device
|
2012-06-10 20:27:24 +00:00
|
|
|
DEPENDS:= +libblkid
|
2012-04-28 19:54:54 +00:00
|
|
|
SUBMENU:=disc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wipefs/description
|
|
|
|
wipefs can erase filesystem, raid or partition table signatures (magic
|
|
|
|
strings) from the specified device to make the signature invisible for
|
|
|
|
libblkid.
|
|
|
|
endef
|
|
|
|
|
2016-05-25 13:30:02 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--disable-use-tty-group \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-tls \
|
|
|
|
--disable-sulogin \
|
|
|
|
--without-python \
|
|
|
|
--without-udev \
|
|
|
|
--without-readline \
|
|
|
|
$(if $(CONFIG_PACKAGE_cal)$(CONFIG_PACKAGE_cfdisk)$(CONFIG_PACKAGE_setterm),--with-ncurses,--without-ncurses)
|
|
|
|
|
|
|
|
TARGET_CFLAGS += $(FPIC) -std=gnu99
|
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/blkid.pc $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fdisk.pc $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mount.pc $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/smartcols.pc $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/uuid.pc $(1)/usr/lib/pkgconfig
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/blkid
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/blkid/blkid.h $(1)/usr/include/blkid
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/libfdisk
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libfdisk/libfdisk.h $(1)/usr/include/libfdisk
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/libmount
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libmount/libmount.h $(1)/usr/include/libmount
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/uuid
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/uuid/uuid.h $(1)/usr/include/uuid
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/libsmartcols
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libsmartcols/libsmartcols.h $(1)/usr/include/libsmartcols
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2016-05-27 19:25:14 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib
|
|
|
|
|
|
|
|
$(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
|
|
|
|
$(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
|
|
|
|
$(LN) libmount.so.1 $(1)/usr/lib/libmount.so
|
|
|
|
$(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
|
|
|
|
$(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
|
2016-05-25 13:30:02 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
2016-04-17 15:16:12 +00:00
|
|
|
define Package/libfdisk/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2016-05-25 13:30:02 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib/
|
2016-05-27 19:25:14 +00:00
|
|
|
$(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
|
2016-04-17 15:16:12 +00:00
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/libblkid/install
|
2015-03-22 12:37:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2016-05-25 13:30:02 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib/
|
2016-05-27 19:25:14 +00:00
|
|
|
$(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libmount/install
|
2015-03-22 12:37:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2016-05-25 13:30:02 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib/
|
2016-05-27 19:25:14 +00:00
|
|
|
$(LN) libmount.so.1 $(1)/usr/lib/libmount.so
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
2014-12-01 12:40:06 +00:00
|
|
|
define Package/libsmartcols/install
|
2015-03-22 12:37:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2016-05-25 13:30:02 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib/
|
2016-05-27 19:25:14 +00:00
|
|
|
$(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
|
2014-12-01 12:40:06 +00:00
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/libuuid/install
|
2015-03-22 12:37:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2016-05-25 13:30:02 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib/
|
2016-05-27 19:25:14 +00:00
|
|
|
$(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/agetty/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/agetty $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
2016-02-12 08:30:56 +00:00
|
|
|
define Package/blkdiscard/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkdiscard $(1)/usr/sbin/
|
2016-02-12 08:30:56 +00:00
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/blkid/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkid $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/cal/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cal $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/cfdisk/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cfdisk $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
2014-10-26 16:57:27 +00:00
|
|
|
define Package/dmesg/install
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dmesg $(1)/usr/bin/
|
2014-10-26 16:57:27 +00:00
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/fdisk/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fdisk $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/findfs/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/findfs $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/flock/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/flock $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/getopt/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getopt $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hwclock/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hwclock $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/logger/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/logger $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/look/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/look $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/losetup/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/losetup $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/lsblk/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsblk $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mcookie/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mount-utils/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{u,}mount $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mountpoint $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/findmnt $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/namei/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
2015-09-11 16:35:02 +00:00
|
|
|
define Package/prlimit/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(1)/usr/bin/
|
2015-09-11 16:35:02 +00:00
|
|
|
endef
|
|
|
|
|
2012-04-28 19:54:54 +00:00
|
|
|
define Package/rename/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rename $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/partx-utils/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/partx $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/addpart $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/delpart $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/script-utils/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/script $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scriptreplay $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/setterm/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/setterm $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sfdisk/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sfdisk $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/swap-utils/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkswap $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/uuidd/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/uuidgen/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin//uuidgen $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wall/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wall $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/whereis/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whereis $(1)/usr/bin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wipefs/install
|
2012-12-19 16:07:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2016-05-25 13:30:02 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wipefs $(1)/usr/sbin/
|
2012-04-28 19:54:54 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libblkid))
|
2016-04-17 15:16:12 +00:00
|
|
|
$(eval $(call BuildPackage,libfdisk))
|
2012-04-28 19:54:54 +00:00
|
|
|
$(eval $(call BuildPackage,libmount))
|
2014-12-01 12:40:06 +00:00
|
|
|
$(eval $(call BuildPackage,libsmartcols))
|
2012-04-28 19:54:54 +00:00
|
|
|
$(eval $(call BuildPackage,libuuid))
|
|
|
|
$(eval $(call BuildPackage,agetty))
|
2016-02-12 08:30:56 +00:00
|
|
|
$(eval $(call BuildPackage,blkdiscard))
|
2012-04-28 19:54:54 +00:00
|
|
|
$(eval $(call BuildPackage,blkid))
|
|
|
|
$(eval $(call BuildPackage,cal))
|
|
|
|
$(eval $(call BuildPackage,cfdisk))
|
|
|
|
$(eval $(call BuildPackage,dmesg))
|
|
|
|
$(eval $(call BuildPackage,fdisk))
|
|
|
|
$(eval $(call BuildPackage,findfs))
|
|
|
|
$(eval $(call BuildPackage,flock))
|
|
|
|
$(eval $(call BuildPackage,getopt))
|
|
|
|
$(eval $(call BuildPackage,hwclock))
|
|
|
|
$(eval $(call BuildPackage,logger))
|
|
|
|
$(eval $(call BuildPackage,look))
|
|
|
|
$(eval $(call BuildPackage,losetup))
|
|
|
|
$(eval $(call BuildPackage,lsblk))
|
|
|
|
$(eval $(call BuildPackage,mcookie))
|
|
|
|
$(eval $(call BuildPackage,mount-utils))
|
|
|
|
$(eval $(call BuildPackage,namei))
|
2015-09-11 16:35:02 +00:00
|
|
|
$(eval $(call BuildPackage,prlimit))
|
2012-04-28 19:54:54 +00:00
|
|
|
$(eval $(call BuildPackage,rename))
|
|
|
|
$(eval $(call BuildPackage,partx-utils))
|
|
|
|
$(eval $(call BuildPackage,script-utils))
|
|
|
|
$(eval $(call BuildPackage,setterm))
|
|
|
|
$(eval $(call BuildPackage,sfdisk))
|
|
|
|
$(eval $(call BuildPackage,swap-utils))
|
|
|
|
$(eval $(call BuildPackage,uuidd))
|
|
|
|
$(eval $(call BuildPackage,uuidgen))
|
|
|
|
$(eval $(call BuildPackage,wall))
|
|
|
|
$(eval $(call BuildPackage,whereis))
|
|
|
|
$(eval $(call BuildPackage,wipefs))
|