|
@@ -77,7 +77,7 @@ E: そのようなカテゴリは存在しません: $para
|
|
EOF
|
|
EOF
|
|
}
|
|
}
|
|
|
|
|
|
-Msg_GiveMoreOptions_C(){
|
|
+Msg_GiveNoMoreOptions_C(){
|
|
cat<<EOF
|
|
cat<<EOF
|
|
E: You can give no more options after actions
|
|
E: You can give no more options after actions
|
|
EOF
|
|
EOF
|
|
@@ -278,6 +278,7 @@ setup-vbuilder(){
|
|
with_sign=0
|
|
with_sign=0
|
|
with_no_install=0
|
|
with_no_install=0
|
|
with_actions=0
|
|
with_actions=0
|
|
|
|
+ with_ix86_on_x86_64=0
|
|
with_category_main=0
|
|
with_category_main=0
|
|
with_category_plus=0
|
|
with_category_plus=0
|
|
with_category_nonfree=0
|
|
with_category_nonfree=0
|
|
@@ -319,7 +320,9 @@ setup-vbootstrap(){
|
|
fi
|
|
fi
|
|
|
|
|
|
## support i386 chroot on x86_64 below:
|
|
## support i386 chroot on x86_64 below:
|
|
- [ "${VARCH}" != "$(uname -i)" ] && VERSION=${VERSION}_${VARCH}
|
|
+ [ "${VARCH}" != "$(uname -i)" ] && \
|
|
|
|
+ VERSION=${VERSION}_${VARCH} && \
|
|
|
|
+ with_ix86_on_x86_64=1
|
|
|
|
|
|
## check support ${VERSION}
|
|
## check support ${VERSION}
|
|
if [ -z "$(/usr/sbin/vbootstrap | sed -e s/^Usage:.*// -e s/^E:.*// | grep -m 1 ${VERSION})" ]; then
|
|
if [ -z "$(/usr/sbin/vbootstrap | sed -e s/^Usage:.*// -e s/^E:.*// | grep -m 1 ${VERSION})" ]; then
|
|
@@ -411,6 +414,9 @@ setup-vbootstrap-rpm(){
|
|
|
|
|
|
## check ${BUILD_ROOT}
|
|
## check ${BUILD_ROOT}
|
|
[ -d ${BUILD_ROOT} ] || Build
|
|
[ -d ${BUILD_ROOT} ] || Build
|
|
|
|
+ ## setarch ix86 if ix86 chroot on x86_64 host
|
|
|
|
+ [ $with_ix86_on_x86_64 -eq 1 ] && \
|
|
|
|
+ __chroot_sh="/usr/sbin/chroot ${BUILD_ROOT} setarch ${VARCH} /bin/sh -c"
|
|
|
|
|
|
DIST_RELEASE=$(cat ${BUILD_ROOT}/etc/vine-release | cut -f3 -d" " | cut -f1 -d.)
|
|
DIST_RELEASE=$(cat ${BUILD_ROOT}/etc/vine-release | cut -f3 -d" " | cut -f1 -d.)
|
|
|
|
|