diff options
-rwxr-xr-x | binmode | 4 | ||||
-rwxr-xr-x | libvasile | 7 | ||||
-rwxr-xr-x | mixedmode | 4 | ||||
-rwxr-xr-x | resetmode | 4 | ||||
-rwxr-xr-x | srcmode | 4 |
5 files changed, 7 insertions, 16 deletions
@@ -1,9 +1,5 @@ #!/usr/bin/env bash -export local portagedir="/usr/portage" -export local confdir="/etc/portage" -export local gitdir="/opt/redcore-build/conf/intel/portage" - fetch_usermode_portage_tree() { if [[ ! -d "$portagedir"/.git ]] ; then cd "$portagedir" && git init > /dev/null 2>&1 @@ -49,6 +49,13 @@ export local isosyncdir=""$isorootdir"/rootfs" export local isobootdir=""$isorootdir"/boot/grub" export local isoefibootdir=""$isorootdir"/efi/boot" +# modechange variables + +export local portagedir="/usr/portage" +export local confdir="/etc/portage" +export local gitdir="/opt/redcore-build/conf/intel/portage" +export local clonedir="/opt/redcore-build" + # generic functions (used for both build && iso creation) kernelconfig () { @@ -1,9 +1,5 @@ #!/usr/bin/env bash -export local portagedir="/usr/portage" -export local confdir="/etc/portage" -export local gitdir="/opt/redcore-build/conf/intel/portage" - fetch_devmode_portage_tree() { if [[ ! -d "$portagedir"/.git ]] ; then cd "$portagedir" && git init > /dev/null 2>&1 @@ -1,9 +1,5 @@ #!/usr/bin/env bash -export local portagedir="/usr/portage" -export local confdir="/etc/portage" -export local clonedir="/opt/redcore-build" - empty_portage_tree() { if [ -d ""$portagedir"/.git" ] ; then find "$portagedir" -mindepth 1 -name "packages" -prune -o -name "distfiles" -prune -o -exec rm -rf {} \; > /dev/null 2>&1 @@ -1,9 +1,5 @@ #!/usr/bin/env bash -export local portagedir="/usr/portage" -export local confdir="/etc/portage" -export local gitdir="/opt/redcore-build/conf/intel/portage" - fetch_devmode_portage_tree() { if [[ ! -d "$portagedir"/.git ]] ; then cd "$portagedir" && git init > /dev/null 2>&1 |