diff options
author | Yuta SATOH <nigoro@gentoo.gr.jp> | 2014-10-20 20:24:02 +0900 |
---|---|---|
committer | Yuta SATOH <nigoro@gentoo.gr.jp> | 2014-10-20 20:24:02 +0900 |
commit | b497f0699d949af24c21c638b2d30e54380e6db1 (patch) | |
tree | 5bc82c233bf955dc79038b4a84c4554458f2ea63 /scripts | |
parent | freebsd-ubin-10.9999_p271444.ebuild: added freebsd-ubin-9.3-kdump-workaround.... (diff) | |
download | gentoo-bsd-b497f0699d949af24c21c638b2d30e54380e6db1.tar.gz gentoo-bsd-b497f0699d949af24c21c638b2d30e54380e6db1.tar.bz2 gentoo-bsd-b497f0699d949af24c21c638b2d30e54380e6db1.zip |
gfbsd stages builder, added update_seed=yes
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkstages/stages_builder.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/mkstages/stages_builder.sh b/scripts/mkstages/stages_builder.sh index 27b338d..82c7d32 100755 --- a/scripts/mkstages/stages_builder.sh +++ b/scripts/mkstages/stages_builder.sh @@ -76,9 +76,12 @@ prepare(){ if [ ! -e /usr/portage/profiles/releases/freebsd-${TARGETVER} ] ; then echo "prepare new ${TARGETVER} profiles" + cp -a ${WORKDIR}/portage.bsd-overlay/profiles/arch/amd64-fbsd/clang /usr/portage/profiles/arch/amd64-fbsd/ cp -a ${WORKDIR}/portage.bsd-overlay/profiles/default/bsd/fbsd/amd64/${TARGETVER} /usr/portage/profiles/default/bsd/fbsd/amd64/ cp -a ${WORKDIR}/portage.bsd-overlay/profiles/default/bsd/fbsd/x86/${TARGETVER} /usr/portage/profiles/default/bsd/fbsd/x86/ cp -a ${WORKDIR}/portage.bsd-overlay/profiles/releases/freebsd-${TARGETVER} /usr/portage/profiles/releases/ + echo "amd64-fbsd default/bsd/fbsd/amd64/${TARGETVER} dev" >> /usr/portage/profiles/profiles.desc + echo "x86-fbsd default/bsd/fbsd/x86/${TARGETVER} dev" >> /usr/portage/profiles/profiles.desc fi if [ "${MKSRC}" != "NONE" ] ; then @@ -238,6 +241,9 @@ run_catalyst() { local C_APPEND_OPT="" if [ ! -e /var/tmp/catalyst/builds/default/${C_TARGET}-${TARGETSUBARCH}-fbsd-${TARGETVER}-${WORKDATE}${C_APPEND_VERSION}.tar.bz2 ] ; then + if [ "${C_TARGET}" = "stage1" ] ; then + C_APPEND_OPT="${C_APPEND_OPT} update_seed=yes" + fi if [ "${C_TARGET}" != "stage3" ] ; then C_APPEND_OPT="${C_APPEND_OPT} chost=${CATALYST_CHOST}" fi |