aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-31 07:54:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-31 08:05:59 +0200
commitf17af5f196ff39f5e9ffadaf05d5d640f14949fc (patch)
tree60aa2d1d04fb6ff884526bed8e05aa65d54ea522 /bootstrap
parentcf54735b4afe2da40a40d330096619bd2b53686b (diff)
Bootstrap toolchain
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 792d7ba..ada94c8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -353,7 +353,7 @@ if [ "$stage" -le "4" ]; then
# Quite a few files/directories are only accessible by root (e.g., /root) so
# we run under sudo.
#
- root_dirs="dev etc mnt root usr var"
+ root_dirs="build dev etc mnt root usr var"
root_links="bin sbin lib lib32 lib64"
info "generating buildos-rootfs.cpio.gz..."
@@ -425,6 +425,7 @@ fi
#
sudo kvm \
-m 8G \
+ -cpu host -smp "sockets=1,cores=4,threads=2" \
-device "e1000,netdev=net0,mac=$macaddr" \
-netdev "tap,id=net0,script=./qemu-ifup" \
-device "virtio-scsi-pci,id=scsi" \