mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add missing binariesÄ
This commit is contained in:
parent
23f796ae84
commit
c1f535e560
5 changed files with 12 additions and 15 deletions
|
@ -11,8 +11,6 @@ usage () {
|
|||
echo "Usage: ${_BASENAME} <package>"
|
||||
echo "This will check binaries from package, if they exist"
|
||||
echo "and report missing to binary.txt"
|
||||
echo ""
|
||||
echo " -h This message."
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
@ -23,14 +21,7 @@ if [[ ! "$(cat /etc/hostname)" == "archboot" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
case ${1} in
|
||||
-h|--h|?) usage; exit 0 ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
echo $1 >binary.txt
|
||||
for i in $(pacman -Ql $1 | grep "/usr/bin/..*");do
|
||||
for i in $(pacman -Ql $1 | grep "/usr/bin/..*"$ | cut -d' ' -f2);do
|
||||
which $i >/dev/null || echo $i>>binary.txt
|
||||
done
|
||||
|
|
|
@ -36,7 +36,8 @@ build ()
|
|||
runcon sha1sum sha224sum sha256sum sha384sum sha512sum shuf split stdbuf sum timeout truncate \
|
||||
tsort unexpand unlink users vdir pwait fuser peekfd prtstat pslog pstree newgidmap newuidmap \
|
||||
lzmainfo xzcmp xzegrep xzfgrep gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \
|
||||
bunzip2 bzcat bzdiff bzgrep bzip2recover bzmore"
|
||||
bunzip2 bzcat bzdiff bzgrep bzip2recover bzmore chacl getfacl setfacl attr getfattr \
|
||||
setfattr tzselect pzstd unzstd zstd zstdcat zstdgrep zstdless zstdmt"
|
||||
if [[ "$(uname -m)" == "x86_64" ]]; then
|
||||
apps="$apps i386 x86_64"
|
||||
fi
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
build ()
|
||||
{
|
||||
add_checked_modules 'md/dm-*'
|
||||
add_binary "dmsetup"
|
||||
add_binary "dmeventd"
|
||||
apps="dmsetup dmeventd blkdeactivate dmstats lvm_import_vdo lvmdevices lvmpolld vgimportdevices"
|
||||
for i in $apps; do
|
||||
add_binary "$i"
|
||||
done
|
||||
add_dir "/dev/mapper"
|
||||
add_full_dir "/usr/lib/device-mapper"
|
||||
for i in /usr/lib/libdevmapper*; do
|
||||
|
|
|
@ -15,7 +15,10 @@ build ()
|
|||
umount.nilfs2 chcp dumpseg lscp lssu mkcp rmcp fsck.cramfs fsck.minix fsfreeze fstrim mkfs.bfs mkfs.cramfs mkfs.minix mkfs.f2fs \
|
||||
fusermount mount.fuse ulockmgr_server fsck.exfat mkfs.exfat tune.exfat exfatlabel dump.exfat fatresize nvme \
|
||||
fsck.msdos fsck.vfat fsck.reiserfs mkfs.vfat mkfs.msdos mkfs.ntfs mkfs.reiserfs mount.nfs4 mount.ntfs mount.lowntfs-3g \
|
||||
mount.ntfs-3g umount.nfs umount.nfs4"
|
||||
mount.ntfs-3g umount.nfs umount.nfs4 fsck.btrfs dosfslabel e2mmpstatus e2scrub e2scrub_all e4crypt e4defrag defrag.f2fs \
|
||||
dump.f2fs f2fs_io f2fscrypt f2fstat fibmap.f2fs fsck.f2fs parse.f2fs resize.f2fs sload.f2fs blkmapd nfsconf nfsdcld \
|
||||
nfsdclddb nfsdclnts nfsidmap nfsv4.exportd nilfs-clean nilfs-resize nilfs-tune ntfsdecrypt ntfsrecover ntfssecaudit \
|
||||
ntfstruncate ntfsusermap ntfswipe xfs_growfs xfs_quota xfs_scrub xfs_scrub_all xfs_spaceman"
|
||||
for i in $apps; do
|
||||
add_binary "$i"
|
||||
done
|
||||
|
|
|
@ -8,7 +8,7 @@ build ()
|
|||
slattach traceroute arping clockdiff rarpd rdisc tracepath route \
|
||||
dig host nslookup telnet ssh arpd genl ifstat lnstat nstat rtacct rtmon ss \
|
||||
tc dhclient ifplugd ifplugstatus bridge dcb devlink rdma ss tipc vdpa \
|
||||
ip ping ethtool elinks ctstat rtstat"
|
||||
ip ping ethtool elinks ctstat rtstat dhcp_lease_time dhcp_release dhcp_release6"
|
||||
for i in $apps; do
|
||||
add_binary "$i"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue