Update for RK3399

This commit is contained in:
orangepi-xunlong
2022-05-31 09:32:14 +08:00
parent 9ac00a9ca6
commit defa4456d4
12 changed files with 10221 additions and 25 deletions

View File

@@ -237,8 +237,10 @@ dpkg_install_deb_chroot()
display_alert "Installing${desc}" "${name/\/root\//}"
package_name=$(echo $(basename "${package}") | cut -d "_" -f1)
# when building in bulk from remote, lets make sure we have up2date index
chroot "${SDCARD}" /bin/bash -c "dpkg -i $name" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
chroot "${SDCARD}" /bin/bash -c "apt-mark hold $package_name" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
[[ $? -ne 0 ]] && exit_with_error "Installation of $name failed" "${BOARD} ${RELEASE} ${BUILD_DESKTOP} ${LINUXFAMILY}"
}