|
@@ -20,6 +20,7 @@ Options:
|
|
--dist-upgrade: make VineSeed bootstrap via ${STABLE_VERSION}
|
|
--dist-upgrade: make VineSeed bootstrap via ${STABLE_VERSION}
|
|
--unionfs: cover a bootstrap with unionfs
|
|
--unionfs: cover a bootstrap with unionfs
|
|
--target: build rpms with [target]
|
|
--target: build rpms with [target]
|
|
|
|
+ --no-build-essential: do not install build-essential
|
|
--with-compat32: build rpms with compat32 on bootstrap
|
|
--with-compat32: build rpms with compat32 on bootstrap
|
|
--rpmbuild-define: give a option --define [macro_expr] to rpmbuild
|
|
--rpmbuild-define: give a option --define [macro_expr] to rpmbuild
|
|
--rpmbuild-with: give a option --with [bcond_with] to rpmbuild
|
|
--rpmbuild-with: give a option --with [bcond_with] to rpmbuild
|
|
@@ -83,6 +84,7 @@ initialize-variables(){
|
|
with_category_test=0
|
|
with_category_test=0
|
|
with_category_proposed_updates=0
|
|
with_category_proposed_updates=0
|
|
with_category_security=0
|
|
with_category_security=0
|
|
|
|
+ with_build_essential=1
|
|
|
|
|
|
return 0
|
|
return 0
|
|
}
|
|
}
|
|
@@ -110,7 +112,7 @@ check-parameter(){
|
|
shift
|
|
shift
|
|
check-next-parameter $1 || return 1
|
|
check-next-parameter $1 || return 1
|
|
;;
|
|
;;
|
|
- --dist-upgrade|--unionfs|--with-compat32|--sign|--no-install|--login|--debug)
|
|
+ --dist-upgrade|--unionfs|--with-compat32|--sign|--no-install|--login|--no-build-essential|--debug)
|
|
[ $with_actions -eq 1 ] && \
|
|
[ $with_actions -eq 1 ] && \
|
|
echo $"E: You can give no more options after actions" && \
|
|
echo $"E: You can give no more options after actions" && \
|
|
return 1
|
|
return 1
|
|
@@ -654,7 +656,9 @@ Build(){
|
|
[ $with_dist_upgrade -eq 1 ] && \
|
|
[ $with_dist_upgrade -eq 1 ] && \
|
|
$__chroot_sh 'apt-get -qq update && apt-get -qq -y dist-upgrade'
|
|
$__chroot_sh 'apt-get -qq update && apt-get -qq -y dist-upgrade'
|
|
|
|
|
|
- $__chroot_sh 'apt-get -qq -y install build-essential'
|
|
+ [ $with_build_essential -eq 1 ] && \
|
|
|
|
+ $__chroot_sh 'apt-get -qq -y install build-essential'
|
|
|
|
+
|
|
$__chroot_sh 'apt-get -qq -y install etcskel shadow-utils'
|
|
$__chroot_sh 'apt-get -qq -y install etcskel shadow-utils'
|
|
|
|
|
|
$__chroot_sh 'cd /dev && /sbin/MAKEDEV console'
|
|
$__chroot_sh 'cd /dev && /sbin/MAKEDEV console'
|
|
@@ -916,7 +920,7 @@ while [ $# -gt 0 ]; do
|
|
--version|--arch|--category|--fetch-url|--target|--rpmbuild-define|--rpmbuild-with|--rpmbuild-without|--bootstrap-dir|--unionfs-dir|--cache-dir|--built-rpms-dir)
|
|
--version|--arch|--category|--fetch-url|--target|--rpmbuild-define|--rpmbuild-with|--rpmbuild-without|--bootstrap-dir|--unionfs-dir|--cache-dir|--built-rpms-dir)
|
|
shift
|
|
shift
|
|
;;
|
|
;;
|
|
- --dist-upgrade|--unionfs|--with-compat32|--sign|--no-install|--login|--debug)
|
|
+ --dist-upgrade|--unionfs|--with-compat32|--sign|--no-install|--login|--no-build-essential|--debug)
|
|
;;
|
|
;;
|
|
--build-rpm|build-rpm|--install-rpm|install-rpm|--remove-rpm|remove-rpm)
|
|
--build-rpm|build-rpm|--install-rpm|install-rpm|--remove-rpm|remove-rpm)
|
|
shift
|
|
shift
|
|
@@ -972,6 +976,9 @@ while [ $# -gt 0 ]; do
|
|
--no-install)
|
|
--no-install)
|
|
with_no_install=1
|
|
with_no_install=1
|
|
;;
|
|
;;
|
|
|
|
+ --no-build-essential)
|
|
|
|
+ with_build_essential=0
|
|
|
|
+ ;;
|
|
--login)
|
|
--login)
|
|
with_login=1
|
|
with_login=1
|
|
;;
|
|
;;
|