mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-25 01:56:43 +07:00
Update image-helpers.sh
This commit is contained in:
@@ -237,10 +237,9 @@ dpkg_install_deb_chroot()
|
|||||||
|
|
||||||
display_alert "Installing${desc}" "${name/\/root\//}"
|
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
|
# 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 "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
|
chroot "${SDCARD}" /bin/bash -c "dpkg-deb -f $name Package | xargs apt-mark hold" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
|
||||||
[[ $? -ne 0 ]] && exit_with_error "Installation of $name failed" "${BOARD} ${RELEASE} ${BUILD_DESKTOP} ${LINUXFAMILY}"
|
[[ $? -ne 0 ]] && exit_with_error "Installation of $name failed" "${BOARD} ${RELEASE} ${BUILD_DESKTOP} ${LINUXFAMILY}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user