From aafc90a39021f4c7909204966c9fe921e0efe0ef Mon Sep 17 00:00:00 2001 From: Sadoon Albader Date: Tue, 29 Aug 2023 19:56:06 +0300 Subject: [PATCH] fixed 80 character line width --- add-sffs-flags-debian | 6 ++++-- build-bookworm-sffs | 26 +++++++++++++++++++++++++- mk-schroot-bookworm | 3 ++- test-vsx | 7 +++++-- 4 files changed, 36 insertions(+), 6 deletions(-) diff --git a/add-sffs-flags-debian b/add-sffs-flags-debian index 81875e7..b351b60 100644 --- a/add-sffs-flags-debian +++ b/add-sffs-flags-debian @@ -8,6 +8,8 @@ fi SCHROOT_DIR=/srv/chroot/bookworm-ppc64el-sbuild tee $SCHROOT_DIR/etc/dpkg/buildflags.conf << EOF -APPEND CFLAGS -mcpu=power9 -mno-altivec -mno-vsx -mno-crypto -mno-htm -mlong-double-64 -APPEND CXXFLAGS -mcpu=power9 -mno-altivec -mno-vsx -mno-crypto -mno-htm -mlong-double-64 +APPEND CFLAGS -mcpu=power9 -mno-altivec -mno-vsx -mno-crypto \ +-mno-htm -mlong-double-64 +APPEND CXXFLAGS -mcpu=power9 -mno-altivec -mno-vsx -mno-crypto \ +-mno-htm -mlong-double-64 EOF diff --git a/build-bookworm-sffs b/build-bookworm-sffs index 1fce195..cc1e144 100755 --- a/build-bookworm-sffs +++ b/build-bookworm-sffs @@ -11,7 +11,31 @@ OPTS= RELEASE=bookworm # To be changed to the full list -LIST=(adduser apt apt-utils base-files base-passwd bash bc bsdutils coreutils cpio cron cron-daemon-common dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dmsetup dpkg e2fsprogs fdisk findutils gcc-12-base gpgv grep gzip hostname ifupdown init init-system-helpers iproute2 iputils-ping isc-dhcp-client isc-dhcp-common kmod less libacl1 libapparmor1 libapt-pkg6.0 libargon2-1 libattr1 libaudit-common libaudit1 libblkid1 libbpf1 libbsd0 libbz2-1.0 libc-bin libc6 libcap-ng0 libcap2 libcap2-bin libcom-err2 libcrypt1 libcryptsetup12 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libedit2 libelf1 libext2fs2 libfdisk1 libffi8 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libip4tc2 libjansson4 libjson-c5 libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblz4-1 liblzma5 libmd0 libmnl0 libmount1 libncursesw6 libnettle8 libnewt0.52 libnftables1 libnftnl11 libnuma1 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libpopt0 libproc2-0 libreadline8 librtas2 librtasevent2 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsepol2 libslang2 libsmartcols1 libss2 libssl3 libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo6 libtirpc-common libtirpc3 libudev1 libunistring2 libuuid1 libxtables12 libxxhash0 libzstd1 login logrotate logsave mawk mount nano ncurses-base ncurses-bin netbase nftables passwd perl-base powerpc-ibm-utils powerpc-utils procps readline-common sed sensible-utils systemd systemd-sysv sysvinit-utils tar tasksel tasksel-data tzdata udev usr-is-merged util-linux util-linux-extra vim-common vim-tiny whiptail zlib1g +LIST=( +adduser apt apt-utils base-files base-passwd bash bc bsdutils coreutils +cpio cron cron-daemon-common dash debconf debconf-i18n debian-archive-keyring +debianutils diffutils dmsetup dpkg e2fsprogs fdisk findutils gcc-12-base gpgv +grep gzip hostname ifupdown init init-system-helpers iproute2 iputils-ping +isc-dhcp-client isc-dhcp-common kmod less libacl1 libapparmor1 libapt-pkg6.0 +libargon2-1 libattr1 libaudit-common libaudit1 libblkid1 libbpf1 libbsd0 +libbz2-1.0 libc-bin libc6 libcap-ng0 libcap2 libcap2-bin libcom-err2 libcrypt1 +libcryptsetup12 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libedit2 libelf1 +libext2fs2 libfdisk1 libffi8 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 +libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libip4tc2 libjansson4 +libjson-c5 libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 +liblocale-gettext-perl liblz4-1 liblzma5 libmd0 libmnl0 libmount1 libncursesw6 +libnettle8 libnewt0.52 libnftables1 libnftnl11 libnuma1 libp11-kit0 +libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libpopt0 +libproc2-0 libreadline8 librtas2 librtasevent2 libseccomp2 libselinux1 +libsemanage-common libsemanage2 libsepol2 libslang2 libsmartcols1 libss2 libssl3 +libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtext-charwidth-perl +libtext-iconv-perl libtext-wrapi18n-perl libtinfo6 libtirpc-common libtirpc3 +libudev1 libunistring2 libuuid1 libxtables12 libxxhash0 libzstd1 login logrotate +logsave mawk mount nano ncurses-base ncurses-bin netbase nftables passwd +perl-base powerpc-ibm-utils powerpc-utils procps readline-common sed +sensible-utils systemd systemd-sysv sysvinit-utils tar tasksel tasksel-data +tzdata udev usr-is-merged util-linux util-linux-extra vim-common vim-tiny +whiptail zlib1g ) diff --git a/mk-schroot-bookworm b/mk-schroot-bookworm index 0bb825d..6e2c463 100755 --- a/mk-schroot-bookworm +++ b/mk-schroot-bookworm @@ -12,5 +12,6 @@ DEBMIRROR=deb.debian.org # This should not be changed until we want to build a future release RELEASE=bookworm -sbuild-createchroot --include=eatmydata,ccache $RELEASE $SCHROOT_DIR http://127.0.0.1:3142/$DEBMIRROR/debian +sbuild-createchroot --include=eatmydata,ccache $RELEASE $SCHROOT_DIR \ +http://127.0.0.1:3142/$DEBMIRROR/debian diff --git a/test-vsx b/test-vsx index 7ac95ab..0fe5aef 100755 --- a/test-vsx +++ b/test-vsx @@ -1,13 +1,16 @@ #!/bin/zsh CHROOT=/opt/chroot/gentoo-sffs -OBJDIRS=($CHROOT/sbin $CHROOT/bin $CHROOT/usr/libexec $CHROOT/usr/bin $CHROOT/usr/sbin) +OBJDIRS=( +$CHROOT/sbin $CHROOT/bin $CHROOT/usr/libexec $CHROOT/usr/bin $CHROOT/usr/sbin +) for dir in $OBJDIRS do for bin in $(ls -1 $dir) do echo "testing $dir/$bin" - objdump -d $dir/$bin | fgrep -of VSX_INSNS.txt | sort | uniq -c | awk '{print $2 " " $1}' + objdump -d $dir/$bin | fgrep -of VSX_INSNS.txt | \ + sort | uniq -c | awk '{print $2 " " $1}' done done -- 2.30.2