aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-image.sh
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-08 10:19:09 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-08 10:19:09 +0100
commitc0e5b8c81f054a301aeaaa16bf9c6220ba73d833 (patch)
treea2db4111358dd891ad3ce7845a4e9e70506b1225 /tools/create-image.sh
parentfadd10ac0525a437fc32e412327bdf11587f4946 (diff)
tools: include selinux packages when building images
These packages are required to actually activate selinux during boot.
Diffstat (limited to 'tools/create-image.sh')
-rwxr-xr-xtools/create-image.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh
index 67f3c2726..292a1e48a 100755
--- a/tools/create-image.sh
+++ b/tools/create-image.sh
@@ -7,9 +7,9 @@
set -eux
# Create a minimal Debian-wheezy distributive as a directory.
-sudo rm -rf wheezy
-mkdir -p wheezy
-sudo debootstrap --include=openssh-server,curl,tar,gcc,libc6-dev,time,strace,sudo,less,psmisc wheezy wheezy
+#sudo rm -rf wheezy
+#mkdir -p wheezy
+#sudo debootstrap --include=openssh-server,curl,tar,gcc,libc6-dev,time,strace,sudo,less,psmisc,selinux-utils,policycoreutils,checkpolicy,selinux-policy-default wheezy wheezy
# Set some defaults and enable promtless ssh to the machine for root.
sudo sed -i '/^root/ { s/:x:/::/ }' wheezy/etc/passwd