Index: src/scripts/make_chroot.sh |
diff --git a/src/scripts/make_chroot.sh b/src/scripts/make_chroot.sh |
index 54e8fa9fa160b575886c7c88cbe76f9b0b80e755..63a5ad0240b15847d20fd8a850d87484af8fb5f7 100755 |
--- a/src/scripts/make_chroot.sh |
+++ b/src/scripts/make_chroot.sh |
@@ -17,8 +17,9 @@ |
# The path to common.sh should be relative to your script's location. |
. "$(dirname "$0")/common.sh" |
-# Script must be run outside the chroot |
+# Script must be run outside the chroot and as a regular user. |
assert_outside_chroot |
+assert_not_root_user |
DEFAULT_PKGLIST="$SRC_ROOT/package_repo/package-list-dev.txt" |