Created
October 2, 2014 17:02
-
-
Save c4milo/12525b289dd60a335a79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install_oem_package() { | |
local oem_pkg=$(_get_vm_opt OEM_PACKAGE) | |
local oem_use=$(_get_vm_opt OEM_USE) | |
#local oem_tmp="${VM_TMP_DIR}/oem" | |
if [[ -z "${oem_pkg}" ]]; then | |
return 0 | |
fi | |
info "Installing ${oem_pkg} to OEM partition" | |
USE="${oem_use}" emerge-${BOARD} --root="${VM_TMP_ROOT}" \ | |
--root-deps=rdeps --usepkg --quiet "${oem_pkg}" | |
#sudo rsync -a --ignore-existing --exclude='var/db/pkg' "${oem_tmp}/" "${VM_TMP_ROOT}/" | |
#sudo rm -rf "${oem_tmp}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment