added new task : patch

This commit is contained in:
Manfred Touron 2014-10-15 17:34:58 +00:00
parent 33fb7055cc
commit 1fda7078b3
1 changed files with 9 additions and 2 deletions

View File

@ -37,8 +37,8 @@ debootstrap() {
}
upgrade_debs() {
secondstage apt-get update
secondstage apt-get upgrade
do_in_target apt-get update
do_in_target apt-get upgrade
}
secondstage() {
@ -79,10 +79,12 @@ cli() {
case $1 in
"dev")
build_image
patch_image
exit 0
;;
"tarball")
build_image
patch_image
archive_target
exit 0
;;
@ -90,6 +92,11 @@ cli() {
NBD_DEVICE=$2
prepare_nbd_volume $NBD_DEVICE
build_image
patch_image
exit 0
;;
"patch")
patch_image
exit 0
;;
esac