summaryrefslogtreecommitdiff
path: root/tools/build-release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build-release.sh')
-rw-r--r--tools/build-release.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build-release.sh b/tools/build-release.sh
index 3bfbab0c..33a007c7 100644
--- a/tools/build-release.sh
+++ b/tools/build-release.sh
@@ -96,6 +96,9 @@ echo "mounting /proc and /sys"
mount -o bind /proc $CHROOT_PATH/proc
mount -o bind /sys $CHROOT_PATH/sys
+echo "reset root password"
+chroot $CHROOT_PATH sed -i 's/root:\*/root:/g' /etc/shadow
+
echo "chroot created"
echo "starting the build"