From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:pending commit in: targets/livecd-stage2/, targets/livecd-stage1/, targets/stage3/, targets/stage1/, ...
Date: Tue, 2 Sep 2014 05:54:50 +0000 (UTC) [thread overview]
Message-ID: <1409637115.031805814914a9b4fe4326ecf9021343fb8e6328.dol-sen@gentoo> (raw)
commit: 031805814914a9b4fe4326ecf9021343fb8e6328
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 12 04:09:01 2013 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Tue Sep 2 05:51:55 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=03180581
Make shdir a complete path to ease it's use.
Add a "shdir" setting to config.
This is to make moving the bash code around easier.
It also reduces more hardcoded paths in the bash scripts.
Migrate all target shell scripts to use the new shdir setting
---
etc/catalyst.conf | 8 ++++++--
targets/embedded/embedded-controller.sh | 22 ++++++++++-----------
targets/grp/grp-controller.sh | 6 +++---
targets/livecd-stage1/livecd-stage1-controller.sh | 4 ++--
targets/livecd-stage2/livecd-stage2-controller.sh | 22 ++++++++++-----------
targets/netboot/netboot-combine.sh | 6 +++---
targets/netboot/netboot-controller.sh | 24 +++++++++++------------
targets/netboot2/netboot2-controller.sh | 16 +++++++--------
targets/stage1/stage1-controller.sh | 8 ++++----
targets/stage2/stage2-controller.sh | 6 +++---
targets/stage3/stage3-controller.sh | 6 +++---
targets/stage4/stage4-controller.sh | 22 ++++++++++-----------
targets/support/bootloader-setup.sh | 6 +++---
targets/support/create-iso.sh | 4 ++--
targets/support/functions.sh | 2 +-
targets/support/netboot2-final.sh | 4 ++--
targets/support/target_image_setup.sh | 4 ++--
targets/tinderbox/tinderbox-controller.sh | 6 +++---
18 files changed, 90 insertions(+), 86 deletions(-)
diff --git a/etc/catalyst.conf b/etc/catalyst.conf
index 2d377b2..d52a5c8 100644
--- a/etc/catalyst.conf
+++ b/etc/catalyst.conf
@@ -73,10 +73,14 @@ options="autoresume bindist kerncache pkgcache seedcache snapcache"
# portdir specifies the source portage tree used by the snapshot target.
portdir="/usr/portage"
-# sharedir specifies where all of the catalyst runtime executables are. Most
-# users do not need to change this.
+# sharedir specifies where all of the catalyst runtime executables
+# and other shared lib objects are.
+# Most users do not need to change this.
sharedir="/usr/lib/catalyst"
+# shdir specifies where all of the catalyst runtime executables are.
+shdir="%(sharedir)s/targets"
+
# snapshot_cache specifies where the snapshots will be cached to if snapcache is
# enabled in the options.
snapshot_cache="/var/tmp/catalyst/snapshot_cache"
diff --git a/targets/embedded/embedded-controller.sh b/targets/embedded/embedded-controller.sh
index 2a0c5fe..c0b62ea 100755
--- a/targets/embedded/embedded-controller.sh
+++ b/targets/embedded/embedded-controller.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
case ${1} in
enter)
@@ -11,7 +11,7 @@ case ${1} in
shift
export clst_packages="$*"
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
;;
preclean)
@@ -21,7 +21,7 @@ case ${1} in
# export root_fs_path="${clst_chroot_path}/tmp/mergeroot"
# install -d ${clst_image_path}
-# ${clst_sharedir}/targets/embedded/embedded-fs-runscript.sh \
+# ${clst_shdir}/embedded/embedded-fs-runscript.sh \
# ${clst_embedded_fs_type} || exit 1
# imagesize=`du -sk ${clst_image_path}/root.img | cut -f1`
# echo "Created ${clst_embedded_fs_type} image at \
@@ -31,12 +31,12 @@ case ${1} in
pre-kmerge)
# Sets up the build environment before any kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/pre-kmerge.sh
;;
post-kmerge)
# Cleans up the build environment after the kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/post-kmerge.sh
;;
kernel)
@@ -47,18 +47,18 @@ case ${1} in
then
cp -pPR ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
fi
- exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/kmerge.sh
delete_from_chroot tmp/linuxrc
;;
target_image_setup)
shift
- ${clst_sharedir}/targets/support/target_image_setup.sh ${1}
+ ${clst_shdir}/support/target_image_setup.sh ${1}
;;
livecd-update)
# Now, finalize and tweak the livecd fs (inside of the chroot)
- exec_in_chroot ${clst_sharedir}/targets/support/livecdfs-update.sh
+ exec_in_chroot ${clst_shdir}/support/livecdfs-update.sh
;;
bootloader)
@@ -66,12 +66,12 @@ case ${1} in
# Here is where we poke in our identifier
touch ${1}/livecd
- ${clst_sharedir}/targets/support/bootloader-setup.sh ${1}
+ ${clst_shdir}/support/bootloader-setup.sh ${1}
;;
iso)
shift
- ${clst_sharedir}/targets/support/create-iso.sh ${1}
+ ${clst_shdir}/support/create-iso.sh ${1}
;;
clean)
diff --git a/targets/grp/grp-controller.sh b/targets/grp/grp-controller.sh
index 541429a..0f1a5b5 100755
--- a/targets/grp/grp-controller.sh
+++ b/targets/grp/grp-controller.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_shdir}/support/functions.sh
case $1 in
enter)
@@ -15,11 +15,11 @@ case $1 in
shift
export clst_grp_packages="$*"
- exec_in_chroot ${clst_sharedir}/targets/grp/grp-chroot.sh
+ exec_in_chroot ${clst_shdir}/grp/grp-chroot.sh
;;
preclean)
- exec_in_chroot ${clst_sharedir}/targets/grp/grp-preclean-chroot.sh
+ exec_in_chroot ${clst_shdir}/grp/grp-preclean-chroot.sh
;;
clean)
diff --git a/targets/livecd-stage1/livecd-stage1-controller.sh b/targets/livecd-stage1/livecd-stage1-controller.sh
index f3b1f40..19b8dd1 100755
--- a/targets/livecd-stage1/livecd-stage1-controller.sh
+++ b/targets/livecd-stage1/livecd-stage1-controller.sh
@@ -1,5 +1,5 @@
-source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_shdir}/support/functions.sh
## START RUNSCRIPT
@@ -9,7 +9,7 @@ case $1 in
export clst_packages="$*"
mkdir -p ${clst_chroot_path}/usr/livecd ${clst_chroot_path}/tmp
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
;;
diff --git a/targets/livecd-stage2/livecd-stage2-controller.sh b/targets/livecd-stage2/livecd-stage2-controller.sh
index 57dcff7..a98cb47 100755
--- a/targets/livecd-stage2/livecd-stage2-controller.sh
+++ b/targets/livecd-stage2/livecd-stage2-controller.sh
@@ -1,16 +1,16 @@
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
case $1 in
pre-kmerge)
# Sets up the build environment before any kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/pre-kmerge.sh
;;
post-kmerge)
# Cleans up the build environment after the kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/post-kmerge.sh
;;
kernel)
@@ -22,7 +22,7 @@ case $1 in
then
cp -pPR ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
fi
- exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/kmerge.sh
delete_from_chroot tmp/linuxrc
extract_modules ${clst_chroot_path} ${clst_kname}
@@ -79,7 +79,7 @@ case $1 in
livecd-update)
# Now, finalize and tweak the livecd fs (inside of the chroot)
- exec_in_chroot ${clst_sharedir}/targets/support/livecdfs-update.sh
+ exec_in_chroot ${clst_shdir}/support/livecdfs-update.sh
# Move over the xinitrc (if applicable)
# This is moved here, so we can override any default xinitrc
@@ -92,7 +92,7 @@ case $1 in
;;
rc-update)
- exec_in_chroot ${clst_sharedir}/targets/support/rc-update.sh
+ exec_in_chroot ${clst_shdir}/support/rc-update.sh
;;
fsscript)
@@ -182,23 +182,23 @@ case $1 in
;;
esac
- ${clst_sharedir}/targets/support/bootloader-setup.sh $1
+ ${clst_shdir}/support/bootloader-setup.sh $1
;;
unmerge)
shift
export clst_packages="$*"
- exec_in_chroot ${clst_sharedir}/targets/support/unmerge.sh
+ exec_in_chroot ${clst_shdir}/support/unmerge.sh
;;
target_image_setup)
shift
- ${clst_sharedir}/targets/support/target_image_setup.sh $1
+ ${clst_shdir}/support/target_image_setup.sh $1
;;
iso)
shift
- ${clst_sharedir}/targets/support/create-iso.sh $1
+ ${clst_shdir}/support/create-iso.sh $1
;;
esac
exit $?
diff --git a/targets/netboot/netboot-combine.sh b/targets/netboot/netboot-combine.sh
index e4294ca..d5312fb 100755
--- a/targets/netboot/netboot-combine.sh
+++ b/targets/netboot/netboot-combine.sh
@@ -1,8 +1,8 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/chroot-functions.sh
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/chroot-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
update_env_settings
diff --git a/targets/netboot/netboot-controller.sh b/targets/netboot/netboot-controller.sh
index edf1f21..93feb26 100755
--- a/targets/netboot/netboot-controller.sh
+++ b/targets/netboot/netboot-controller.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
case ${1} in
@@ -11,7 +11,7 @@ case ${1} in
clst_root_path="/" \
clst_packages="$*" \
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
;;
busybox)
@@ -30,26 +30,26 @@ case ${1} in
clst_myemergeopts="${clst_myemergeopts} -O" \
clst_packages="busybox" \
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
;;
pre-kmerge)
# Sets up the build environment before any kernels are compiled
- #exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
+ #exec_in_chroot ${clst_shdir}/support/pre-kmerge.sh
;;
post-kmerge)
# Cleans up the build environment after the kernels are compiled
- #exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
+ #exec_in_chroot ${clst_shdir}/support/post-kmerge.sh
;;
kernel)
shift
export clst_kname="$1"
export clst_root_path="/"
- #exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
- #exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
- #exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
+ #exec_in_chroot ${clst_shdir}/support/pre-kmerge.sh
+ #exec_in_chroot ${clst_shdir}/support/kmerge.sh
+ #exec_in_chroot ${clst_shdir}/support/post-kmerge.sh
#extract_kernels kernels
;;
@@ -61,15 +61,15 @@ case ${1} in
clst_myemergeopts="${clst_myemergeopts} --nodeps" \
clst_packages="netboot-base" \
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
clst_files="${@}" \
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-image.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-image.sh
;;
finish)
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-combine.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-combine.sh
;;
clean)
diff --git a/targets/netboot2/netboot2-controller.sh b/targets/netboot2/netboot2-controller.sh
index 2ffcb0d..be5f91d 100755
--- a/targets/netboot2/netboot2-controller.sh
+++ b/targets/netboot2/netboot2-controller.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
case ${1} in
build_packages)
@@ -10,17 +10,17 @@ case ${1} in
clst_root_path="/" \
clst_packages="$*" \
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-pkg.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-pkg.sh
;;
pre-kmerge)
# Sets up the build environment before any kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/pre-kmerge.sh
;;
post-kmerge)
# Cleans up the build environment after the kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/post-kmerge.sh
;;
kernel)
@@ -37,7 +37,7 @@ case ${1} in
cp ${clst_busybox_config} ${clst_chroot_path}/tmp/busy-config
fi
- exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/kmerge.sh
delete_from_chroot tmp/linuxrc
delete_from_chroot tmp/busy-config
@@ -56,13 +56,13 @@ case ${1} in
# Copy remaining files over to the initramfs target
clst_files="${@}" \
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-copyfile.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-copyfile.sh
;;
final)
# For each arch, fetch the kernel images and put them in builds/
echo -e ">>> Copying completed kernels to ${clst_target_path} ..."
- ${clst_sharedir}/targets/support/netboot2-final.sh
+ ${clst_shdir}/support/netboot2-final.sh
;;
clean)
diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh
index d029545..09a121d 100755
--- a/targets/stage1/stage1-controller.sh
+++ b/targets/stage1/stage1-controller.sh
@@ -1,13 +1,13 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_shdir}/support/functions.sh
case $1 in
enter)
;;
run)
- cp ${clst_sharedir}/targets/stage1/build.py ${clst_chroot_path}/tmp
+ cp ${clst_shdir}/stage1/build.py ${clst_chroot_path}/tmp
# Setup "ROOT in chroot" dir
install -d ${clst_chroot_path}${clst_root_path}/etc
@@ -18,12 +18,12 @@ case $1 in
# Enter chroot, execute our build script
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh \
+ ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh \
|| exit 1
;;
preclean)
- exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-preclean-chroot.sh || exit 1
+ exec_in_chroot ${clst_shdir}/${clst_target}/${clst_target}-preclean-chroot.sh || exit 1
;;
clean)
diff --git a/targets/stage2/stage2-controller.sh b/targets/stage2/stage2-controller.sh
index 69ba7c9..25e5120 100755
--- a/targets/stage2/stage2-controller.sh
+++ b/targets/stage2/stage2-controller.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_shdir}/support/functions.sh
# Only put commands in this section that you want every target to execute.
# This is a global default file and will affect every target
@@ -13,11 +13,11 @@ case $1 in
shift
export clst_packages="$*"
exec_in_chroot \
- ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
;;
preclean)
- exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-preclean-chroot.sh
+ exec_in_chroot ${clst_shdir}/${clst_target}/${clst_target}-preclean-chroot.sh
;;
clean)
diff --git a/targets/stage3/stage3-controller.sh b/targets/stage3/stage3-controller.sh
index ff546f8..df1479e 100755
--- a/targets/stage3/stage3-controller.sh
+++ b/targets/stage3/stage3-controller.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_shdir}/support/functions.sh
# Only put commands in this section that you want every target to execute.
# This is a global default file and will affect every target
@@ -12,11 +12,11 @@ case $1 in
run)
shift
export clst_packages="$*"
- exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ exec_in_chroot ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
;;
preclean)
- exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-preclean-chroot.sh
+ exec_in_chroot ${clst_shdir}/${clst_target}/${clst_target}-preclean-chroot.sh
;;
clean)
diff --git a/targets/stage4/stage4-controller.sh b/targets/stage4/stage4-controller.sh
index ff8dc03..d42f302 100755
--- a/targets/stage4/stage4-controller.sh
+++ b/targets/stage4/stage4-controller.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_shdir}/support/functions.sh
# Only put commands in this section that you want every target to execute.
# This is a global default file and will affect every target
@@ -11,12 +11,12 @@ case $1 in
pre-kmerge)
# Sets up the build environment before any kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/pre-kmerge.sh
;;
post-kmerge)
# Cleans up the build environment after the kernels are compiled
- exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/post-kmerge.sh
;;
kernel)
@@ -27,7 +27,7 @@ case $1 in
then
cp -pPR ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
fi
- exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
+ exec_in_chroot ${clst_shdir}/support/kmerge.sh
delete_from_chroot tmp/linuxrc
extract_modules ${clst_chroot_path} ${clst_kname}
# Do we need this one?
@@ -37,15 +37,15 @@ case $1 in
build_packages)
shift
export clst_packages="$*"
- exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ exec_in_chroot ${clst_shdir}/${clst_target}/${clst_target}-chroot.sh
;;
preclean)
- exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-preclean-chroot.sh ${clst_root_path}
+ exec_in_chroot ${clst_shdir}/${clst_target}/${clst_target}-preclean-chroot.sh ${clst_root_path}
;;
rc-update)
- exec_in_chroot ${clst_sharedir}/targets/support/rc-update.sh
+ exec_in_chroot ${clst_shdir}/support/rc-update.sh
;;
fsscript)
@@ -54,7 +54,7 @@ case $1 in
livecd-update)
# Now, finalize and tweak the livecd fs (inside of the chroot)
- exec_in_chroot ${clst_sharedir}/targets/support/livecdfs-update.sh
+ exec_in_chroot ${clst_shdir}/support/livecdfs-update.sh
# Move over the xinitrc (if applicable)
# This is moved here, so we can override any default xinitrc
@@ -71,18 +71,18 @@ case $1 in
target_image_setup)
shift
- ${clst_sharedir}/targets/support/target_image_setup.sh $1
+ ${clst_shdir}/support/target_image_setup.sh $1
;;
unmerge)
shift
export clst_packages="$*"
- exec_in_chroot ${clst_sharedir}/targets/support/unmerge.sh
+ exec_in_chroot ${clst_shdir}/support/unmerge.sh
;;
iso)
shift
- ${clst_sharedir}/targets/support/create-iso.sh $1
+ ${clst_shdir}/support/create-iso.sh $1
;;
clean)
diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
index a0bc5f5..857ce6f 100755
--- a/targets/support/bootloader-setup.sh
+++ b/targets/support/bootloader-setup.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
# $1 is the destination root
@@ -455,7 +455,7 @@ case ${clst_hostarch} in
[ -d "${1}/boot" ] && rmdir ${1}/boot
# Source the arcload source file to generated required sections of arc.cf
- source ${clst_sharedir}/targets/support/mips-arcload_conf.sh
+ source ${clst_shdir}/support/mips-arcload_conf.sh
# Generate top portions of the config
echo -e "${topofconfig}${serial}${dbg}${cmt1}" >> ${scratch}/arc.cf
diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index fe1f0fc..08598e5 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
## START RUNSCRIPT
diff --git a/targets/support/functions.sh b/targets/support/functions.sh
index 0894b35..9419b2b 100755
--- a/targets/support/functions.sh
+++ b/targets/support/functions.sh
@@ -24,7 +24,7 @@ exec_in_chroot(){
echo "Copying ${file_name} to ${destdir}"
copy_to_chroot ${1} ${destdir}
- copy_to_chroot ${clst_sharedir}/targets/support/chroot-functions.sh \
+ copy_to_chroot ${clst_shdir}/support/chroot-functions.sh \
${destdir}
chroot_path=${clst_chroot_path}${subdir}
diff --git a/targets/support/netboot2-final.sh b/targets/support/netboot2-final.sh
index 2ee207e..55835d2 100755
--- a/targets/support/netboot2-final.sh
+++ b/targets/support/netboot2-final.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
extract_kernels ${clst_target_path}boot
diff --git a/targets/support/target_image_setup.sh b/targets/support/target_image_setup.sh
index b9e2781..b428d4e 100755
--- a/targets/support/target_image_setup.sh
+++ b/targets/support/target_image_setup.sh
@@ -1,6 +1,6 @@
-source ${clst_sharedir}/targets/support/functions.sh
-source ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_shdir}/support/functions.sh
+source ${clst_shdir}/support/filesystem-functions.sh
# Make the directory if it doesnt exist
mkdir -p $1
diff --git a/targets/tinderbox/tinderbox-controller.sh b/targets/tinderbox/tinderbox-controller.sh
index d7d89cb..3dbc76f 100755
--- a/targets/tinderbox/tinderbox-controller.sh
+++ b/targets/tinderbox/tinderbox-controller.sh
@@ -1,14 +1,14 @@
#!/bin/bash
-source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_shdir}/support/functions.sh
case $1 in
run)
shift
- exec_in_chroot ${clst_sharedir}/targets/tinderbox/tinderbox-chroot.sh
+ exec_in_chroot ${clst_shdir}/tinderbox/tinderbox-chroot.sh
;;
preclean)
- #exec_in_chroot ${clst_sharedir}/targets/tinderbox/tinderbox-preclean-chroot.sh
+ #exec_in_chroot ${clst_shdir}/tinderbox/tinderbox-preclean-chroot.sh
delete_from_chroot /tmp/chroot-functions.sh
;;
clean)
next reply other threads:[~2014-09-02 5:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-02 5:54 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-09-11 3:08 [gentoo-commits] proj/catalyst:pending commit in: targets/livecd-stage2/, targets/livecd-stage1/, targets/stage3/, targets/stage1/, Brian Dolbec
2014-09-02 23:10 Brian Dolbec
2014-09-02 7:12 Brian Dolbec
2014-09-02 2:43 Brian Dolbec
2014-06-15 14:56 Brian Dolbec
2014-06-14 5:58 Brian Dolbec
2014-02-07 23:24 [gentoo-commits] proj/catalyst:master " Brian Dolbec
2014-01-22 15:52 ` [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2014-01-03 6:41 Brian Dolbec
2014-01-03 6:12 Brian Dolbec
2014-01-03 5:03 Brian Dolbec
2014-01-02 0:04 Brian Dolbec
2013-12-31 18:14 Brian Dolbec
2013-12-31 4:48 Brian Dolbec
2013-12-31 4:39 Brian Dolbec
2013-12-31 4:22 Brian Dolbec
2013-12-30 1:44 Brian Dolbec
2013-12-20 0:48 Brian Dolbec
2013-12-20 0:29 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1409637115.031805814914a9b4fe4326ecf9021343fb8e6328.dol-sen@gentoo \
--to=brian.dolbec@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox