Skip to content

Commit a7a0aef

Browse files
authored
feat: add group output for copy_files and execute_chroot_script (#35)
1 parent d3da43c commit a7a0aef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/customize

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ fi
4444
function copy_files() {
4545
#move filesystem files
4646
if [ -d "$1" ]; then
47+
echo "::group::Copying $1"
4748
cp -vr --preserve=mode,timestamps "$1" .
49+
echo "::endgroup::"
4850
fi
4951
}
5052

@@ -69,7 +71,7 @@ function execute_chroot_script() {
6971
fi
7072
fi
7173

72-
echo "Running $1 in chroot..."
74+
echo "::group::Running $1 in chroot..."
7375
cp $1 chroot_script
7476
chmod 755 chroot_script
7577
cp "$DIR/common.sh" common.sh
@@ -87,6 +89,8 @@ function execute_chroot_script() {
8789
echo "Building on ARM device a armv7l/aarch64/arm64 system, not using qemu"
8890
chroot . /bin/bash /chroot_script
8991
fi
92+
93+
echo "::endgroup::"
9094

9195
#cleanup
9296
rm chroot_script

0 commit comments

Comments
 (0)