From 52c75b7e40c9655495418c0c776bafefd75bc458 Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Fri, 21 Mar 2014 15:01:32 +0100 Subject: [logging.inc, chroot.inc] Some redirections for debugging within a chroot --- remote/modules/vmware/vmware.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'remote/modules') diff --git a/remote/modules/vmware/vmware.build b/remote/modules/vmware/vmware.build index 8636f335..8dba3c11 100644 --- a/remote/modules/vmware/vmware.build +++ b/remote/modules/vmware/vmware.build @@ -21,16 +21,17 @@ fetch_source() { } build() { - # prepare the build directory with the files needed during the chroot cp "${MODULE_DIR}/src/$VMWARE_BUNDLE_FILE" "${MODULE_BUILD_DIR}/$VMWARE_BUNDLE_FILE" cp -r "${MODULE_DIR}/patches" "${MODULE_BUILD_DIR}" pinfo "Installing vmware per chroot..." chroot_run "${MODULE_BUILD_DIR}" <<-EOF + # PS1='\[\e[1;33m\](chroot) \u@\h:\w\$ \[\e[1;32m\]' /bin/bash -norc # un-comment for debugging within chroot yes | sh /"${VMWARE_BUNDLE_FILE}" --eulas-agreed --console --required vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmnet $(which gcc) "${MODULES_DIR}"/kernel/ksrc/include/ vmplayer vmnet vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmmon $(which gcc) "${MODULES_DIR}"/kernel/ksrc/include/ vmplayer vmmon + PS1='\[\e[1;33m\](chroot) \u@\h:\w\$ \[\e[1;32m\]' /bin/bash -norc # un-comment for debugging within chroot EOF # cleanup unneeded files -- cgit v1.2.3-55-g7522 From 04cffa5b0912f201d80b433fe1de52aac636f46f Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Fri, 21 Mar 2014 15:19:23 +0100 Subject: [vmware.build] Ahem, forgot to re-comment debugging bash --- remote/modules/vmware/vmware.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/modules') diff --git a/remote/modules/vmware/vmware.build b/remote/modules/vmware/vmware.build index 8dba3c11..c1dd77ce 100644 --- a/remote/modules/vmware/vmware.build +++ b/remote/modules/vmware/vmware.build @@ -31,7 +31,7 @@ build() { yes | sh /"${VMWARE_BUNDLE_FILE}" --eulas-agreed --console --required vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmnet $(which gcc) "${MODULES_DIR}"/kernel/ksrc/include/ vmplayer vmnet vmware-modconfig --console --build-mod -k "${SYS_UTS_RELEASE}" vmmon $(which gcc) "${MODULES_DIR}"/kernel/ksrc/include/ vmplayer vmmon - PS1='\[\e[1;33m\](chroot) \u@\h:\w\$ \[\e[1;32m\]' /bin/bash -norc # un-comment for debugging within chroot + # PS1='\[\e[1;33m\](chroot) \u@\h:\w\$ \[\e[1;32m\]' /bin/bash -norc # un-comment for debugging within chroot EOF # cleanup unneeded files -- cgit v1.2.3-55-g7522