armbian-oleg: curb logging from building armbian-plymouth-theme; do it in a logging section, like the others

This commit is contained in:
Ricardo Pardini
2023-01-13 00:04:48 +01:00
parent e8306a8712
commit 62bc394738
2 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ compile_plymouth_theme_armbian() {
Description: boot animation, logger and I/O multiplexer - Armbian theme
END
run_host_command_logged cp -v "${SRC}"/packages/plymouth-theme-armbian/debian/{postinst,prerm,postrm} \
run_host_command_logged cp "${SRC}"/packages/plymouth-theme-armbian/debian/{postinst,prerm,postrm} \
"${tmp_dir}/${plymouth_theme_armbian_dir}"/DEBIAN/
chmod 755 "${tmp_dir}/${plymouth_theme_armbian_dir}"/DEBIAN/{postinst,prerm,postrm}
@@ -34,13 +34,13 @@ compile_plymouth_theme_armbian() {
"${SRC}"/packages/plymouth-theme-armbian/spinner.gif \
"${tmp_dir}/${plymouth_theme_armbian_dir}"/usr/share/plymouth/themes/armbian/throbber-%04d.png
run_host_command_logged cp -v "${SRC}"/packages/plymouth-theme-armbian/watermark.png \
run_host_command_logged cp "${SRC}"/packages/plymouth-theme-armbian/watermark.png \
"${tmp_dir}/${plymouth_theme_armbian_dir}"/usr/share/plymouth/themes/armbian/
run_host_command_logged cp -v "${SRC}"/packages/plymouth-theme-armbian/{bullet,capslock,entry,keyboard,keymap-render,lock}.png \
run_host_command_logged cp "${SRC}"/packages/plymouth-theme-armbian/{bullet,capslock,entry,keyboard,keymap-render,lock}.png \
"${tmp_dir}/${plymouth_theme_armbian_dir}"/usr/share/plymouth/themes/armbian/
run_host_command_logged cp -v "${SRC}"/packages/plymouth-theme-armbian/armbian.plymouth \
run_host_command_logged cp "${SRC}"/packages/plymouth-theme-armbian/armbian.plymouth \
"${tmp_dir}/${plymouth_theme_armbian_dir}"/usr/share/plymouth/themes/armbian/
fakeroot_dpkg_deb_build "${tmp_dir}/${plymouth_theme_armbian_dir}"

View File

@@ -148,7 +148,7 @@ function main_default_build_single() {
# Compile plymouth-theme-armbian if packed .deb does not exist or use the one from repository
if [[ ! -f ${DEB_STORAGE}/plymouth-theme-armbian_${REVISION}_all.deb ]]; then
if [[ "${REPOSITORY_INSTALL}" != *plymouth-theme-armbian* ]]; then
compile_plymouth_theme_armbian
LOG_SECTION="compile_plymouth_theme_armbian" do_with_logging compile_plymouth_theme_armbian
fi
fi