From ec73f2bab1673b55350a2235646958b82a0392d2 Mon Sep 17 00:00:00 2001 From: Ryan Finnie Date: Tue, 23 Aug 2022 10:41:25 -0700 Subject: [PATCH] chroot_hostname: Fix reference to chroot inside chroot Fixes: d2722e8f (Fix permissions and ownership of chroot_hosts and chroot_hostname copied files) --- scripts/build/chroot_hostname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/chroot_hostname b/scripts/build/chroot_hostname index c51f4c300..836ce09bb 100755 --- a/scripts/build/chroot_hostname +++ b/scripts/build/chroot_hostname @@ -77,7 +77,7 @@ EOF then cp config/"${INCLUDE_DIR}"/etc/hostname chroot/etc/hostname chmod 644 chroot/etc/hostname - Chroot chroot "chown root:root chroot/etc/hostname" + Chroot chroot "chown root:root /etc/hostname" fi Echo_message "Deconfiguring file /bin/hostname"