summaryrefslogtreecommitdiff
path: root/build-vm
diff options
context:
space:
mode:
Diffstat (limited to 'build-vm')
-rw-r--r--build-vm20
1 files changed, 19 insertions, 1 deletions
diff --git a/build-vm b/build-vm
index 4737e00..40a7d31 100644
--- a/build-vm
+++ b/build-vm
@@ -1,8 +1,25 @@
#
# VM specific functions for the build script
#
-# (C) 2014 SUSE, Inc
+################################################################
#
+# Copyright (c) 1995-2014 SUSE Linux Products GmbH
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 or 3 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program (see the file COPYING); if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+#
+################################################################
# defaults for vm_img_mkfs
vm_img_mkfs_ext4_options='-O ^has_journal,^huge_file,^resize_inode,sparse_super'
@@ -410,6 +427,7 @@ vm_detect_2nd_stage() {
test -n "$VM_WATCHDOG" -a -z "$PERSONALITY_SET" && echo "### WATCHDOG MARKER END ###"
echo "2nd stage started in virtual machine"
BUILD_ROOT=/
+ unset CHROOT
BUILD_DIR=/.build
echo "machine type: `uname -m`"
if test "$PERSONALITY" != 0 -a -z "$PERSONALITY_SET" ; then