2 # Copyright (C) 2007-2018 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_RELEASE
:=$(AUTORELEASE
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=@KERNEL
/linux
/utils
/$(PKG_NAME
)/v2.37
16 PKG_HASH
:=bd07b7e98839e0359842110525a3032fdb8eaf3a90bedde3dd1652d32d15cce5
17 PKG_CPE_ID
:=cpe
:/a
:kernel
:util-linux
19 PKG_LICENSE
:=GPL-2.0
-only
20 PKG_LICENSE_FILES
:= COPYING \
23 Documentation
/licenses
/COPYING.GPLv2 \
24 Documentation
/licenses
/COPYING.LGPLv2.1 \
26 Documentation
/licenses
/COPYING.BSD-3
33 DISABLE_NLS
:=--disable-nls
35 include $(INCLUDE_DIR
)/package.mk
37 define Package
/util-linux
/Default
41 URL
:=http
://www.kernel.org
/pub
/linux
/utils
/util-linux
/
44 define Package
/libblkid
45 $(call Package
/util-linux
/Default
)
47 TITLE
:=block device id library
53 define Package
/libblkid
/description
54 The libblkid library is used to identify block devices
(disks
) as to their
55 content
(e.g. filesystem type
, partitions
) as well
as extracting additional
56 information such
as filesystem labels
/volume names
, partitions
, unique
57 identifiers
/serial numbers...
60 define Package
/libfdisk
61 $(call Package
/util-linux
/Default
)
62 DEPENDS
:=+libuuid
+libblkid
63 TITLE
:=partition manipulating library
69 define Package
/libfdisk
/description
70 The libfdisk library is used for manipulating with partition tables.
73 define Package
/libmount
74 $(call Package
/util-linux
/Default
)
82 define Package
/libmount
/description
83 The libmount library is used to parse
/etc
/fstab
, /etc
/mtab and
84 /proc
/self
/mountinfo files
, manage the mtab file
, evaluate mount options...
87 define Package
/libuuid
88 $(call Package
/util-linux
/Default
)
89 TITLE
:=DCE compatible Universally Unique Identifier library
95 define Package
/libuuid
/description
96 The UUID library is used to generate unique identifiers for objects
97 that may be accessible beyond the local system. This library
98 generates UUIDs compatible with those created by the Open Software
99 Foundation
(OSF
) Distributed Computing Environment
(DCE
) utility.
102 define Package
/libsmartcols
103 $(call Package
/util-linux
/Default
)
104 TITLE
:=table or tree library
110 define Package
/libsmartcols
/description
111 The smartcols library is used to
print tables and trees in a pretty way.
114 define Package
/agetty
115 $(call Package
/util-linux
/Default
)
116 TITLE
:=alternative Linux getty
120 define Package
/agetty
/description
121 agetty opens a tty port
, prompts for a login name and invokes the
125 define Package
/blkdiscard
126 $(call Package
/util-linux
/Default
)
127 TITLE
:=discard sectors on a device
132 define Package
/blkdiscard
/description
133 The blkdiscard is used to discard device sectors. This is useful for
134 solid-state drivers
(SSDs
) and thinly-provisioned storage. Unlike fstrim
,
135 this command is used directly on the block device.
139 $(call Package
/util-linux
/Default
)
140 TITLE
:=locate and
print block device attributes
141 DEPENDS
:= +libblkid
+libuuid
145 define Package
/blkid
/description
146 The blkid program is the command-line interface to working with the libblkid
150 define Package
/blockdev
151 $(call Package
/util-linux
/Default
)
152 TITLE
:=call block device ioctls from the command line
156 define Package
/blockdev
/description
157 The blockdev program is the command-line interface to call block device ioctls.
161 $(call Package
/util-linux
/Default
)
162 TITLE
:=display a calendar
163 DEPENDS
:= +libncurses
166 define Package
/cal
/description
167 cal displays a simple calendar
170 define Package
/cfdisk
171 $(call Package
/util-linux
/Default
)
172 TITLE
:=display or manipulate disk partition table
173 DEPENDS
:= +libblkid
+libncurses
+libsmartcols
+libfdisk
+libmount
177 define Package
/cfdisk
/description
178 cfdisk is a curses-based program for partitioning any hard disk drive
182 $(call Package
/util-linux
/Default
)
183 TITLE
:=print or control the kernel ring buffer
184 DEPENDS
:= +libncursesw
187 define Package
/dmesg
/description
188 dmesg is used to examine or control the kernel ring buffer
192 $(call Package
/util-linux
/Default
)
193 TITLE
:=eject removable media
194 DEPENDS
:= +libblkid
+libmount
+libuuid
198 define Package
/eject
/description
199 eject allows removable media
(typically a CD-ROM
, floppy disk
, tape
, or JAZ
200 or ZIP disk
) to be ejected under software control.
204 $(call Package
/util-linux
/Default
)
205 TITLE
:=manipulate disk partition table
206 DEPENDS
:= +libblkid
+libsmartcols
+libfdisk
+libncursesw
210 define Package
/fdisk
/description
211 a menu-driven program for creation and manipulation of partition tables
214 define Package
/findfs
215 $(call Package
/util-linux
/Default
)
216 TITLE
:=find a filesystem by label or UUID
221 define Package
/findfs
/description
222 findfs will search the disks in the system looking for a filesystem which has
223 a label matching label or a UUID equal to uuid
227 $(call Package
/util-linux
/Default
)
228 TITLE
:=manage locks from
shell scripts
229 ALTERNATIVES
:=200:/usr
/bin
/flock
:/usr
/bin
/util-linux-flock
232 define Package
/flock
/description
233 manages flock locks from within
shell scripts or the command line
236 define Package
/fstrim
237 $(call Package
/util-linux
/Default
)
238 TITLE
:=discard unused blocks on a mounted filesystem
239 DEPENDS
:= +libblkid
+libuuid
+libsmartcols
+libmount
243 define Package
/fstrim
/description
244 fstrim is used on a mounted filesystem to discard
(or
"trim") blocks
245 which are not in use by the filesystem. This is useful for solid-
246 state drives
(SSDs
) and thinly-provisioned storage.
249 define Package
/getopt
250 $(call Package
/util-linux
/Default
)
251 TITLE
:=parse command options
(enhanced
)
254 define Package
/getopt
/description
255 getopt is used to break up
(parse
) options in command lines for easy parsing
256 by
shell procedures
, and to
check for legal options
259 define Package
/hwclock
260 $(call Package
/util-linux
/Default
)
261 TITLE
:=query or set the hardware clock
264 define Package
/hwclock
/description
265 hwclock is a tool for accessing the Hardware Clock
268 define Package
/logger
269 $(call Package
/util-linux
/Default
)
270 TITLE
:=a
shell command interface to the syslog system log module
271 ALTERNATIVES
:=200:/usr
/bin
/logger
:/usr
/bin
/util-linux-logger
274 define Package
/logger
/description
275 logger makes entries in the system log
, it provides a
shell command interface
276 to the syslog system log module
280 $(call Package
/util-linux
/Default
)
281 TITLE
:=display lines beginning with a given string
284 define Package
/look
/description
285 look utility displays any lines in file which contain string
288 define Package
/losetup
289 $(call Package
/util-linux
/Default
)
290 TITLE
:=set up and control loop devices
291 DEPENDS
:= +libsmartcols
294 define Package
/losetup
/description
295 losetup is used to associate loop devices with regular files or block devices
,
296 to detach loop devices and to query the status of a loop device
300 $(call Package
/util-linux
/Default
)
301 TITLE
:=list block devices
302 DEPENDS
:= +libblkid
+libmount
+libsmartcols
306 define Package
/lsblk
/description
307 lsblk lists information about
all or the specified block devices
311 $(call Package
/util-linux
/Default
)
312 TITLE
:=display information about the CPU architecture
313 DEPENDS
:= +libsmartcols
316 define Package
/lscpu
/description
317 lscpu displays information about the CPU architecture
321 $(call Package
/util-linux
/Default
)
322 TITLE
:=filter for paging through text one screenful at a time
323 DEPENDS
:= +libncurses
326 define Package
/more
/description
327 more is a
filter for paging through text one screenful at a time
330 define Package
/mcookie
331 $(call Package
/util-linux
/Default
)
332 TITLE
:=generate magic cookies for xauth
335 define Package
/mcookie
/description
336 mcookie generates a
128-bit random hexadecimal number for use with the X
340 define Package
/mount-utils
341 $(call Package
/util-linux
/Default
)
342 TITLE
:=related
(u
)mount utilities
343 DEPENDS
+= +libmount
+libsmartcols
346 define Package
/mount-utils
/description
347 contains
: mount
, umount
, findmnt
351 $(call Package
/util-linux
/Default
)
352 TITLE
:=follow a pathname until a terminal point is found
355 define Package
/namei
/description
356 namei uses its arguments
as pathnames to any type of Unix file
(symlinks
,
357 files
, directories
, and so forth
)
360 define Package
/nsenter
361 $(call Package
/util-linux
/Default
)
362 TITLE
:=enter a namespace
365 define Package
/nsenter
/description
366 run program with namespaces of other processes
369 define Package
/prlimit
370 $(call Package
/util-linux
/Default
)
371 TITLE
:=get and set process resource limits
372 DEPENDS
:= +libsmartcols
375 define Package
/prlimit
/description
376 Given a process id and one or more resources
, prlimit tries to retrieve
377 and
/or modify the limits.
380 define Package
/rename
381 $(call Package
/util-linux
/Default
)
385 define Package
/rename
/description
386 rename will rename the specified files by replacing the first occurrence of
387 expression in their name by replacement
390 define Package
/partx-utils
391 $(call Package
/util-linux
/Default
)
392 TITLE
:=inform kernel about the presence and numbering of on-disk partitions
393 DEPENDS
:= +libblkid
+libsmartcols
397 define Package
/partx-utils
/description
398 contains partx
, addpart
, delpart
401 define Package
/script-utils
402 $(call Package
/util-linux
/Default
)
403 TITLE
:=make and replay typescript of terminal session
407 define Package
/script-utils
/description
408 contains
: script
, scriptreplay
411 define Package
/setterm
412 $(call Package
/util-linux
/Default
)
413 TITLE
:=set terminal attributes
414 DEPENDS
:= +libncurses
418 define Package
/setterm
/description
419 setterm writes to standard output a character string that will invoke the
420 specified terminal capabilities
423 define Package
/sfdisk
424 $(call Package
/util-linux
/Default
)
425 TITLE
:=partition table manipulator for Linux
427 DEPENDS
:= +libblkid
+libfdisk
+libsmartcols
+libncursesw
430 define Package
/sfdisk
/description
431 list the size of a partition
, list the partitions on a device
, check the
432 partitions on a device and repartition a device
435 define Package
/swap-utils
436 $(call Package
/util-linux
/Default
)
437 TITLE
:=swap space management utilities
442 define Package
/swap-utils
/description
443 contains
: mkswap
, swaplabel
446 define Package
/unshare
447 $(call Package
/util-linux
/Default
)
448 TITLE
:=unshare userspace tool
451 define Package
/unshare
/description
452 run programs with some namespaces unshared from parent
456 $(call Package
/util-linux
/Default
)
457 TITLE
:=UUID generation daemon
461 define Package
/uuidd
/description
462 The uuidd daemon is used by the UUID library to generate universally unique
463 identifiers
(UUIDs
), especially time-based UUIDs
, in a secure and
464 guaranteed-unique fashion
, even in the face of large numbers of threads
465 running on different CPUs trying to grab UUIDs.
468 define Package
/uuidgen
469 $(call Package
/util-linux
/Default
)
470 TITLE
:=create a new UUID value
474 define Package
/uuidgen
/description
475 The uuidgen program creates
(and prints
) a new universally unique identifier
476 (UUID
) using the libuuid library. The new UUID can reasonably be considered
477 unique among
all UUIDs created on the local system
, and among UUIDs created on
478 other systems in the past and in the future.
482 $(call Package
/util-linux
/Default
)
483 TITLE
:=send a message to everybody
's terminal
487 define Package/wall/description
488 wall sends a message to everybody logged in with their mesg permission
492 define Package/whereis
493 $(call Package/util-linux/Default)
494 TITLE:=locate the binary, source, and manual page files for a command
497 define Package/whereis/description
498 whereis locates source/binary and manuals sections for specified files
501 define Package/wipefs
502 $(call Package/util-linux/Default)
503 TITLE:=wipe a signature from a device
504 DEPENDS:= +libblkid +libsmartcols
508 define Package/wipefs/description
509 wipefs can erase filesystem, raid or partition table signatures (magic
510 strings) from the specified device to make the signature invisible for
515 --disable-use-tty-group \
520 --disable-makeinstall-chown \
525 --disable-chfn-chsh \
532 TARGET_CFLAGS += $(FPIC) -std=gnu99
534 define Build/InstallDev
535 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
536 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/blkid.pc $(1)/usr/lib/pkgconfig
537 $(SED) 's
,/usr
/include,$$$${prefix}/include,g
' $(1)/usr/lib/pkgconfig/blkid.pc
538 $(SED) 's
,/usr
/lib
,$$$${exec_prefix}/lib
,g
' $(1)/usr/lib/pkgconfig/blkid.pc
539 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fdisk.pc $(1)/usr/lib/pkgconfig
540 $(SED) 's
,/usr
/include,$$$${prefix}/include,g
' $(1)/usr/lib/pkgconfig/fdisk.pc
541 $(SED) 's
,/usr
/lib
,$$$${exec_prefix}/lib
,g
' $(1)/usr/lib/pkgconfig/fdisk.pc
542 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mount.pc $(1)/usr/lib/pkgconfig
543 $(SED) 's
,/usr
/include,$$$${prefix}/include,g
' $(1)/usr/lib/pkgconfig/mount.pc
544 $(SED) 's
,/usr
/lib
,$$$${exec_prefix}/lib
,g
' $(1)/usr/lib/pkgconfig/mount.pc
545 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/smartcols.pc $(1)/usr/lib/pkgconfig
546 $(SED) 's
,/usr
/include,$$$${prefix}/include,g
' $(1)/usr/lib/pkgconfig/smartcols.pc
547 $(SED) 's
,/usr
/lib
,$$$${exec_prefix}/lib
,g
' $(1)/usr/lib/pkgconfig/smartcols.pc
548 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/uuid.pc $(1)/usr/lib/pkgconfig
549 $(SED) 's
,/usr
/include,$$$${prefix}/include,g
' $(1)/usr/lib/pkgconfig/uuid.pc
550 $(SED) 's
,/usr
/lib
,$$$${exec_prefix}/lib
,g
' $(1)/usr/lib/pkgconfig/uuid.pc
552 $(INSTALL_DIR) $(1)/usr/include/blkid
553 $(CP) $(PKG_INSTALL_DIR)/usr/include/blkid/blkid.h $(1)/usr/include/blkid
554 $(INSTALL_DIR) $(1)/usr/include/libfdisk
555 $(CP) $(PKG_INSTALL_DIR)/usr/include/libfdisk/libfdisk.h $(1)/usr/include/libfdisk
556 $(INSTALL_DIR) $(1)/usr/include/libmount
557 $(CP) $(PKG_INSTALL_DIR)/usr/include/libmount/libmount.h $(1)/usr/include/libmount
558 $(INSTALL_DIR) $(1)/usr/include/uuid
559 $(CP) $(PKG_INSTALL_DIR)/usr/include/uuid/uuid.h $(1)/usr/include/uuid
560 $(INSTALL_DIR) $(1)/usr/include/libsmartcols
561 $(CP) $(PKG_INSTALL_DIR)/usr/include/libsmartcols/libsmartcols.h $(1)/usr/include/libsmartcols
563 $(INSTALL_DIR) $(1)/usr/lib
564 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib
565 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib
566 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib
567 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib
568 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib
570 $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
571 $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
572 $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
573 $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
574 $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
578 define Package/libfdisk/install
579 $(INSTALL_DIR) $(1)/usr/lib
580 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so.* $(1)/usr/lib/
583 define Package/libblkid/install
584 $(INSTALL_DIR) $(1)/usr/lib
585 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so.* $(1)/usr/lib/
588 define Package/libmount/install
589 $(INSTALL_DIR) $(1)/usr/lib
590 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so.* $(1)/usr/lib/
593 define Package/libsmartcols/install
594 $(INSTALL_DIR) $(1)/usr/lib
595 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so.* $(1)/usr/lib/
598 define Package/libuuid/install
599 $(INSTALL_DIR) $(1)/usr/lib
600 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so.* $(1)/usr/lib/
603 define Package/agetty/install
604 $(INSTALL_DIR) $(1)/usr/sbin
605 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/agetty $(1)/usr/sbin/
608 define Package/blkdiscard/install
609 $(INSTALL_DIR) $(1)/usr/sbin
610 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkdiscard $(1)/usr/sbin/
613 define Package/blkid/install
614 $(INSTALL_DIR) $(1)/usr/sbin
615 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkid $(1)/usr/sbin/
618 define Package/blockdev/install
619 $(INSTALL_DIR) $(1)/usr/sbin
620 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blockdev $(1)/usr/sbin/
623 define Package/cal/install
624 $(INSTALL_DIR) $(1)/usr/bin
625 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cal $(1)/usr/bin/
628 define Package/cfdisk/install
629 $(INSTALL_DIR) $(1)/usr/sbin
630 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cfdisk $(1)/usr/sbin/
633 define Package/dmesg/install
634 $(INSTALL_DIR) $(1)/usr/bin
635 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dmesg $(1)/usr/bin/
638 define Package/eject/install
639 $(INSTALL_DIR) $(1)/usr/bin
640 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/eject $(1)/usr/bin/
643 define Package/fdisk/install
644 $(INSTALL_DIR) $(1)/usr/sbin
645 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fdisk $(1)/usr/sbin/
648 define Package/findfs/install
649 $(INSTALL_DIR) $(1)/usr/sbin
650 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/findfs $(1)/usr/sbin/
653 define Package/flock/install
654 $(INSTALL_DIR) $(1)/usr/bin
655 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/flock $(1)/usr/bin/util-linux-flock
658 define Package/fstrim/install
659 $(INSTALL_DIR) $(1)/usr/sbin
660 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fstrim $(1)/usr/sbin/
663 define Package/getopt/install
664 $(INSTALL_DIR) $(1)/usr/bin
665 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getopt $(1)/usr/bin/
668 define Package/hwclock/install
669 $(INSTALL_DIR) $(1)/usr/sbin
670 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hwclock $(1)/usr/sbin/
673 define Package/logger/install
674 $(INSTALL_DIR) $(1)/usr/bin
675 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/logger $(1)/usr/bin/util-linux-logger
678 define Package/look/install
679 $(INSTALL_DIR) $(1)/usr/bin
680 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/look $(1)/usr/bin/
683 define Package/losetup/install
684 $(INSTALL_DIR) $(1)/usr/sbin
685 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/losetup $(1)/usr/sbin/
688 define Package/lsblk/install
689 $(INSTALL_DIR) $(1)/usr/bin
690 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsblk $(1)/usr/bin/
693 define Package/lscpu/install
694 $(INSTALL_DIR) $(1)/usr/bin
695 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lscpu $(1)/usr/bin/
698 define Package/more/install
699 $(INSTALL_DIR) $(1)/usr/bin
700 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/more $(1)/usr/bin/
703 define Package/mcookie/install
704 $(INSTALL_DIR) $(1)/usr/bin
705 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
708 define Package/mount-utils/install
709 $(INSTALL_DIR) $(1)/usr/bin
710 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{u,}mount $(1)/usr/bin/
711 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mountpoint $(1)/usr/bin/
712 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/findmnt $(1)/usr/bin/
715 define Package/namei/install
716 $(INSTALL_DIR) $(1)/usr/bin
717 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/
720 define Package/nsenter/install
721 $(INSTALL_DIR) $(1)/usr/bin
722 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nsenter $(1)/usr/bin/
725 define Package/prlimit/install
726 $(INSTALL_DIR) $(1)/usr/bin
727 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(1)/usr/bin/
730 define Package/rename/install
731 $(INSTALL_DIR) $(1)/usr/bin
732 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rename $(1)/usr/bin/
735 define Package/partx-utils/install
736 $(INSTALL_DIR) $(1)/usr/sbin
737 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/partx $(1)/usr/sbin/
738 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/addpart $(1)/usr/sbin/
739 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/delpart $(1)/usr/sbin/
742 define Package/script-utils/install
743 $(INSTALL_DIR) $(1)/usr/bin
744 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/script $(1)/usr/bin/
745 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scriptreplay $(1)/usr/bin/
748 define Package/setterm/install
749 $(INSTALL_DIR) $(1)/usr/bin
750 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/setterm $(1)/usr/bin/
753 define Package/sfdisk/install
754 $(INSTALL_DIR) $(1)/usr/sbin
755 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sfdisk $(1)/usr/sbin/
758 define Package/swap-utils/install
759 $(INSTALL_DIR) $(1)/usr/sbin
760 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkswap $(1)/usr/sbin/
761 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
764 define Package/unshare/install
765 $(INSTALL_DIR) $(1)/usr/bin
766 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/unshare $(1)/usr/bin/
769 define Package/uuidd/install
770 $(INSTALL_DIR) $(1)/usr/sbin
771 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(1)/usr/sbin/
774 define Package/uuidgen/install
775 $(INSTALL_DIR) $(1)/usr/bin
776 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin//uuidgen $(1)/usr/bin/
779 define Package/wall/install
780 $(INSTALL_DIR) $(1)/usr/bin
781 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wall $(1)/usr/bin/
784 define Package/whereis/install
785 $(INSTALL_DIR) $(1)/usr/bin
786 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whereis $(1)/usr/bin/
789 define Package/wipefs/install
790 $(INSTALL_DIR) $(1)/usr/sbin
791 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wipefs $(1)/usr/sbin/
794 # these lines need to be ordered by dependency because of ABI versioning
795 $(eval $(call BuildPackage,libuuid))
796 $(eval $(call BuildPackage,libblkid))
797 $(eval $(call BuildPackage,libfdisk))
799 $(eval $(call BuildPackage,libmount))
800 $(eval $(call BuildPackage,libsmartcols))
801 $(eval $(call BuildPackage,agetty))
802 $(eval $(call BuildPackage,blkdiscard))
803 $(eval $(call BuildPackage,blkid))
804 $(eval $(call BuildPackage,blockdev))
805 $(eval $(call BuildPackage,cal))
806 $(eval $(call BuildPackage,cfdisk))
807 $(eval $(call BuildPackage,dmesg))
808 $(eval $(call BuildPackage,eject))
809 $(eval $(call BuildPackage,fdisk))
810 $(eval $(call BuildPackage,findfs))
811 $(eval $(call BuildPackage,flock))
812 $(eval $(call BuildPackage,fstrim))
813 $(eval $(call BuildPackage,getopt))
814 $(eval $(call BuildPackage,hwclock))
815 $(eval $(call BuildPackage,logger))
816 $(eval $(call BuildPackage,look))
817 $(eval $(call BuildPackage,losetup))
818 $(eval $(call BuildPackage,lsblk))
819 $(eval $(call BuildPackage,lscpu))
820 $(eval $(call BuildPackage,more))
821 $(eval $(call BuildPackage,mcookie))
822 $(eval $(call BuildPackage,mount-utils))
823 $(eval $(call BuildPackage,namei))
824 $(eval $(call BuildPackage,nsenter))
825 $(eval $(call BuildPackage,prlimit))
826 $(eval $(call BuildPackage,rename))
827 $(eval $(call BuildPackage,partx-utils))
828 $(eval $(call BuildPackage,script-utils))
829 $(eval $(call BuildPackage,setterm))
830 $(eval $(call BuildPackage,sfdisk))
831 $(eval $(call BuildPackage,swap-utils))
832 $(eval $(call BuildPackage,unshare))
833 $(eval $(call BuildPackage,uuidd))
834 $(eval $(call BuildPackage,uuidgen))
835 $(eval $(call BuildPackage,wall))
836 $(eval $(call BuildPackage,whereis))
837 $(eval $(call BuildPackage,wipefs))