kernel-6.5.0-0.rc7.20230822gitf7757129e3de.51

* Tue Aug 22 2023 Fedora Kernel Team <kernel-team@fedoraproject.org> [6.5.0-0.rc7.f7757129e3de.51.eln130]
- redhat/configs: Enable CONFIG_DEVICE_PRIVATE on aarch64 (David Hildenbrand) [2231407]
- redhat/configs: disable CONFIG_ROCKCHIP_ERRATUM_3588001 for RHEL (Mark Salter)
- redhat: shellcheck fixes (Prarit Bhargava)
Resolves: rhbz#2231407

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
Justin M. Forbes 2023-08-22 07:04:59 -05:00
parent 6c85c5abef
commit 6a1a2b0581
No known key found for this signature in database
GPG Key ID: B8FA7924A4B1C140
22 changed files with 40 additions and 32 deletions

View File

@ -12,7 +12,7 @@ RHEL_MINOR = 99
# #
# Use this spot to avoid future merge conflicts. # Use this spot to avoid future merge conflicts.
# Do not trim this comment. # Do not trim this comment.
RHEL_RELEASE = 50 RHEL_RELEASE = 51
# #
# RHEL_REBASE_NUM # RHEL_REBASE_NUM

View File

@ -21,15 +21,16 @@ fi
# The +1 is to remove the - at the end of the SPECPACKAGE_NAME string # The +1 is to remove the - at the end of the SPECPACKAGE_NAME string
specpackage_name_len=$((${#SPECPACKAGE_NAME} + 1)) specpackage_name_len=$((${#SPECPACKAGE_NAME} + 1))
for i in ${SPECPACKAGE_NAME}*-"$FLAVOR".config; do for i in "${SPECPACKAGE_NAME}"*-"$FLAVOR".config; do
NEW=${SPECPACKAGE_NAME}-"$SPECRPMVERSION"-$(echo ${i:$specpackage_name_len} | sed s/-"$FLAVOR"//) # shellcheck disable=SC3057
NEW=${SPECPACKAGE_NAME}-"$SPECRPMVERSION"-$(echo "${i:$specpackage_name_len}" | sed s/-"$FLAVOR"//)
mv "$i" "$NEW" mv "$i" "$NEW"
done done
rm -f kernel-*-"$SECONDARY".config rm -f kernel-*-"$SECONDARY".config
if [ "$DEBUGBUILDSENABLED" -eq 0 ]; then if [ "$DEBUGBUILDSENABLED" -eq 0 ]; then
for i in ${SPECPACKAGE_NAME}-*debug*.config; do for i in "${SPECPACKAGE_NAME}"-*debug*.config; do
base=$(echo "$i" | sed -r s/-?debug//g) base=$(echo "$i" | sed -r s/-?debug//g)
NEW=${SPECPACKAGE_NAME}-$(echo "$base" | cut -d - -f2-) NEW=${SPECPACKAGE_NAME}-$(echo "$base" | cut -d - -f2-)
mv "$i" "$NEW" mv "$i" "$NEW"

View File

@ -1375,7 +1375,7 @@ CONFIG_DEV_DAX_KMEM=m
CONFIG_DEV_DAX=m CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_PMEM_COMPAT=m CONFIG_DEV_DAX_PMEM_COMPAT=m
CONFIG_DEV_DAX_PMEM=m CONFIG_DEV_DAX_PMEM=m
# CONFIG_DEVICE_PRIVATE is not set CONFIG_DEVICE_PRIVATE=y
CONFIG_DEVMEM=y CONFIG_DEVMEM=y
# CONFIG_DEVPORT is not set # CONFIG_DEVPORT is not set
CONFIG_DEVTMPFS_MOUNT=y CONFIG_DEVTMPFS_MOUNT=y
@ -5046,7 +5046,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -1367,7 +1367,7 @@ CONFIG_DEV_DAX_KMEM=m
CONFIG_DEV_DAX=m CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_PMEM_COMPAT=m CONFIG_DEV_DAX_PMEM_COMPAT=m
CONFIG_DEV_DAX_PMEM=m CONFIG_DEV_DAX_PMEM=m
# CONFIG_DEVICE_PRIVATE is not set CONFIG_DEVICE_PRIVATE=y
# CONFIG_DEVMEM is not set # CONFIG_DEVMEM is not set
# CONFIG_DEVPORT is not set # CONFIG_DEVPORT is not set
CONFIG_DEVTMPFS_MOUNT=y CONFIG_DEVTMPFS_MOUNT=y
@ -5023,7 +5023,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -1372,7 +1372,7 @@ CONFIG_DEV_DAX_KMEM=m
CONFIG_DEV_DAX=m CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_PMEM_COMPAT=m CONFIG_DEV_DAX_PMEM_COMPAT=m
CONFIG_DEV_DAX_PMEM=m CONFIG_DEV_DAX_PMEM=m
# CONFIG_DEVICE_PRIVATE is not set CONFIG_DEVICE_PRIVATE=y
CONFIG_DEVMEM=y CONFIG_DEVMEM=y
# CONFIG_DEVPORT is not set # CONFIG_DEVPORT is not set
CONFIG_DEVTMPFS_MOUNT=y CONFIG_DEVTMPFS_MOUNT=y
@ -5042,7 +5042,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -1364,7 +1364,7 @@ CONFIG_DEV_DAX_KMEM=m
CONFIG_DEV_DAX=m CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_PMEM_COMPAT=m CONFIG_DEV_DAX_PMEM_COMPAT=m
CONFIG_DEV_DAX_PMEM=m CONFIG_DEV_DAX_PMEM=m
# CONFIG_DEVICE_PRIVATE is not set CONFIG_DEVICE_PRIVATE=y
# CONFIG_DEVMEM is not set # CONFIG_DEVMEM is not set
# CONFIG_DEVPORT is not set # CONFIG_DEVPORT is not set
CONFIG_DEVTMPFS_MOUNT=y CONFIG_DEVTMPFS_MOUNT=y
@ -5019,7 +5019,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -1390,7 +1390,7 @@ CONFIG_DEV_DAX_KMEM=m
CONFIG_DEV_DAX=m CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_PMEM_COMPAT=m CONFIG_DEV_DAX_PMEM_COMPAT=m
CONFIG_DEV_DAX_PMEM=m CONFIG_DEV_DAX_PMEM=m
# CONFIG_DEVICE_PRIVATE is not set CONFIG_DEVICE_PRIVATE=y
CONFIG_DEVMEM=y CONFIG_DEVMEM=y
# CONFIG_DEVPORT is not set # CONFIG_DEVPORT is not set
CONFIG_DEVTMPFS_MOUNT=y CONFIG_DEVTMPFS_MOUNT=y
@ -5178,7 +5178,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -1382,7 +1382,7 @@ CONFIG_DEV_DAX_KMEM=m
CONFIG_DEV_DAX=m CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_PMEM_COMPAT=m CONFIG_DEV_DAX_PMEM_COMPAT=m
CONFIG_DEV_DAX_PMEM=m CONFIG_DEV_DAX_PMEM=m
# CONFIG_DEVICE_PRIVATE is not set CONFIG_DEVICE_PRIVATE=y
# CONFIG_DEVMEM is not set # CONFIG_DEVMEM is not set
# CONFIG_DEVPORT is not set # CONFIG_DEVPORT is not set
CONFIG_DEVTMPFS_MOUNT=y CONFIG_DEVTMPFS_MOUNT=y
@ -5155,7 +5155,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4649,7 +4649,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4628,7 +4628,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4592,7 +4592,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4571,7 +4571,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4585,7 +4585,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4834,7 +4834,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4812,7 +4812,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4971,7 +4971,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -4949,7 +4949,7 @@ CONFIG_RMI4_I2C=m
CONFIG_RMI4_SMB=m CONFIG_RMI4_SMB=m
CONFIG_RMI4_SPI=m CONFIG_RMI4_SPI=m
# CONFIG_RMNET is not set # CONFIG_RMNET is not set
CONFIG_ROCKCHIP_ERRATUM_3588001=y # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
CONFIG_ROCKCHIP_PHY=m CONFIG_ROCKCHIP_PHY=m
CONFIG_ROCKER=m CONFIG_ROCKER=m
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y

View File

@ -162,13 +162,13 @@ Summary: The Linux kernel
%define specrpmversion 6.5.0 %define specrpmversion 6.5.0
%define specversion 6.5.0 %define specversion 6.5.0
%define patchversion 6.5 %define patchversion 6.5
%define pkgrelease 0.rc7.20230821gitf7757129e3de.50 %define pkgrelease 0.rc7.20230822gitf7757129e3de.51
%define kversion 6 %define kversion 6
%define tarfile_release 6.5-rc7-4-gf7757129e3de %define tarfile_release 6.5-rc7-4-gf7757129e3de
# This is needed to do merge window version magic # This is needed to do merge window version magic
%define patchlevel 5 %define patchlevel 5
# This allows pkg_release to have configurable %%{?dist} tag # This allows pkg_release to have configurable %%{?dist} tag
%define specrelease 0.rc7.20230821gitf7757129e3de.50%{?buildid}%{?dist} %define specrelease 0.rc7.20230822gitf7757129e3de.51%{?buildid}%{?dist}
# This defines the kabi tarball version # This defines the kabi tarball version
%define kabiversion 6.5.0 %define kabiversion 6.5.0
@ -3713,6 +3713,11 @@ fi\
# #
# #
%changelog %changelog
* Tue Aug 22 2023 Fedora Kernel Team <kernel-team@fedoraproject.org> [6.5.0-0.rc7.f7757129e3de.51.eln130]
- redhat/configs: Enable CONFIG_DEVICE_PRIVATE on aarch64 (David Hildenbrand) [2231407]
- redhat/configs: disable CONFIG_ROCKCHIP_ERRATUM_3588001 for RHEL (Mark Salter)
- redhat: shellcheck fixes (Prarit Bhargava)
* Mon Aug 21 2023 Fedora Kernel Team <kernel-team@fedoraproject.org> [6.5.0-0.rc7.f7757129e3de.50.el130] * Mon Aug 21 2023 Fedora Kernel Team <kernel-team@fedoraproject.org> [6.5.0-0.rc7.f7757129e3de.50.el130]
- Linux v6.5.0-0.rc7.f7757129e3de - Linux v6.5.0-0.rc7.f7757129e3de

View File

@ -19,7 +19,7 @@ NPROC=$(nproc)
[ -z "$NPROC" ] && NPROC=1 [ -z "$NPROC" ] && NPROC=1
# NB: this loop runs 2000+ iterations. Try to be fast. # NB: this loop runs 2000+ iterations. Try to be fast.
echo "$modules" | xargs -r -n16 -P $NPROC sh -c " echo "$modules" | xargs -r -n16 -P "$NPROC" sh -c "
for mod; do for mod; do
./scripts/sign-file sha256 $MODSECKEY $MODPUBKEY \$mod ./scripts/sign-file sha256 $MODSECKEY $MODPUBKEY \$mod
rm -f \$mod.sig \$mod.dig rm -f \$mod.sig \$mod.dig

View File

@ -311,12 +311,14 @@ function process_configs()
process_config "$cfg" "$count" process_config "$cfg" "$count"
fi fi
process_config "$cfg" "$count" & process_config "$cfg" "$count" &
# shellcheck disable=SC2004
waitpids[${count}]=$! waitpids[${count}]=$!
((count++)) ((count++))
while [ "$(jobs | grep -c Running)" -ge "$RHJOBS" ]; do :; done while [ "$(jobs | grep -c Running)" -ge "$RHJOBS" ]; do :; done
done done
# shellcheck disable=SC2048
for pid in ${waitpids[*]}; do for pid in ${waitpids[*]}; do
wait ${pid} wait "${pid}"
done done
rm "$SCRIPT_DIR"/*.config*.old rm "$SCRIPT_DIR"/*.config*.old

View File

@ -1,3 +1,3 @@
SHA512 (linux-6.5-rc7-4-gf7757129e3de.tar.xz) = 9d35a43399a234a7f4a16db73f794c068432ffcdffb8bfe76034d6596a67e07c4975941dc2e27c1f57d5078f98f5af934d3005d5358b20f010b4801d6aaf0504 SHA512 (linux-6.5-rc7-4-gf7757129e3de.tar.xz) = 9d35a43399a234a7f4a16db73f794c068432ffcdffb8bfe76034d6596a67e07c4975941dc2e27c1f57d5078f98f5af934d3005d5358b20f010b4801d6aaf0504
SHA512 (kernel-abi-stablelists-6.5.0.tar.bz2) = 0c19f0b93a71c746c5e5525e9b5036549b05ef6b653d494d3a9c4d7c7eb85a5c9e5c8bc539aa6786733d17b98b9253f41d2e61d6fd5906d3a6032db6a028416b SHA512 (kernel-abi-stablelists-6.5.0.tar.bz2) = 6f8ba5f8a4bcfa743f62233f534446b852ac56dc018ce225d6919bd9d9fe0a953bba6c36ec4e09695e17be4bd55e1e738d9e624644605c360e862cce3e461fb2
SHA512 (kernel-kabi-dw-6.5.0.tar.bz2) = ee7e7fccc2b96e0ea39fd008356ba95f5f76475711be7c06c8ecbd7fb9c44000bdd8dbfda62734a3cd71d824bb1b1df82a6db93298b65244812ffd11a85ae050 SHA512 (kernel-kabi-dw-6.5.0.tar.bz2) = 3d4d1d65df80cf4b3bab1809e83ba2a496fb791465456b47aa653f8e5d1a5b340c17a648ec2c5bd23c2acd347ce167c4700d7235461ac5781491d9f0bee975be

View File

@ -7,6 +7,6 @@ fi
TARGET="$1" TARGET="$1"
for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
NEW=${i%.$TARGET} NEW=${i%."$TARGET"}
cp "$i" "$(basename "$NEW")" cp "$i" "$(basename "$NEW")"
done done