diff options
author | Yuta SATOH <nigoro@gentoo.gr.jp> | 2014-11-16 16:31:59 +0900 |
---|---|---|
committer | Yuta SATOH <nigoro@gentoo.gr.jp> | 2014-11-16 16:31:59 +0900 |
commit | 982c5145b50d15e4444755f9ff09f8f24d1aac59 (patch) | |
tree | a87b34aed87e1b82b316de91925666447d52adfd /scripts | |
parent | freebsd-libexec-10.1.0.9999.ebuild: remove lukemftpd from REMOVE_SUBDIRS (diff) | |
download | gentoo-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-x | scripts/mkstages/stages_builder.sh | 3 |
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 |