mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
remove waitpid from aarch64
This commit is contained in:
parent
f3dc7d7cc7
commit
4273ee79de
2 changed files with 8 additions and 5 deletions
|
@ -28,11 +28,11 @@ build ()
|
|||
lzmainfo xzcmp xzgrep xzegrep xzfgrep gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \
|
||||
bunzip2 bzcat bzdiff bzgrep bzip2recover bzmore chacl getfacl setfacl attr getfattr \
|
||||
setfattr pzstd unzstd zstdcat zstdgrep zstdless zstdmt lz4 lz4c lz4cat unlz4 gunzip zcat wipe \
|
||||
capsh getcap getpcaps setcap file blkpr fadvise isosize pg pipesz tunelp waitpid
|
||||
capsh getcap getpcaps setcap file blkpr fadvise isosize pg pipesz tunelp
|
||||
|
||||
[[ "$(uname -m)" == "x86_64" ]] && map add_binary i386 x86_64 peekfd
|
||||
[[ "$(uname -m)" == "x86_64" ]] && map add_binary i386 x86_64 peekfd waitpid
|
||||
[[ "$(uname -m)" == "aarch64" ]] && add_binary peekfd
|
||||
|
||||
[[ "$(uname -m)" == "riscv64" ]] && map add_binary waitpid
|
||||
### add C.UTF-8 locale
|
||||
add_dir /usr/lib/locale
|
||||
add_full_dir /usr/lib/locale/C.UTF-8
|
||||
|
|
|
@ -28,13 +28,16 @@ build ()
|
|||
lzmainfo xzcmp gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \
|
||||
bzdiff bzgrep bzip2recover bzmore chacl getfacl setfacl attr getfattr \
|
||||
setfattr pzstd unzstd zstdcat zstdgrep zstdless zstdmt lz4 lz4c lz4cat unlz4 \
|
||||
gunzip zcat wipe file blkpr fadvise isosize pg pipesz tunelp waitpid"
|
||||
gunzip zcat wipe file blkpr fadvise isosize pg pipesz tunelp"
|
||||
if [[ "$(uname -m)" == "x86_64" ]]; then
|
||||
apps="i386 x86_64 peekfd $apps"
|
||||
apps="i386 x86_64 peekfd waitpid $apps"
|
||||
fi
|
||||
if [[ "$(uname -m)" == "aarch64" ]]; then
|
||||
apps="peekfd $apps"
|
||||
fi
|
||||
if [[ "$(uname -m)" == "x86_64" ]]; then
|
||||
apps="waitpid $apps"
|
||||
fi
|
||||
for i in $apps; do
|
||||
rm /usr/bin/"$i"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue