summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro@gentoo.gr.jp>2014-11-16 16:31:59 +0900
committerYuta SATOH <nigoro@gentoo.gr.jp>2014-11-16 16:31:59 +0900
commit982c5145b50d15e4444755f9ff09f8f24d1aac59 (patch)
treea87b34aed87e1b82b316de91925666447d52adfd /scripts
parentfreebsd-libexec-10.1.0.9999.ebuild: remove lukemftpd from REMOVE_SUBDIRS (diff)
downloadgentoo-bsd-982c5145b50d15e4444755f9ff09f8f24d1aac59.tar.gz
gentoo-bsd-982c5145b50d15e4444755f9ff09f8f24d1aac59.tar.bz2
gentoo-bsd-982c5145b50d15e4444755f9ff09f8f24d1aac59.zip
stages_builder.sh: When check_ecompressdir fails, set update_seed=no
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkstages/stages_builder.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mkstages/stages_builder.sh b/scripts/mkstages/stages_builder.sh
index d95eb85..856742a 100755
--- a/scripts/mkstages/stages_builder.sh
+++ b/scripts/mkstages/stages_builder.sh
@@ -236,6 +236,9 @@ run_catalyst() {
if [ $? -ne 0 ] ; then
check_ecompressdir "${C_TARGET}-${TARGETSUBARCH}-fbsd-${TARGETVER}-${WORKDATE}${C_APPEND_VERSION}/usr/local/portage"
if [ $? -ne 0 ] ; then
+ if [ "${C_TARGET}" = "stage1" ] && [ "${C_SOURCE}" != "stage3-${TARGETSUBARCH}-fbsd-${TARGETVER}-${WORKDATE}${C_TMP_APPEND_VERSION}" ]; then
+ C_APPEND_OPT="${C_APPEND_OPT} update_seed=no"
+ fi
catalyst -C target=${C_TARGET} version_stamp=fbsd-${TARGETVER}-${WORKDATE}${C_APPEND_VERSION} profile=default/bsd/fbsd/${TARGETARCH}/${TARGETVER}${C_APPEND_PROFILE} snapshot=${WORKDATE} source_subpath=default/${C_SOURCE} subarch=${TARGETSUBARCH} rel_type=default portage_overlay=${WORKDIR}/gentoo-bsd ${C_APPEND_OPT} || exit 1
fi
fi