Skip to content

Commit

Permalink
[+] Exclude AppImages from stripping #28
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Sep 6, 2024
1 parent ea3cf4e commit 1e7dd27
Show file tree
Hide file tree
Showing 141 changed files with 422 additions and 227 deletions.
4 changes: 2 additions & 2 deletions .github/runners/aarch64-ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ ENV INSTALL_SRC="https://bin.ajam.dev/aarch64_arm64_Linux"
RUN <<EOS
#Base
apt-get update -y
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#RE
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#unminimize : https://wiki.ubuntu.com/Minimal
yes | unminimize
#Python
Expand Down
1 change: 1 addition & 0 deletions .github/runners/alpine-builder.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ RUN <<EOS
apk add hostapd --latest --upgrade --no-interactive 2>/dev/null
apk add hwloc-dev --latest --upgrade --no-interactive 2>/dev/null
apk add idn2-utils --latest --upgrade --no-interactive 2>/dev/null
apk add imagemagick --latest --upgrade --no-interactive 2>/dev/null
apk add imagemagick-dev --latest --upgrade --no-interactive 2>/dev/null
apk add imagemagick-static --latest --upgrade --no-interactive 2>/dev/null
apk add indent --latest --upgrade --no-interactive 2>/dev/null
Expand Down
4 changes: 2 additions & 2 deletions .github/runners/debian-builder-unstable.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ RUN <<EOS
#Base
set +e
apt-get update -y
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#RE
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#NetTools
apt-get install dnsutils inetutils-ftp inetutils-ftpd inetutils-inetd inetutils-ping inetutils-syslogd inetutils-tools inetutils-traceroute iproute2 net-tools netcat-traditional -y -qq --ignore-missing
apt-get install iputils-arping iputils-clockdiff iputils-ping iputils-tracepath iproute2 -y -qq --ignore-missing
Expand Down
4 changes: 2 additions & 2 deletions .github/runners/ubuntu-systemd-base.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ ENV DEBIAN_FRONTEND="noninteractive"
RUN <<EOS
#Base
apt-get update -y
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#RE
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#unminimize : https://wiki.ubuntu.com/Minimal
yes | unminimize
#Python
Expand Down
4 changes: 2 additions & 2 deletions .github/runners/x86_64-ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ ENV INSTALL_SRC="https://bin.ajam.dev/x86_64_Linux"
RUN <<EOS
#Base
apt-get update -y
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#RE
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
apt-get install -y --ignore-missing apt-transport-https apt-utils bash ca-certificates coreutils curl dos2unix fdupes findutils git gnupg2 imagemagick jq locales locate moreutils nano ncdu p7zip-full rename rsync software-properties-common texinfo sudo tmux unzip util-linux xz-utils wget zip
#unminimize : https://wiki.ubuntu.com/Minimal
yes | unminimize
#Python
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/a-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
[ "$(find ./ -mindepth 1 -maxdepth 1)" ] && sudo rsync -av --copy-links "./." "$BASEUTILSDIR/a-utils"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/a-utils/" && chmod -R 755 "$BASEUTILSDIR/a-utils/"
#Strip
find "$BASEUTILSDIR/a-utils" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/a-utils" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
#-------------------------------------------------------#
##Meta
file "$BASEUTILSDIR/a-utils/"*
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/bash"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/bash/" && chmod -R 755 "$BASEUTILSDIR/bash/"
#Strip
find "$BASEUTILSDIR/bash" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/bash" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
cp "$BASEUTILSDIR/bash/bash" "$BINDIR/bash"
#-------------------------------------------------------#
##Meta
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/aarch64_Linux/bins/bintools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
mkdir -p "$BASEUTILSDIR/bintools" ; sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/bintools"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/bintools/" && chmod -R 755 "$BASEUTILSDIR/bintools/"
#Strip
find "$BASEUTILSDIR/bintools" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/bintools" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down Expand Up @@ -125,7 +125,7 @@ unset PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR PKG_CONFIG_SYSTEM
mkdir -p "$BASEUTILSDIR/bintools" ; sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/bintools"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/bintools/" && chmod -R 755 "$BASEUTILSDIR/bintools/"
#Strip
find "$BASEUTILSDIR/bintools" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/bintools" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/aarch64_Linux/bins/binutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
mkdir -p "$BASEUTILSDIR/binutils" ; sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/binutils"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/binutils/" && chmod -R 755 "$BASEUTILSDIR/binutils/"
#Strip
find "$BASEUTILSDIR/binutils" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/binutils" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down Expand Up @@ -125,7 +125,7 @@ unset PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR PKG_CONFIG_SYSTEM
mkdir -p "$BASEUTILSDIR/binutils" ; sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/binutils"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/binutils/" && chmod -R 755 "$BASEUTILSDIR/binutils/"
#Strip
find "$BASEUTILSDIR/binutils" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/binutils" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/btrfs-progs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
mkdir -p "$BASEUTILSDIR/btrfs-progs" ; sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/btrfs-progs"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/btrfs-progs/" && chmod -R 755 "$BASEUTILSDIR/btrfs-progs/"
#Strip
find "$BASEUTILSDIR/btrfs-progs" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/btrfs-progs" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/aarch64_Linux/bins/busybox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
#sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/busybox"
#sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/busybox/" && chmod -R 755 "$BASEUTILSDIR/busybox/"
##Strip
#find "$BASEUTILSDIR/busybox" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
#find "$BASEUTILSDIR/busybox" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
#nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
##Build (MUSL)
pushd "$($TMPDIRS)" >/dev/null 2>&1
Expand Down Expand Up @@ -67,7 +67,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
[ "$(find ./ -mindepth 1 -maxdepth 1)" ] && sudo rsync -av --copy-links "./." "$BASEUTILSDIR/busybox"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/busybox/" && chmod -R 755 "$BASEUTILSDIR/busybox/"
#Strip
find "$BASEUTILSDIR/busybox" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/busybox" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
#-------------------------------------------------------#
##Meta
file "$BASEUTILSDIR/busybox/"*
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/coreutils-vlang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
[ "$(find ./ -mindepth 1 -maxdepth 1)" ] && sudo rsync -av --copy-links "./." "$BASEUTILSDIR/coreutils-vlang"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/coreutils-vlang/" && chmod -R 755 "$BASEUTILSDIR/coreutils-vlang/"
#Strip
find "$BASEUTILSDIR/coreutils-vlang" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/coreutils-vlang" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
#-------------------------------------------------------#
##Meta
file "$BASEUTILSDIR/coreutils-vlang/"*
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/aarch64_Linux/bins/coreutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/coreutils"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/coreutils/" && chmod -R 755 "$BASEUTILSDIR/coreutils/"
#Strip
find "$BASEUTILSDIR/coreutils" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/coreutils" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
##Build (MUSL)
pushd "$($TMPDIRS)" >/dev/null 2>&1
Expand Down Expand Up @@ -79,7 +79,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
[ "$(find ./ -mindepth 1 -maxdepth 1)" ] && sudo rsync -av --copy-links "./." "$BASEUTILSDIR/coreutils"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/coreutils/" && chmod -R 755 "$BASEUTILSDIR/coreutils/"
#Strip
find "$BASEUTILSDIR/coreutils" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/coreutils" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
#-------------------------------------------------------#
##Meta
file "$BASEUTILSDIR/coreutils/"*
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/cryptsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
mkdir -p "$BASEUTILSDIR/cryptsetup" ; sudo rsync -av --copy-links "./result-bin/bin/." "$BASEUTILSDIR/cryptsetup"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/cryptsetup/" && chmod -R 755 "$BASEUTILSDIR/cryptsetup/"
#Strip
find "$BASEUTILSDIR/cryptsetup" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/cryptsetup" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/dateutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
mkdir -p "$BASEUTILSDIR/dateutils" ; sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/dateutils"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/dateutils/" && chmod -R 755 "$BASEUTILSDIR/dateutils/"
#Strip
find "$BASEUTILSDIR/dateutils" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/dateutils" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/dbus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
sudo rsync -av --copy-links "./result/libexec/." "$BASEUTILSDIR/dbus"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/dbus/" && chmod -R 755 "$BASEUTILSDIR/dbus/"
#Strip
find "$BASEUTILSDIR/dbus" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/dbus" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/desktop-file-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
sudo rsync -av --copy-links "./result/bin/." "$BINDIR/"
sudo chown -R "$(whoami):$(whoami)" "$BINDIR/" && chmod -R 755 "$BINDIR/"
#Strip
find "$BINDIR" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BINDIR" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
fi
#-------------------------------------------------------#
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/aarch64_Linux/bins/dropbear.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
# mkdir -p "$BASEUTILSDIR/dropbear" ; sudo rsync -av --copy-links "./result/bin/." "$BASEUTILSDIR/dropbear"
# sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/dropbear/" && chmod -R 755 "$BASEUTILSDIR/dropbear/"
# #Strip
# find "$BASEUTILSDIR/dropbear" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
# find "$BASEUTILSDIR/dropbear" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
# nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
##Build (alpine-musl)
pushd "$($TMPDIRS)" >/dev/null 2>&1
Expand Down Expand Up @@ -60,7 +60,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
[ "$(find ./ -mindepth 1 -maxdepth 1)" ] && sudo rsync -av --copy-links "./." "$BASEUTILSDIR/dropbear"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/dropbear/" && chmod -R 755 "$BASEUTILSDIR/dropbear/"
#Strip
find "$BASEUTILSDIR/dropbear" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/dropbear" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
#-------------------------------------------------------#
##Meta
file "$BASEUTILSDIR/dropbear/"*
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/aarch64_Linux/bins/e2fsprogs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
mkdir -p "$BASEUTILSDIR/e2fsprogs" ; sudo rsync -av --copy-links "./result-bin/bin/." "$BASEUTILSDIR/e2fsprogs"
sudo chown -R "$(whoami):$(whoami)" "$BASEUTILSDIR/e2fsprogs/" && chmod -R 755 "$BASEUTILSDIR/e2fsprogs/"
#Strip
find "$BASEUTILSDIR/e2fsprogs" -type f -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
find "$BASEUTILSDIR/e2fsprogs" -type f ! -name "*.AppImage" -exec strip --strip-debug --strip-dwo --strip-unneeded --preserve-dates "{}" \; 2>/dev/null
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
#-------------------------------------------------------#
##Meta
Expand Down
Loading

0 comments on commit 1e7dd27

Please sign in to comment.