OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #
2 # Copyright (C) 2007-2018 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7  
8 include $(TOPDIR)/rules.mk
9  
10 PKG_NAME:=util-linux
3 office 11 PKG_VERSION:=2.32
1 office 12 PKG_RELEASE:=2
13  
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
3 office 15 PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.32
16 PKG_HASH:=6c7397abc764e32e8159c2e96042874a190303e77adceb4ac5bd502a272a4734
1 office 17 PKG_CPE_ID:=cpe:/a:kernel:util-linux
18  
19 PKG_LICENSE:=GPL-2.0
20 PKG_LICENSE_FILES:= COPYING \
21 libblkid/COPYING \
22 libmount/COPYING \
23 Documentation/licenses/COPYING.GPLv2 \
24 Documentation/licenses/COPYING.LGPLv2.1 \
25 libuuid/COPYING \
26 Documentation/licenses/COPYING.BSD-3
27  
28 PKG_BUILD_PARALLEL:=1
29  
30 PKG_FIXUP:=autoreconf
31 PKG_INSTALL:=1
32  
33 DISABLE_NLS:=--disable-nls
34  
35 include $(INCLUDE_DIR)/package.mk
36  
37 define Package/util-linux/Default
38 SECTION:=utils
39 CATEGORY:=Utilities
40 DEPENDS:= +librt
41 URL:=http://www.kernel.org/pub/linux/utils/util-linux/
42 endef
43  
44 define Package/libblkid
45 $(call Package/util-linux/Default)
46 DEPENDS:=+libuuid
47 TITLE:=block device id library
48 SECTION:=libs
49 CATEGORY:=Libraries
50 endef
51  
52 define Package/libblkid/description
53 The libblkid library is used to identify block devices (disks) as to their
54 content (e.g. filesystem type, partitions) as well as extracting additional
55 information such as filesystem labels/volume names, partitions, unique
56 identifiers/serial numbers...
57 endef
58  
59 define Package/libfdisk
60 $(call Package/util-linux/Default)
61 DEPENDS:=+libuuid +libblkid
62 TITLE:=partition manipulating library
63 SECTION:=libs
64 CATEGORY:=Libraries
65 endef
66  
67 define Package/libfdisk/description
68 The libfdisk library is used for manipulating with partition tables.
69 endef
70  
71 define Package/libmount
72 $(call Package/util-linux/Default)
73 DEPENDS:=+libblkid
74 TITLE:=mount library
75 SECTION:=libs
76 CATEGORY:=Libraries
77 endef
78  
79 define Package/libmount/description
80 The libmount library is used to parse /etc/fstab, /etc/mtab and
81 /proc/self/mountinfo files, manage the mtab file, evaluate mount options...
82 endef
83  
84 define Package/libuuid
85 $(call Package/util-linux/Default)
86 TITLE:=DCE compatible Universally Unique Identifier library
87 SECTION:=libs
88 CATEGORY:=Libraries
89 endef
90  
91 define Package/libuuid/description
92 The UUID library is used to generate unique identifiers for objects
93 that may be accessible beyond the local system. This library
94 generates UUIDs compatible with those created by the Open Software
95 Foundation (OSF) Distributed Computing Environment (DCE) utility.
96 endef
97  
98 define Package/libsmartcols
99 $(call Package/util-linux/Default)
100 TITLE:=table or tree library
101 SECTION:=libs
102 CATEGORY:=Libraries
103 endef
104  
105 define Package/libsmartcols/description
106 The smartcols library is used to print tables and trees in a pretty way.
107 endef
108  
109 define Package/agetty
110 $(call Package/util-linux/Default)
111 TITLE:=alternative Linux getty
112 SUBMENU=Terminal
113 endef
114  
115 define Package/agetty/description
116 agetty opens a tty port, prompts for a login name and invokes the
117 /bin/login command
118 endef
119  
120 define Package/blkdiscard
121 $(call Package/util-linux/Default)
122 TITLE:=discard sectors on a device
123 SUBMENU=Disc
124 endef
125  
126 define Package/blkdiscard/description
127 The blkdiscard is used to discard device sectors. This is useful for
128 solid-state drivers (SSDs) and thinly-provisioned storage. Unlike fstrim,
129 this command is used directly on the block device.
130 endef
131  
132 define Package/blkid
133 $(call Package/util-linux/Default)
134 TITLE:=locate and print block device attributes
135 DEPENDS:= +libblkid +libuuid
136 SUBMENU=Disc
137 endef
138  
139 define Package/blkid/description
140 The blkid program is the command-line interface to working with the libblkid
141 library.
142 endef
143  
144 define Package/cal
145 $(call Package/util-linux/Default)
146 TITLE:=display a calendar
147 DEPENDS:= +libncurses
148 endef
149  
150 define Package/cal/description
151 cal displays a simple calendar
152 endef
153  
154 define Package/cfdisk
155 $(call Package/util-linux/Default)
156 TITLE:=display or manipulate disk partition table
157 DEPENDS:= +libblkid +libncurses +libsmartcols +libfdisk +libmount
158 SUBMENU:=Disc
159 endef
160  
161 define Package/cfdisk/description
162 cfdisk is a curses-based program for partitioning any hard disk drive
163 endef
164  
165 define Package/dmesg
166 $(call Package/util-linux/Default)
167 TITLE:=print or control the kernel ring buffer
168 DEPENDS:= +libncursesw
169 endef
170  
171 define Package/dmesg/description
172 dmesg is used to examine or control the kernel ring buffer
173 endef
174  
175 define Package/fdisk
176 $(call Package/util-linux/Default)
177 TITLE:=manipulate disk partition table
178 DEPENDS:= +libblkid +libsmartcols +libfdisk +libncursesw
179 SUBMENU=Disc
180 endef
181  
182 define Package/fdisk/description
183 a menu-driven program for creation and manipulation of partition tables
184 endef
185  
186 define Package/findfs
187 $(call Package/util-linux/Default)
188 TITLE:=find a filesystem by label or UUID
189 DEPENDS:= +libblkid
190 SUBMENU=Disc
191 endef
192  
193 define Package/findfs/description
194 findfs will search the disks in the system looking for a filesystem which has
195 a label matching label or a UUID equal to uuid
196 endef
197  
198 define Package/flock
199 $(call Package/util-linux/Default)
200 TITLE:=manage locks from shell scripts
201 ALTERNATIVES:=200:/usr/bin/flock:/usr/bin/util-linux-flock
202 endef
203  
204 define Package/flock/description
205 manages flock locks from within shell scripts or the command line
206 endef
207  
208 define Package/fstrim
209 $(call Package/util-linux/Default)
210 TITLE:=discard unused blocks on a mounted filesystem
211 DEPENDS:= +libblkid +libuuid +libsmartcols +libmount
212 SUBMENU=Filesystem
213 endef
214  
215 define Package/fstrim/description
216 fstrim is used on a mounted filesystem to discard (or "trim") blocks
217 which are not in use by the filesystem. This is useful for solid-
218 state drives (SSDs) and thinly-provisioned storage.
219 endef
220  
221 define Package/getopt
222 $(call Package/util-linux/Default)
223 TITLE:=parse command options (enhanced)
224 endef
225  
226 define Package/getopt/description
227 getopt is used to break up (parse) options in command lines for easy parsing
228 by shell procedures, and to check for legal options
229 endef
230  
231 define Package/hwclock
232 $(call Package/util-linux/Default)
233 TITLE:=query or set the hardware clock
234 endef
235  
236 define Package/hwclock/description
237 hwclock is a tool for accessing the Hardware Clock
238 endef
239  
240 define Package/logger
241 $(call Package/util-linux/Default)
242 TITLE:=a shell command interface to the syslog system log module
243 endef
244  
245 define Package/logger/description
246 logger makes entries in the system log, it provides a shell command interface
247 to the syslog system log module
248 endef
249  
250 define Package/look
251 $(call Package/util-linux/Default)
252 TITLE:=display lines beginning with a given string
253 endef
254  
255 define Package/look/description
256 look utility displays any lines in file which contain string
257 endef
258  
259 define Package/losetup
260 $(call Package/util-linux/Default)
261 TITLE:=set up and control loop devices
262 DEPENDS:= +libsmartcols
263 endef
264  
265 define Package/losetup/description
266 losetup is used to associate loop devices with regular files or block devices,
267 to detach loop devices and to query the status of a loop device
268 endef
269  
270 define Package/lsblk
271 $(call Package/util-linux/Default)
272 TITLE:=list block devices
273 DEPENDS:= +libblkid +libmount +libsmartcols
274 SUBMENU=Disc
275 endef
276  
277 define Package/lsblk/description
278 lsblk lists information about all or the specified block devices
279 endef
280  
281 define Package/lscpu
282 $(call Package/util-linux/Default)
283 TITLE:=display information about the CPU architecture
284 DEPENDS:= +libsmartcols
285 endef
286  
287 define Package/lscpu/description
288 lscpu displays information about the CPU architecture
289 endef
290  
291 define Package/mcookie
292 $(call Package/util-linux/Default)
293 TITLE:=generate magic cookies for xauth
294 endef
295  
296 define Package/mcookie/description
297 mcookie generates a 128-bit random hexadecimal number for use with the X
298 authority system
299 endef
300  
301 define Package/mount-utils
302 $(call Package/util-linux/Default)
303 TITLE:=related (u)mount utilities
304 DEPENDS+= +libmount +libsmartcols
305 endef
306  
307 define Package/mount-utils/description
308 contains: mount, umount, findmnt
309 endef
310  
311 define Package/namei
312 $(call Package/util-linux/Default)
313 TITLE:=follow a pathname until a terminal point is found
314 endef
315  
316 define Package/namei/description
317 namei uses its arguments as pathnames to any type of Unix file (symlinks,
318 files, directories, and so forth)
319 endef
320  
321 define Package/nsenter
322 $(call Package/util-linux/Default)
323 TITLE:=enter a namespace
324 endef
325  
326 define Package/nsenter/description
327 run program with namespaces of other processes
328 endef
329  
330 define Package/prlimit
331 $(call Package/util-linux/Default)
332 TITLE:=get and set process resource limits
333 DEPENDS:= +libsmartcols
334 endef
335  
336 define Package/prlimit/description
337 Given a process id and one or more resources, prlimit tries to retrieve
338 and/or modify the limits.
339 endef
340  
341 define Package/rename
342 $(call Package/util-linux/Default)
343 TITLE:=rename files
344 endef
345  
346 define Package/rename/description
347 rename will rename the specified files by replacing the first occurrence of
348 expression in their name by replacement
349 endef
350  
351 define Package/partx-utils
352 $(call Package/util-linux/Default)
353 TITLE:=inform kernel about the presence and numbering of on-disk partitions
354 DEPENDS:= +libblkid +libsmartcols
355 SUBMENU=Disc
356 endef
357  
358 define Package/partx-utils/description
359 contains partx, addpart, delpart
360 endef
361  
362 define Package/script-utils
363 $(call Package/util-linux/Default)
364 TITLE:=make and replay typescript of terminal session
365 SUBMENU=Terminal
366 endef
367  
368 define Package/script-utils/description
369 contains: script, scriptreplay
370 endef
371  
372 define Package/setterm
373 $(call Package/util-linux/Default)
374 TITLE:=set terminal attributes
375 DEPENDS:= +libncurses
376 SUBMENU:=Terminal
377 endef
378  
379 define Package/setterm/description
380 setterm writes to standard output a character string that will invoke the
381 specified terminal capabilities
382 endef
383  
384 define Package/sfdisk
385 $(call Package/util-linux/Default)
386 TITLE:=partition table manipulator for Linux
387 SUBMENU=Disc
388 DEPENDS:= +libblkid +libfdisk +libsmartcols +libncursesw
389 endef
390  
391 define Package/sfdisk/description
392 list the size of a partition, list the partitions on a device, check the
393 partitions on a device and repartition a device
394 endef
395  
396 define Package/swap-utils
397 $(call Package/util-linux/Default)
398 TITLE:=swap space management utilities
399 DEPENDS+= +libblkid
400 SUBMENU:=Filesystem
401 endef
402  
403 define Package/swap-utils/description
404 contains: mkswap, swaplabel
405 endef
406  
407 define Package/unshare
408 $(call Package/util-linux/Default)
409 TITLE:=unshare userspace tool
410 endef
411  
412 define Package/unshare/description
413 run programs with some namespaces unshared from parent
414 endef
415  
416 define Package/uuidd
417 $(call Package/util-linux/Default)
418 TITLE:=UUID generation daemon
419 DEPENDS:= +libuuid
420 endef
421  
422 define Package/uuidd/description
423 The uuidd daemon is used by the UUID library to generate universally unique
424 identifiers (UUIDs), especially time-based UUIDs, in a secure and
425 guaranteed-unique fashion, even in the face of large numbers of threads
426 running on different CPUs trying to grab UUIDs.
427 endef
428  
429 define Package/uuidgen
430 $(call Package/util-linux/Default)
431 TITLE:=create a new UUID value
432 DEPENDS:= +libuuid
433 endef
434  
435 define Package/uuidgen/description
436 The uuidgen program creates (and prints) a new universally unique identifier
437 (UUID) using the libuuid library. The new UUID can reasonably be considered
438 unique among all UUIDs created on the local system, and among UUIDs created on
439 other systems in the past and in the future.
440 endef
441  
442 define Package/wall
443 $(call Package/util-linux/Default)
444 TITLE:=send a message to everybody's terminal
445 SUBMENU=Terminal
446 endef
447  
448 define Package/wall/description
449 wall sends a message to everybody logged in with their mesg permission
450 set to yes
451 endef
452  
453 define Package/whereis
454 $(call Package/util-linux/Default)
455 TITLE:=locate the binary, source, and manual page files for a command
456 endef
457  
458 define Package/whereis/description
459 whereis locates source/binary and manuals sections for specified files
460 endef
461  
462 define Package/wipefs
463 $(call Package/util-linux/Default)
464 TITLE:=wipe a signature from a device
465 DEPENDS:= +libblkid +libsmartcols
466 SUBMENU:=Disc
467 endef
468  
469 define Package/wipefs/description
470 wipefs can erase filesystem, raid or partition table signatures (magic
471 strings) from the specified device to make the signature invisible for
472 libblkid.
473 endef
474  
475 CONFIGURE_ARGS += \
476 --disable-use-tty-group \
477 --disable-rpath \
478 --disable-tls \
479 --disable-sulogin \
480 --disable-makeinstall-chown \
481 --without-python \
482 --without-udev \
483 --without-readline \
484 --disable-more \
485 --with-ncursesw
486  
487 TARGET_CFLAGS += $(FPIC) -std=gnu99
488  
489 define Build/InstallDev
490 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
491 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/blkid.pc $(1)/usr/lib/pkgconfig
492 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fdisk.pc $(1)/usr/lib/pkgconfig
493 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mount.pc $(1)/usr/lib/pkgconfig
494 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/smartcols.pc $(1)/usr/lib/pkgconfig
495 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/uuid.pc $(1)/usr/lib/pkgconfig
496  
497 $(INSTALL_DIR) $(1)/usr/include/blkid
498 $(CP) $(PKG_INSTALL_DIR)/usr/include/blkid/blkid.h $(1)/usr/include/blkid
499 $(INSTALL_DIR) $(1)/usr/include/libfdisk
500 $(CP) $(PKG_INSTALL_DIR)/usr/include/libfdisk/libfdisk.h $(1)/usr/include/libfdisk
501 $(INSTALL_DIR) $(1)/usr/include/libmount
502 $(CP) $(PKG_INSTALL_DIR)/usr/include/libmount/libmount.h $(1)/usr/include/libmount
503 $(INSTALL_DIR) $(1)/usr/include/uuid
504 $(CP) $(PKG_INSTALL_DIR)/usr/include/uuid/uuid.h $(1)/usr/include/uuid
505 $(INSTALL_DIR) $(1)/usr/include/libsmartcols
506 $(CP) $(PKG_INSTALL_DIR)/usr/include/libsmartcols/libsmartcols.h $(1)/usr/include/libsmartcols
507  
508 $(INSTALL_DIR) $(1)/usr/lib
509 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib
510 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib
511 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib
512 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib
513 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib
514  
515 $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
516 $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
517 $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
518 $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
519 $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
520 endef
521  
522  
523 define Package/libfdisk/install
524 $(INSTALL_DIR) $(1)/usr/lib
3 office 525 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib/
526 $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
1 office 527 endef
528  
529 define Package/libblkid/install
530 $(INSTALL_DIR) $(1)/usr/lib
3 office 531 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib/
532 $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
1 office 533 endef
534  
535 define Package/libmount/install
536 $(INSTALL_DIR) $(1)/usr/lib
3 office 537 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib/
538 $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
1 office 539 endef
540  
541 define Package/libsmartcols/install
542 $(INSTALL_DIR) $(1)/usr/lib
3 office 543 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib/
544 $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
1 office 545 endef
546  
547 define Package/libuuid/install
548 $(INSTALL_DIR) $(1)/usr/lib
3 office 549 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib/
550 $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
1 office 551 endef
552  
553 define Package/agetty/install
554 $(INSTALL_DIR) $(1)/usr/sbin
555 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/agetty $(1)/usr/sbin/
556 endef
557  
558 define Package/blkdiscard/install
559 $(INSTALL_DIR) $(1)/usr/sbin
560 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkdiscard $(1)/usr/sbin/
561 endef
562  
563 define Package/blkid/install
564 $(INSTALL_DIR) $(1)/usr/sbin
565 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkid $(1)/usr/sbin/
566 endef
567  
568 define Package/cal/install
569 $(INSTALL_DIR) $(1)/usr/bin
570 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cal $(1)/usr/bin/
571 endef
572  
573 define Package/cfdisk/install
574 $(INSTALL_DIR) $(1)/usr/sbin
575 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cfdisk $(1)/usr/sbin/
576 endef
577  
578 define Package/dmesg/install
579 $(INSTALL_DIR) $(1)/usr/bin
580 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dmesg $(1)/usr/bin/
581 endef
582  
583 define Package/fdisk/install
584 $(INSTALL_DIR) $(1)/usr/sbin
585 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fdisk $(1)/usr/sbin/
586 endef
587  
588 define Package/findfs/install
589 $(INSTALL_DIR) $(1)/usr/sbin
590 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/findfs $(1)/usr/sbin/
591 endef
592  
593 define Package/flock/install
594 $(INSTALL_DIR) $(1)/usr/bin
595 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/flock $(1)/usr/bin/util-linux-flock
596 endef
597  
598 define Package/fstrim/install
599 $(INSTALL_DIR) $(1)/usr/sbin
600 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fstrim $(1)/usr/sbin/
601 endef
602  
603 define Package/getopt/install
604 $(INSTALL_DIR) $(1)/usr/bin
605 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getopt $(1)/usr/bin/
606 endef
607  
608 define Package/hwclock/install
609 $(INSTALL_DIR) $(1)/usr/sbin
610 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hwclock $(1)/usr/sbin/
611 endef
612  
613 define Package/logger/install
614 $(INSTALL_DIR) $(1)/usr/bin
615 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/logger $(1)/usr/bin/
616 endef
617  
618 define Package/look/install
619 $(INSTALL_DIR) $(1)/usr/bin
620 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/look $(1)/usr/bin/
621 endef
622  
623 define Package/losetup/install
624 $(INSTALL_DIR) $(1)/usr/sbin
625 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/losetup $(1)/usr/sbin/
626 endef
627  
628 define Package/lsblk/install
629 $(INSTALL_DIR) $(1)/usr/bin
630 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsblk $(1)/usr/bin/
631 endef
632  
633 define Package/lscpu/install
634 $(INSTALL_DIR) $(1)/usr/bin
635 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lscpu $(1)/usr/bin/
636 endef
637  
638 define Package/mcookie/install
639 $(INSTALL_DIR) $(1)/usr/bin
640 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
641 endef
642  
643 define Package/mount-utils/install
644 $(INSTALL_DIR) $(1)/usr/bin
645 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{u,}mount $(1)/usr/bin/
646 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mountpoint $(1)/usr/bin/
647 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/findmnt $(1)/usr/bin/
648 endef
649  
650 define Package/namei/install
651 $(INSTALL_DIR) $(1)/usr/bin
652 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/
653 endef
654  
655 define Package/nsenter/install
656 $(INSTALL_DIR) $(1)/usr/bin
657 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nsenter $(1)/usr/bin/
658 endef
659  
660 define Package/prlimit/install
661 $(INSTALL_DIR) $(1)/usr/bin
662 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(1)/usr/bin/
663 endef
664  
665 define Package/rename/install
666 $(INSTALL_DIR) $(1)/usr/bin
667 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rename $(1)/usr/bin/
668 endef
669  
670 define Package/partx-utils/install
671 $(INSTALL_DIR) $(1)/usr/sbin
672 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/partx $(1)/usr/sbin/
673 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/addpart $(1)/usr/sbin/
674 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/delpart $(1)/usr/sbin/
675 endef
676  
677 define Package/script-utils/install
678 $(INSTALL_DIR) $(1)/usr/bin
679 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/script $(1)/usr/bin/
680 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scriptreplay $(1)/usr/bin/
681 endef
682  
683 define Package/setterm/install
684 $(INSTALL_DIR) $(1)/usr/bin
685 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/setterm $(1)/usr/bin/
686 endef
687  
688 define Package/sfdisk/install
689 $(INSTALL_DIR) $(1)/usr/sbin
690 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sfdisk $(1)/usr/sbin/
691 endef
692  
693 define Package/swap-utils/install
694 $(INSTALL_DIR) $(1)/usr/sbin
695 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkswap $(1)/usr/sbin/
696 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
697 endef
698  
699 define Package/unshare/install
700 $(INSTALL_DIR) $(1)/usr/bin
701 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/unshare $(1)/usr/bin/
702 endef
703  
704 define Package/uuidd/install
705 $(INSTALL_DIR) $(1)/usr/sbin
706 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(1)/usr/sbin/
707 endef
708  
709 define Package/uuidgen/install
710 $(INSTALL_DIR) $(1)/usr/bin
711 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin//uuidgen $(1)/usr/bin/
712 endef
713  
714 define Package/wall/install
715 $(INSTALL_DIR) $(1)/usr/bin
716 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wall $(1)/usr/bin/
717 endef
718  
719 define Package/whereis/install
720 $(INSTALL_DIR) $(1)/usr/bin
721 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whereis $(1)/usr/bin/
722 endef
723  
724 define Package/wipefs/install
725 $(INSTALL_DIR) $(1)/usr/sbin
726 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wipefs $(1)/usr/sbin/
727 endef
728  
729 $(eval $(call BuildPackage,libblkid))
730 $(eval $(call BuildPackage,libfdisk))
731 $(eval $(call BuildPackage,libmount))
732 $(eval $(call BuildPackage,libsmartcols))
733 $(eval $(call BuildPackage,libuuid))
734 $(eval $(call BuildPackage,agetty))
735 $(eval $(call BuildPackage,blkdiscard))
736 $(eval $(call BuildPackage,blkid))
737 $(eval $(call BuildPackage,cal))
738 $(eval $(call BuildPackage,cfdisk))
739 $(eval $(call BuildPackage,dmesg))
740 $(eval $(call BuildPackage,fdisk))
741 $(eval $(call BuildPackage,findfs))
742 $(eval $(call BuildPackage,flock))
743 $(eval $(call BuildPackage,fstrim))
744 $(eval $(call BuildPackage,getopt))
745 $(eval $(call BuildPackage,hwclock))
746 $(eval $(call BuildPackage,logger))
747 $(eval $(call BuildPackage,look))
748 $(eval $(call BuildPackage,losetup))
749 $(eval $(call BuildPackage,lsblk))
750 $(eval $(call BuildPackage,lscpu))
751 $(eval $(call BuildPackage,mcookie))
752 $(eval $(call BuildPackage,mount-utils))
753 $(eval $(call BuildPackage,namei))
754 $(eval $(call BuildPackage,nsenter))
755 $(eval $(call BuildPackage,prlimit))
756 $(eval $(call BuildPackage,rename))
757 $(eval $(call BuildPackage,partx-utils))
758 $(eval $(call BuildPackage,script-utils))
759 $(eval $(call BuildPackage,setterm))
760 $(eval $(call BuildPackage,sfdisk))
761 $(eval $(call BuildPackage,swap-utils))
762 $(eval $(call BuildPackage,unshare))
763 $(eval $(call BuildPackage,uuidd))
764 $(eval $(call BuildPackage,uuidgen))
765 $(eval $(call BuildPackage,wall))
766 $(eval $(call BuildPackage,whereis))
767 $(eval $(call BuildPackage,wipefs))